Here you’ll find some references to setup your environment for Cordova CLI 8.1.2 apps development with (optionally) Microsoft Visual Studio 2015 / 2017. This guide is focused on the Android platform, but it’s mostly valid for iOS apps as well. One does not simply upgrade Cordova with Visual Studio…
This article explains how to renew the PFX certificate for your Windows 10 / 8.1 app created with Tools for Apache Cordova in Visual Studio. The certificate is valid for just one year, so it must be renewed to rebuild the app.
This article illustrates two methods to self-close an opened InAppBrowser window in Cordova, based on an action performed inside the IAB window itself. These methods involve using an event listener for either the loadstart or message events. You can also use this message event to communicate directly from the IAB to the Cordova WebView, to perform other actions.
Ocassionally, a new Cordova or plugin version will force you to upgrade your Gradle version. This process must be performed with caution, and this article shows how to chose a correct gradle version and install it on Windows.
This topic includes some of the common Cordova build errors that I’ve found recently, with the recommended solutions or the ones that worked for me. References to Visual Studio included.
Developing mobile apps using Apache Cordova or any other platform involves constantly deploying your app to real devices. This process can become tedious because the phone or tablet must be connected via USB cable to your computer. However, you can connect your device via WiFi and deploy and debug your app normally following these steps.
This article’s goal is to briefly explain how to create your Cordova app for iOS from Visual Studio 2017 or 2015, and why you should avoid using Visual Studio’s remote build agent for this. There’s a more reliable way to manage your Android app in Visual Studio and then export it to your iOS platform version and Xcode.
Despite Google’s efforts to deprecate the Android SDK Manager standalone GUI in an attempt to force the installation of Android Studio, which is irrelevant for Cordova apps, you can still run any Android emulator without Android Studio using the updated SDK Manager tools. This process involves installing the SDK tools 24 and then updating them to version 27 with the provided links.
Below are some of the issues you may experience when trying to develop Apache Cordova mobile apps with HTML, CSS & JS for Android, iOS and Windows using Microsoft Visual Studio 2017. For these and other reasons I prefer to keep using Visual Studio 2015, which has none of the mentioned issues.