You have blank app in Visual Studio. But you can import any cordova app there (but be careful with plugins). You could check for more corodva templates online, as I know Ionic has own at least. And yes, your question should be closed. EDIT: I have just checked, Visual Studio...

This is a known issue which will be fixed in next update. Workaround is to use user name without any spaces. Visual Studio is putting double double quotes because of space in emulator.js path like C:\Users\**Jason Learmouth**\AppData\Roaming\npm\node_modules\vs-mda\emulator.js

In Windows 8.0/8.1 .appx and .appxupload package are created after build and like apk this is also a zip file, to view the content of package, change the extension to .zip and extract the content. *.appx is equivalent to apk in Windows. Appx package after build is located at bld[Debug...

It seems like you have multiple versions of VS Cordova tools installed. I would recommend to uninstall all the previous versions of the tools and start afresh. You can install VS 2015 RC Tools from here. Thanks for using our tools.

You are almost there, you should change the showAlert function to export function showAlert() And in the html change it too <button onclick="Cordova01.Application.showAlert(); return false;">Click Me</button> In your case it couldn't find the showAlert function because it is in a module. Another way is to move the showAlert function out...

finally find somebody using visual studio cordova! I've just migrated to Visual Studio Community 2015 RC from Visual Studio 2013 Community. When you install 2015, you don't have to uninstall 2013, they can co-exist. But migration of cordova project should be done manually by opening a new project, add plugin...

I asked this same question myself only last week and actually posted my own answer with instructions. You can see it here.. My question on stack overflow I am using VS 2013 professional edition though so Im not sure if there are any foibles there. If you have the 'Device'...

The only way I have found that works is by creating an iFrame or x-ms-webview to load the remote content in. This is essentially what InAppBrowser does for you. However, my problem was that I want the remote content to be able to call Cordova APIs. To accomplish this, I...

I think it was because you got a native exception which cannot be captured by current debugger type. In classic windows phone project like c# and winjs project, we can set the debugger type to support both managed and native. I think it's worth to try if you can get...

I don't think the docs for this are available yet, but this post (under Method 2) walks through getting the CLI project into a VS2015RC TACO project... Using Ionic with Visual Studio Tools for Apache Cordova In general the steps are... create a Cordova project using CLI create a 2nd...

Currently running npm command from IDE is not supported for Tools for Apache Cordova project. Since Node.js is installed and configured as a part of Tools for Apache Cordova installation, you can use command prompt to run the npm command.

In short: no. Cordova apps do not stand up an HTTP server on the device to avoid both CORS issues and to ensure a low memory and CPU footprint. Instead it uses file paths and thus has no concept of a "web root". Unfortunately the exact file path varies by...

I had the same problem even with an empty Apache Cordova template project on VS2015 RC. I managed to fix the problem though. If you look at your build output you can see the following two lines. npm WARN engine [email protected]: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.2","npm":"2.7.4"}) (Aufgaben-ID: 20) npm WARN engine...

To build your Cordova iOS project under MSBuild, with help of Cordova Tools for Visual Studio. You need to add a property to your MSBuild named iOSRemoteBuildServer. The build command line should looks like this, I am using debug build as an example: "C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe" /p:Configuration=Debug /p:LangName=en-US /p:Platform=iOS /p:DebuggerFlavor=iOSRemoteDevice...

You can use native project to create app package for Windows store. Refer this on using windows native project to create store package. You can also try Visual Studio 2015 CTP6 which has a fix for this issue.

From within VS, you will have to choose "Remote Device" or "Local Device" as your debug target and then "build" to get an IPA back. Also, refer to TFS build does not copy Cordova project output for instructions on how to setup TFS for CI workflow....

Try adding the following key to your Info.plist: <key>CFBundleIdentifier</key> <string>your.bundle.id.goes.here</string> This bundle id should match the one used when generating your iOS provisioning profile on the iOS Dev Center....

Cordova targets a single SDK (currently 19 though a upcoming release will move this to 21). However this is just the SDK used to build - by default Cordova apps can be deployed on devices running API level 10 or higher (2.3.3). Unless you're creating a custom plugin that will...

Found the answer at last. For anybody else who is tussling with VS2015 or more to the point Cordova 5.0.0 From the release notes / known issues in VS2015 (RC) here: The Android platform contained within Cordova 5.0.0 does not have a "whitelist" plugin installed by default and therefore blocks...

Thanks for using Visual Studio tools for Apache Cordova. I presume you are using the following menu, which is added to Visual Studio by the Xamarin Tools and can be used only with Xamarin and not with Tools for Apache Cordova. To publish an hybrid android app to Google play...

I had the same issue with self-written plugins. Try to let your plugin run in a background thread. Then debugging should work without problems. Look at the following code snippet: - (void)myMethod:(CDVInvokedUrlCommand*)command { NSString* callbackId = command.callbackId; [self.commandDelegate runInBackground:^{ // your plugin logic comes here // successful plugin execution CDVPluginResult*...

I'm not familiar with VS, but I presume it uses the same approach as any Cordova application. In Cordova, when you install a plugin you don't need to declare a <script> element referencing to the JS in such plugin, instead it gets automagically copied on the cordova.js script which is...

This might be a permissions issue with your .npm folder where the new version of vs-mda-remote tries to install the Cordova package. Can you try to run the following 2 commands: $ sudo npm cache clear $ sudo chown -R `whoami` ~/.npm And then restart your vs-mda-remote server? ...

This shortcoming will be addressed in the future. Tools for Apache Cordova does in fact use the Cordova CLI under the hood. See "Manually Updating the Cordova Version" here for details on updating in the short term: https://msdn.microsoft.com/en-us/library/dn757054.aspx...

I got my specific issue resolved by reinstalling ALL tools for iOS as mentioned here. Now, Visual Studio will successfully launch the iPhone simulator on the connected Mac device with my Cordova app in it. However, when I try to sudo chown -R $USER ~/.npm or sudo chown -R `whoami`...

Unfortunately this was a bug with Ripple itself. The good news is a fix was just released on Wednesday. https://github.com/apache/incubator-ripple/blob/master/doc/CHANGELOG.md You can patch Ripple in VS 2013 by opening the command command prompt and typing: cd %appdata%\npm\node_modules\vs-mda npm install [email protected] --save For VS 2015: cd %appdata%\npm\node_modules\vs-tac npm install [email protected] --save...

Certain fields are overwritten by plugins and the Cordova build process itself. This updated manifest becomes the base that Cordova then augments. Unfortunately package ID and version are two fields Cordova overwrites. These fields should be modified in config.xml. You can use the designer or View Code and modify these...

innerHTML is blocked by security rules by default in at the platform level for Windows JavaScript Apps as it poses a risk for script injection. This platform is the basis for both the Windows and Windows Phone 8.1 support. Fortunately there is a ployfill designed to alleviate this pain point:...

This is a bug that appeared since a recent update to Chrome, and it is being worked on. You can run your app on Ripple by hitting F5 through the debugger breaks (hardly satisfactory), or Ctrl+F5 to start your app without debugging in Ripple. To debug, the better option is...

As it turns out, you should not check in the "android.json", "remote_ios.json","windows.json", and "wp8.json" from the plugins "folder" or this problem can happen (though fetch.json is fine). Unfortunately they are missing from the default exclusion list for Cordova projects in VS 2015 RC. To fix, add these four files to...

Sencha does support Windows 8. But the issue that you are experiencing relates more to Visual Studio and Cordova. I'd suggest to upgrade to Windows 8.1 as it provides better API and supports the latest SDKs. But if you still want to develop for Windows 8 make sure you installed...

You may need to update the shim. This sample may help: https://code.msdn.microsoft.com/Ionic-SideMenu-Starter-8e905eb5 For more info: http://blogs.msdn.com/b/msdn_answers/archive/2015/02/10/running-cordova-apps-on-windows-and-windows-phone-8-1-using-ionic-angularjs-and-other-frameworks.aspx...

Geert, taco.json file is currently used by Visual Studio to define Cordova CLI version used to build the project with. If you open up config.xml designer, under the platforms tab you will see the Cordova CLI version specified. When you build/run your app for iOS, the remote agent uses the...

Unfortunately this is a known issue with Ripple and the Android implementation in Cordova 5.0.0. The next point release will resolve it as the fix has been merged. See the following dev mailing list thread on Cordova for details if you are interested: http://callback.markmail.org/message/so6xavs6xdfn45zv?q=+list:org%2Eapache%2Eincubator%2Ecallback-dev+Ripple UPDATE: Cordova 5.1.1 is out and...

You can create your own user interface. It's all built in HTML and CSS. Ionic is a framework for people who don't want to spend a lot of time building up an user interface, it's not a requirement. I'm using Kendo UI for the user interface combined with a few...

Thanks for using VS 2015 RC! While building Cordova application, typically you would want all your web assets (including your JavaScript files) in the www folder which is then used during the native platform builds. Visual Studio pre-compiles all your TS files before the actual platform builds(iOS, Windows, Android), concatenates...

OK.. Ive posted this as an answer because it does deal with part of it.. and I did struggle a bit so it might help someone else. Running the emulator from VS2013. You need to go to the folder C:\Program Files (x86)\Microsoft Visual Studio Emulator for Android\1.0 where the emulator...

This is due to an issue in our web debugging code that surfaced after a recent update to Chrome. It has been fixed in VS 2015 CTP6 that was made available recently. It will also be fixed in our next extension update to VS2013.

Note that these are warnings, not specific build errors. These messages are telling you that you have not installed some specific Android SDK components (not necessarily the Android SDK manager or tools as a whole which is what the link on the Android site gives you). In particular, you need...

Unfortunately this is a known issue when using the latest version of vs-mda-remote with VS 2013. You should be able to add this XML to config.xml via Right-Click > View Code to resolve the issue. <platformname="ios"> <iconsrc="res/icons/ios/icon-60-3x.png"width="180"height="180" /> <iconsrc="res/icons/ios/icon-60.png"width="60"height="60" /> <iconsrc="res/icons/ios/icon-60-2x.png"width="120"height="120" /> <iconsrc="res/icons/ios/icon-76.png"width="76"height="76" />...

This issue has been fixed in VS 2015 RC but you can work around it in the VS 2013 CTP version you have by using the native project to create the appx package. See detailed instructions in the Answer to this earlier post.

the typescript is not an error, it happens when you create a JavaScript cordova project, if you create typescript cordova, this warning will disappear! usually our first try to this kind of build error is to clear the cordova cache via visual studio tools - options - tools for...

Project has config.xml which is used to produce platform specific manifest but if you are interested in adding Android specific settings then place the custom AndroidManifest.xml file in the res/native/android folder to configure settings such as custom intents. Use the generated version of the file in the bld/Debug/platforms/android folder after...

For Cordova Windows8 applications (or all applications built with Visual Studio), if your plugin is a custom one (I would assume it's not part of the org.apache...), you have to manually add it. Go to the config file in your www through visual studio. You will see three tabs: Core/Custom/Installed....

Cordova.js is added at the build time, after you build the project, you can find the cordova.js at \bld\Ripple\Android\Debug or \bld\Debug\platforms\android\assets\www (in case of Android similarly for different platform). Therefore when you add reference to cordova.js in index.html, it is picked at run time. That's the reason your app is...

Could someone share me the steps about how to add AngularJS in the TypeScript Cordova project of VS2015RC? Add angular.js Get definitions for angular : https://github.com/borisyankov/DefinitelyTyped/blob/master/angularjs/angular.d.ts Start using TypeScript .ts files like any other angular project e.g. https://github.com/tastejs/todomvc/tree/gh-pages/examples/typescript-angular ...

It is difficult to know without looking at the exact code, but it is likely that one of a few of things is happening: Your code is bypassing the CORS proxy in Ripple Proxying through Ripple is resulting in the web server denying the request. You have the Ripple extension...

The SQLite forces you to create THE COMPLETE Database executing "Create Tables" commands in a function inside the App, right? That function ONLY executes if the Database DON'T EXIST. If already exists = don't execute that function! So... to the "CREATE TABLE" commands, add "INSERT INTO" commands with what you...

As I didn't want to modify the original build scripts I've solved the problem a bit different than @pauloya. So here is what I did: I've added a Dummy C# Console project to the solution Defined new build configurations for the solution (in my case Beta and QA) Set the...

Unfortunately I have not found a solution to the visual 2013. However encontrie the solution . I changed my machine , and installed visual studio 2015 Which has the Cordova, everything worked Correctly .

This is how I fixed the issue. Searched the ProgramData directory for the vs2013mda_0.1.exe Got the GUID name of the directory where vs2013mda_0.1.exe was located Searched the registry for that GUID and deleted all instances Ran the command "C:\ProgramData\Package Cache{GUID GOES HERE}\vs2013mda_0.1.exe" /uninstall /passive /force /burn.ignoredependencies={53d408db-eb91-43fb-9d8f-167681c19763};vsupdate_KB2829760 The uninstaller then ran...

Yeah, starting 4.3 of Cordova, the debug build requires a "development certificate" while Release & Distribution, both need a "distribution certificate" and matching provisioning profiles installed on the build machine. You can refer to the documentation that explains the process of getting these signing assets here.

This is telling you that you have not setup a valid distribution certificate for your app on your Mac. iOS, Android, and Windows all require you to generate a certificate before you can sign and package your app for distribution to the appropriate app store. See... https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html ...and... https://msdn.microsoft.com/en-us/library/dn757048.aspx#iOS By...

Are you using a localized VS version as this is a known issue in localized version? If so, then as a workaround, can you try copying %PROGRAMFILES(X86)%\MSBuild\Microsoft\VisualStudio\v14.0\ApacheCordovaTools\vs-mda-targets\iOSRemotEDevice.xml into the fr-FR folder. The string wont be localized though.

If you are targeting only WP8.1+ and are building a "packaged app" (you do not web pages access Cordova APIs), then try using the "Windows Phone (Universal)" target. This uses the updated "Windows" Cordova platform instead of WP8 and therefore has full access to the VS debugger. weinre is not...

Since you are using Parallels on OSX, there are a few things you need to do. First, two important settings for your VM: Uncheck the "Shared Profile" option: Options > Sharing > Shared Profile Enable nested virtualization: Options > Enable nested virtualization By default, Parallels puts your documents folder among...

This indicates you are using CTP2 of tools for Apache Cordova. Moving to CTP3.1 or VS 2015 RC should resolve your issue. VS 2015 will also allow you to select the version of Cordova you use though you could see problems with a year old release like Cordova 3.5.0. The...

After having all sort of problems with Visual Studio 2015 I uninstalled it went back to Visual Studio 2013 Update 4 and now I can connect my android device to a local running web api using sharp proxy I mentioned and linked to above. So to be clear: Use Visual...

I'm not sure if this is a problem with RequireJS and jQuery or VS2015RC + Cordova. The error is that jquery isn't resolving to the jquery.js file (an HTTP 404 error). Check the HTTP Get request made by the browser. It will be something like http://yourapp/scripts/lib/jquery.js. Make this GET...

This is a bug that appeared since a recent update to Chrome, and it is being worked on. You can run your app on Ripple by hitting F5 through the debugger breaks (hardly satisfactory), or Ctrl+F5 to start your app without debugging in Ripple. To debug, the better option is...

UPDATE: issue has been fixed via https://issues.apache.org/jira/browse/CB-8985 It is a temporary issue due to a bad configuration, that will be fixed pretty soon I believe. In the meantime, you can use the version 4 via sudo npm install -g [email protected] and update later today when it will be fixed....

According to w3schools, the background attribute you are calling is not supported in HTML5. To correctly call the background color, try: bodyElement.style.backgroundColor = "yellow"; For more information:w3schools explanation...

Well turns out it was the main scripts file being loaded in the wrong place... I had it referenced in the <head> tag and it needed to go in where the cordova references go at the end of the <body> <!-- DroidSync references --> <!-- WHERE IT WAS --> <link...

There is an Onsen UI extension for Visual Studio 2015 here. If you open that VSIX file as a Zip file you will find some templates prepared for Windows Phone and Visual Studio 2015 with Onsen UI, AngularJS and Cordova. Just adapt the folder structure to VS2013 (i.e. without 'www'...

(SOLVED) I tried to reinstalling VS, Update3 with CTP2 and also Update4 with CTP3. finally I reinstalled my windows, installed vs2013, installed Update4, and installed CTP3, then I clear Cordova cache and build and wait for all cordova assets to download. Then it my problem got solved....

See the full documentation on updating the remote agent. Stop the current remote agent and run sudo npm install -g vs-mda-remote --user=$USER where $USER is replaced by your user name on the Mac. When you run the command, you will be prompted to enter your password as well. The global...

It is a popular misconception from those new to PhoneGap. PhoneGap runs html/css/js pages on the local device within a webview control. It does not run a web server, so no server-side technologies can be used for the pages themselves: no ASP.Net (incl MVC), no NodeJS, no ColdFusion, no JSP,...

You are likely encountering the following Known Issue. Basically there's a file somewhere in your npm cache that was added while running as an administrator (sudo). As a result, vs-mda-remote cannot access it. The commands below resolve that issue (and in fact this is what recent versions of npm do...

We ended up forcing vs-mda-remote to use cordova 4.2.0 which helped solve the problem (see this question). Then we added this to the config.xml and the respective files. <platform name="ios"> <splash src="res/screens/ios/[email protected]~iphone.png" width="1242" height="2208"/> <splash src="res/screens/ios/screen-iphone-landscape-736h.png" width="2208" height="1242"/> </platform> ...

So thanks to Chucks help, I managed to get a build working. It was indeed a combination of path length exceeding 260 characters (which I solved by mapping my solution directory to a drive) and a couple of folders not being created. They were in my case : F:\Git\CordovaFb\FBTest\platforms\android\com.phonegap.plugins.facebookconnect\myapp7a29c6c80cee4b2aa0dc8a70dc57527d-FacebookLib\bin\classes and...

We recently added a new network profiler to VS (details here), but it doesn't currently support Cordova projects running on Android or iOS (I'm noting your implicit request!). In the meantime, we would recommend using Fiddler (which is just a generally awesome tool) and configuring your device to connect to...

people have problems using vs2015 after manually upgrade cordova to 5.0.0. that means yours is not the only problem with 5.0.0. I believe it's better to wait until officially upgrade. try the original version 4.3.0...

you are welcome, PS: sorry! I can't comment (not enough reputation!) but it took, somehow, my previous answer as a comment, :)) So I put it here again: The answer: If the two .apks have different signatures (Eclipse uses a debug certificate), you will not be able to install/update with...

there are 2 options: in the index.html that is created by the cordova project, use 'ajax Post call' webapi or webservices with Cors enabled and json datatype. create a signalr Server winform or console or service, call this signalr Server in the index.html using JavaScript with Cors enabled. then inside...

ng-strict-di should do the job In your index.html: <body ng-controller="myAppController" ng-strict-di> And in after you successfully read your file start up the app using angular.bootstrap angular.bootstrap(window.document.body, ['myApp']); ...

It seems like there was something wrong with my plugin/platform. I did a remove of all plugins cordova platform rm android cordova platform add android Then readded the plugins, and everything works. ...

A significant changed that occurred with Cordova 5.0.0 is that plugins are now starting to move to npm. Unfortunately Cordova 4.3.1 and below do not support npm based plugins. As a result, what you may be running into is this situation where the plugin references something in npm. This article...