visual-studio-cordova

Error CordovaModuleLoadError - multi device hybrid app in visual studio

最后都变了- 提交于 2019-12-13 04:34:08
问题 I am following the steps here and here to build and simulate a multi device hybrid app in ios. I followed the steps in the articles and I can see that when I run my multi device hybrid app in visual studio using iphone simulator as the run target, the connected mac device response to the build request. However, the mac terminal will end the build process with the following build error: Done building 5116: error CordovaModuleLoadError [ '3.5.0-0.2.4' ] And here is the full terminal output:

TFS build does not copy Cordova project output

蹲街弑〆低调 提交于 2019-12-13 04:25:51
问题 I am working on a Cordova project developed with Visual Studio Tools for Apache Cordova CTP 3.1 in Visual Studio 2013 Update 4. I have created a TFS build definition (I'm using TFS 2013) for the project that is able to build the project. I get the correct output, but this output is not copied to the specified dropped location or anywhere else. I have tried a lot of things and nothing worked. I believe it must be related to the fact that the .jsproj does not define and OutputType or an

What Certificate for signing an Ionic (Cordova) Windows 10 UWP application?

末鹿安然 提交于 2019-12-13 03:42:04
问题 I have an Ionic application, which is currently deployed to the Apple and Android stores. I Now wish to deploy to the Windows store. I have Visual Studio 2015 and have built running the Ionic CLI. I see a lot of created files, including a CordovaApp.Windows10_1.0.0.43_x86.appx For iOS , the signing is handled via the xcode / developers console, and for Android I created using the keytool which is part of the JDK . Now for Windows.. I have found this on certificates, and this on signing. I

Ionic Templates not loading in Visual Studio 2015 Community Edition even after installing 'Tools for Apache Cordova'

核能气质少年 提交于 2019-12-12 21:23:24
问题 I have installed the 'Tools for Apache Cordova' by following this link given out by Microsoft. However after doing so I am still not able to fetch the ionic templates from online as it still prompts me to install these tools. I have tried: Restarting my Visual Studio. Running Visual Studio in Administrator Mode. Update: I have also additionally now used 'Run Dependency Checker' option in the Tools and Extension Options. VS restarts without any reason and no output is displayed. Also, cleared

Visual Studio Debugger - Unable To Attach. Operation Timed Out

梦想的初衷 提交于 2019-12-12 20:25:37
问题 I started to get this error when trying to run my CordovaApp in Debug Mode: Unable to attach.Operation timed out. First i was getting it quite often but still sometimes it was able to attach and now i'm always getting it. The application is deployed and started successfully in the emulator or on my Android Device. How can I solve this? Is it possible to increase timeout threshold? (maybe if I wait more it can attach as sometimes it was working before). EDIT: Reproducible on 3 different

Error executing 010_add_platform_class.js using VS Tools for Apache Cordova

我是研究僧i 提交于 2019-12-12 13:27:08
问题 I have imported an existing Ionic app into VS 2015 Update 1. I'm using the latest Tools for Apache Cordova Update 7. When I build the app, I'm getting the errors below when it tries to execute the hooks\after_prepare\010_add_platform_class.js file. If I remove the file, VS will build and execute the app fine. Is this a bug in TACO or am I doing something wrong? Executing "after_prepare" hook for all plugins. 1> Running command: "C:\Program Files (x86)\nodejs\node.exe" D:\SampleApp\hooks\after

Text input focus issue on Windows Phone (Universal) with Cordova

霸气de小男生 提交于 2019-12-12 10:22:53
问题 I'm currently building a mobile app using Cordova platform. The app was targeted on Android, iOS and Windows Phone 8. Recently, I had to change the latter to Windows Phone 8.1 (Universal). After adding the winstore-jscompat library and making couple changes to CSS everything seems to work the same way. Only thing that is not working is scrolling to focused element. In Windows Phone 8 it looks like this: Before WP8 (Ignore the darker rectangle on the bottom) And After WP8 But on Windows Phone

Can't do ajax calls from android device because cordova-plugin-whitelist is not installed but i can't install it?

蹲街弑〆低调 提交于 2019-12-12 06:21:35
问题 I'm having this rather weird problem i built an app for android using cordova and had ajax call in it and they worked but for some reason after i got a BSoD on my PC all the ajax calls stopped working when i published the app again to my android phone. My first thought was that Visual Studio did not add the cordova-plugin-whitelist so i did a new project and tried to add the plugin to test if this was the problem, but now when i add the plugin my build fails and the output window shows this

400 Error calling WCF web service from Ripple emulator

余生颓废 提交于 2019-12-12 06:12:52
问题 I tried to bring an old phonegap 1.0 app into VS tool for Apache Cardova. It calls an old WCF XML web service. When I ran the app in Ripple Emulator using local proxy, I got 400 error from the WCF web service. After some digging around, I found the problem in C:\Users\user_name\AppData\Roaming\npm\node_modules\vs-mda\node_modules\ripple-emulator\lib\server\proxy.js line 85-91: if (Object.keys(req.body).length > 0) { if (req.is("json")) { proxyReqData.body = JSON.stringify(req.body); } else {

VS2015 + TypeScript + Cordova + Angular2 + SystemJS

主宰稳场 提交于 2019-12-12 03:18:54
问题 I'm having problem with systemJS loading external modules. I created a small sample project for VS2015. You can download the code here https://github.com/dbiele/TypeScript-Cordova-SystemJS When I build the project and view in Ripple or BrowserSync I get the following error: xhr_proxy . It looks like System is looking for the external file animate.js on registry.jspm.io when it should be finding it on the localhost . Any thoughts? The code in GitHub is really basic. Note: I don't think this is