I've followed a few tutorials regarding implementing CodePush so that we can use it to deploy JS updates to a mobile app built for iOS using Cordova.
Namely this one, https://github.com/Microsoft/cordova-plugin-code-push
I am currently able to successfully deploy changes to production using the deployment key, but calling codePush.sync()
on deviceready
doesn't seem to get any updates and when I check using code-push deployment ls APP_NAME -k
it reports that no updates have been downloaded. I've deployed with both a mandatory flag and without, and I've tried promoting from staging to production.
I've also attempted to launch a dialog box using the additional parameters in codePush.sync()
but I couldn't get that to display either. We have specified <access origin="*" />
in the config.xml file and cordova-plugin-whitelist
is installed. The application doesn't stall or break, it just never collects the updates.
I've searched fairly extensively for a resolution but so far all efforts have been fruitless. Any ideas or suggestions would be greatly appreciated, thank you.