visual-studio-cordova

Tools for Apache Cordova (VS2015): Adding custom entries to *info.plist for iOS

痴心易碎 提交于 2019-12-01 07:27:54
问题 I am using Tools for Apache Cordova on VS2015 to develop a project and I need to set some additional options in the *info.plist file in order to temporarily unblock HTTP web access (NsAppTransportSecurity) as well as enabling geolocation services to run in the background. Basically, I need to add the following... <key>UIBackgroundModes</key> <array> <string>location</string> </array> <key>NSLocationAlwaysUsageDescription</key> <string>Location services are required.</string> <key

Visual Studio 2015 CTP5 Android Emulator loopback to localhost?

痞子三分冷 提交于 2019-12-01 07:09:03
I am using VS 2013 to connect with the new VS2015 Android Emulator. This seems to work now and I can debug, set breakpoints etc which is all fine. (Now, I would use VS2015 but it won't deploy properly -never mind). I am also developing the server app on my machine and using Fiddler as an http debug aid.. not an uncommon situation I am sure. The server is running (also under debug in another instance of VS 2013) using IIS Express and I have added bindings to the applicationhost.config so the IISExpress server is visible on my LAN from other PC's and I've checked it is visible. Try as I might I

Unable to get Ripple session info. Exception: contentp-body

橙三吉。 提交于 2019-12-01 05:28:13
Visual Studio 2015 CTP 5 Created a blank Apache Cordova Project. No files changed. File > New Project > JavaScript > Apache Cordova Apps Published Debug Android Ripple - Nexus (Galaxy) I get the following error in Output Debug. -------------------------------- Unable to get launched browser process for Ripple. Unable to get Ripple session info. Exception: Cannot send a content-body with this verb-type. Note: Publishing with Ripple is currently not working, but has worked intermittently in the past. The Fix = In file *.sln, Delete GlobalSection(ProjectConfigurationPlatforms) = postSolution and

VsTac task failed, could not find file appAsTgz.tgz when using global Cordova toolset

為{幸葍}努か 提交于 2019-12-01 04:30:00
When I use my globally installed Cordova 7.1.0 toolset and do an iOS remote build (to simulator or to Local Device), I almost immediately get the error message: Error MSB4018 The "VsTac" task failed unexpectedly. System.IO.FileNotFoundException: Could not find file 'C:\Users\joe\AppData\Local\Temp\appAsTgz.tgz'. File name: 'C:\Users\joe\AppData\Local\Temp\appAsTgz.tgz' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions

Failed to load resource: the server responded with a status of 404 (Not Found) ripple.js

蓝咒 提交于 2019-12-01 03:06:03
问题 Hello my problem is to develop phonegap application in HTML5 with the Visual Studio tools for apache cordova https://www.visualstudio.com/en-us/features/cordova-vs.aspx the error write when I debug application is Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.) ripple.js (37,13099) Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.> ripple.js (50,28958) Failed to

VsTac task failed, could not find file appAsTgz.tgz when using global Cordova toolset

China☆狼群 提交于 2019-12-01 02:17:59
问题 When I use my globally installed Cordova 7.1.0 toolset and do an iOS remote build (to simulator or to Local Device), I almost immediately get the error message: Error MSB4018 The "VsTac" task failed unexpectedly. System.IO.FileNotFoundException: Could not find file 'C:\Users\joe\AppData\Local\Temp\appAsTgz.tgz'. File name: 'C:\Users\joe\AppData\Local\Temp\appAsTgz.tgz' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode

Patching Manifest/Plist to build with different platform-specific settings

岁酱吖の 提交于 2019-11-30 23:56:23
We are in the process of upgrading our already published native apps available on all the three stores,with a new version developed with Visual Studio Tools for Apache Cordova . In order to be able to upgrade the app in the stores, we need to publish them specifying the correct versions and correct package-id for each platform. We need to compile our solution specifying a custom manifest/plist where we will set the correct version and package. VisualStudio Tools for Apache Cordova has a general settings for all the platforms: Reading the available documentation , it seems that it is also

Unable to create Apache Cordova project in Visual Studio 2013

此生再无相见时 提交于 2019-11-30 22:57:25
I am having trouble creating an Apache Cordova project in Visual Studio 2013 with their new CTP1.1 patch that enables support for these project types. I had my environment working and building but I needed to get TypeScript working so I can use the DefinitelyTyped Packed which provides the types you need to hook up to the Cordova API. So I have installed this package: DefinitelyTyped\Cordova But I noticed that I could not add in my own TypeScript File type which then tells Visual Studio that this needs to be compiled using TypeScript. The project template comes with a index.ts which does work

Cannot compile Ionic Cordova (Update 6) app on Visual Studio 2015

只愿长相守 提交于 2019-11-30 19:52:35
问题 Recently I updated to Cordova Tools version 6 for Visual Studio I am now getting this error. Anytime I try to build my solution. : BLD00401 : Could not find module 'C:\Users\[User]\AppData\Roaming\npm\node_modules\vs-tac\app.js'. Please Go to Tools --> Options --> Tools for Apache Cordova --> Cordova Tools --> Clear Cordova Cache and try building again. I have tried to follow this guide to reinstall vs-tac but no dice. https://msdn.microsoft.com/library/dn771551%20(v=vs.140).aspx#vstac http:/

Win 10 Universal App with Cordova trying to load flash

好久不见. 提交于 2019-11-30 19:01:54
I'm building a cross-platform Cordova app with Visual Studio 2015 and tools for Apache Cordova. Therefore I'm using the Blank Cordova App (with TypeScript) from Tools for Apache Cordova. Everything seems to work fine, except there is a strange error in the JavaScript Console when running the App on Windows 10: APPHOST9603: "Can’t load the ActiveX plug-in that has the class ID "{D27CDB6E-AE6D-11CF-96B8-444553540000}". Apps can't load ActiveX controls." This is kind of strange because I'm not unsing any ActiveX plug-in. At least not knowingly... The error is also only visible when running the