The PhoneGap service
The first approach we are going to explore is generating app installers using the PhoneGap build service. This is perhaps the simplest way to generate installers for Android and iOS.
The process is quite simple. We upload the entire project to the PhoneGap build service and it takes care of building the installer.
Note
If you think that uploading the complete project is not practical, you can upload the www
folder only; but, you need to make the following changes:
Firstly, move the config.xml
inside the www
folder. Next, move the resources folder inside the www
folder and, finally, update the path of the resources
folder in config.xml
.
If you find yourself doing this often, I would recommend using a build script to generate a PhoneGap deployable
folder, with the preceding changes made to the project.
If you are planning to release your app only for Android, you do not need to do anything more. But if you are planning to generate iOS installers, you need to get an Apple Developer...