Friday, February 15, 2019

Creating APK file with PhoneGap

See this sample project:

https://github.com/paulchin/Get-PokeDetails

When creating a new app, be sure to download the jquery-mobile libraries instead of using links to cdn.   You can download jquery-mobile here.  After unzipping, be sure to delete the demo folder.

You also need jquery. Be sure to get the correct version 1.11.1 as at time of writing.
You can get the correct jquery  here.

Then, add a whitelist plugin in the config.xml otherwise your app won't be able to connect to any websites.

Also be sure to target sdk 26 in the config.xml as this is mandated by google.

Use png 144 x 144 pixel for the icon.

See this config.xml file.

Follow the instructions here for creating keystore:


https://www.youtube.com/watch?v=7iAPWc8IGb0





No comments:

Post a Comment