I have installed and configured the Ionic Pro deploy plugin and originally configured it to “background” but I had to start the app twice to get the newly deployed versions of my app. So I changed the update_method to “auto” which is supposed to download new deploys during the splashscreen and then start. Problem is that “auto” behaves just like “background”. So the first time a user installs my app, they get the base version of the app. They have to restart the app a second time to get the latest Production build running.
Here’s the relevant portion of my Config.xml:
<plugin name="cordova-plugin-ionic" spec="^2.0.4"> <variable name="APP_ID" value="xxxxxxx" /> <variable name="CHANNEL_NAME" value="Production" /> <variable name="UPDATE_METHOD" value="auto" /> <variable name="UPDATE_API" value="https://api.ionicjs.com" /> <variable name="MAX_STORE" value="2" /> </plugin>
Has anyone else had trouble with update_method=“auto” behaving the same as “background”?
UPDATE 1: This only seems to happen on Android. The published iOS version does the update during the splashscreen (with a quick flash of white) and applies the latest deploy. Working on the android version to do a manual checkAndApply once the app is started.