I migrated my app to ionic pro. it is on the dashboard now (https://dashboard.ionicjs.com). I am unable to download the compiled android APK file.
I can build my app using package build in the dashboard. When everything is ready in page “Package native binary”.
At the end of the build process this is shown:
BUILD SUCCESSFUL
Total time: 1 mins 11.133 secs
Built the following apk(s):
/usr/src/app/platforms/android/build/outputs/apk/android-release.apk
Uploading apk...
Uploaded apk successfully.
Running after script...
$ clean-up
Cleaning up files...
Successful clean up
Job succeeded
Sorry not getting your question but here’s some simple steps:
Obviously you need to create a phonegap build account - you are allowed one private app for zero cost…
(And you’ll need to deal with the whole .p12 / .mobileprovision stuff for iPhone, ask if you’re unsure and i’ll point you to a url)
Create your app as normal.
Add the following entry in your ‘scripts’ section in your package.json…
"buildprod" : "ionic-app-scripts build --prod"
When you’re ready to create an apk / ipa, run the following…
npm run-script buildprod
This will produce the bundled js/css etc. Once ran zip up the www folder / resources folder / config.xml file into a zip file.
I got similar problem. In safari download doesn’t start even I turned off ad blocker, but in chrome everything works fine so try other browser or turn off ad blocker if you have one.
I found a solution for that problem, if you are using chrome, you must allow the popup on ionic domain; chrome does not allows popup by default but the download link comes in a popup. home it helps.