How it works...

You can now start to debug your application. Let's choose a different simulator in Visual Studio. Select Simulate in Browser - LG G5 and press F5

Chrome will launch and display your Cordova application:

Click on the Get Current Date button and the current date will be displayed above the button you just clicked on:

While your simulator is open, open the index.js file where you added the getCurrentDate() function and place a ...

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.