visual-studio-cordova

Visual Studio 2017 iOS Build Failed to acquire Cordova

前提是你 提交于 2019-12-23 21:16:16
问题 I am building a mobile app using VS-TACO and I am trying to run my build on iOS. When I try to build this app for iOS on a Windows host which is connected to a Mac with remotebuild agent, then I get following Error Message in Visual Studio 2017 on Windows Machine "Remote build error from the build server https://macIpAddress:3000/cordova - Error: Failed to acquire Cordova version 6.3.1. TACO0204: Error installing cordova via npm. Exit Code: 1. See output for details. EShopper" When i do "npm

Add Task Scheduler

。_饼干妹妹 提交于 2019-12-23 20:27:55
问题 I´m developing an Apache Cordova application and I want to know if I can add tasks to the scheduler device. I have to run an alarm and notification at a specific time, how can I do this? I thought about adding a task to the scheduler device and delegate responsibility. This is possible? At least Android 4.4 Thanks! 回答1: first off all: Yes, you're of course able to do so. Sebastian Katzer wrote a plugin for that. It can be found here: Cordova - Local Notification Plugin. This Plugin allows you

Ionic 3 Cordova ajax calls fail on Windows 10 (UWP)

南笙酒味 提交于 2019-12-23 20:11:25
问题 I have attempted to ask this previously, buy got no real answers, and have now been struggling for over a month. I just cannot get my ajax calls to work on an Ionic 3 Cordova application built for a Windows 10 UWP. They can access localhost, but not any outside connections. The application works fine on both Android and iOS. I am trying to test this locally on my dev machine. I use a certificate (bought) to sign the application, install this certificate, build the application for Windows, and

Permission is ALLOWED but not WRITE Android AngularJS with Ionic

ぐ巨炮叔叔 提交于 2019-12-23 19:44:51
问题 Hello everybody I have a problem a long time and decided to post , on some devices I can not write anything , this happens especially in mobile phone android(4.1-4.4) that does not have sdcard. Some phones usually work ( especially with android 5.0 ) with or without SDCARD . My routine is: CHECKS(READ) localStorage -> IF OK : AUTH AUTOMATIC -> UPDATE LOCALSTORAGE -> GO HOME PAGE. ELSE : USERS INFORMATION LOGIN AND PASSWORD -> AUTH -> SAVE LOCALSTORAGE -> GO HOME PAGE. ALREADY TRIED USE :

Visual Studio Cordova: when packaging the app for IOS, how to add the provisioning profile to the code signing section of Build Settings for XCode?

烈酒焚心 提交于 2019-12-23 17:22:12
问题 When using Visual Studio Cordova, I am following these instructions to publish the app to the Apple App Store: http://taco.visualstudio.com/en-us/docs/tutorial-package-publish-readme/ After successfully creating the Certificate and Provisioning Profile, and then successfully downloading the Provisioning Profile (*.mobileprovision) file to my Mac, the instructions then say to "Double-click that file to install it and then add it to the Code signing section of Build Settings for Xcode." But

Add a plugin with variables

落爺英雄遲暮 提交于 2019-12-23 13:54:33
问题 How do you add an plugin not using the <vs:feature /> sections. I need to add some plugins that when you add them they ask for variables. If i use cordova plugin add, how do I then reference the plugin in the application? This is driving me crazy, seems a proper over site and makes the whole thing unusable. I keep getting the error: Error 17 Variable(s) missing: APP_ID, APP_NAME F:\Development\sdfsdfsd\sdfdsfi\EXEC 1 1 sdfsdfsd Error 18 The command ""C:\Users\Tom.AD\AppData\Roaming\npm\node

Could not find SDK “SQLite.WinRT” - Add Reference shows “Missing value for TargetPlatformWinMDLocation property”

时光怂恿深爱的人放手 提交于 2019-12-22 18:51:54
问题 I'm trying to create a Multi-device hybrid app that uses Typescript, WinJS, and a persistent local database. I've got it working to the point of rendering WinJS controls. However, when I attempt to add WebSQL functionality according to the instructions for adding a Cordova plugin (go to config.xml file--> under plugins tab, check WebSQL Polyfill), it will no longer compile. The compiler error is C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1886,5):

Is it possible to load an external website inside a Cordova mobile app on Windows?

妖精的绣舞 提交于 2019-12-22 17:58:49
问题 I have created the default Cordova application using cordova create ... cordova platform add android cordova platform add windows In the index.html, I added some links to an external websites (not locally installed html files): <a href="http://www.example.com">External Website</a> <a href="http://dev2.prsx.net">External Intranet Site</a> In Android, tapping these links pulls up the site within the Cordova container. This is the behavior I want. On Windows, it pulls up the example.com page in

Visual Studio Cordova tools, device debug break points in wrong files

試著忘記壹切 提交于 2019-12-22 10:34:29
问题 I am using Visual Studio 2013 Update 4 to create an Apache Cordova project. When I am debugging on the device (Android Nexus 6) my breakpoints are not in the correct file. I have TypeScript bundling to a single file and it has a .map file that appears to have the correct TypeScript files listed in it. What do I need to do to get the breakpoints in a Cordova project to work correctly with TypeScript? This is an angular project and it likes to break in my main app.ts file instead of the service

Why is Visual Studio TACO unable to find the app I am trying to debug?

余生颓废 提交于 2019-12-22 04:53:12
问题 I am using visual studio running in parallels on a Mac. The Mac functions as my build server for iOS. I am trying to get debugging working from visual studio for both the simulator (iPad Air iOS 9.3) and an actual device (an actual iPad Air). For now, it may be helpful to just focus on the simulator first. When I try to launch to a simulator (iPad Air) from visual studio, or to an actual device my application launches on the device or simulator before visual studio appears to hang for a few