Live Deploy not updating content


#1

Hi Everyone,

I have an ipa of my most recent package installed on my iPhone. I also have my master channel within Ionic Pro set to automatically deploy.

<plugin name="cordova-plugin-ionic" spec="^2.0.4">
        <variable name="APP_ID" value="hidden-for-privacy" />
        <variable name="CHANNEL_NAME" value="Master" />
        <variable name="UPDATE_METHOD" value="background" />
    </plugin>

After doing the following
-Save All
-git add .
-git commit -m ‘new v 0.0.1’
-git push
-git push ionic master

I wait for the master channel to automatically deploy to my new commit , close my app on my phone and load the ‘new’ version. However, none of my changes are shown.

Any ideas?


Live update not working on clean app
#2

same issue for me on iOS …

I also tested my code on an Android device and it works.


#3

Wild guess: master instead of Master?


#4

Nope, it’s correct.
We have to specify the name of the channel not branch.


#5

Same issue here, just stopped working out of nowhere yesterday -using iOS not sure about Android


#6

Posted this elsewhere but:

So a temporary fix:

Downgrade cordova-plugin-ionic to 4.0.1 and cordova-plugin-ionic-webview to 1.1.16. This at least allows me to keep the deploy snapshot. Still having trouble with WKWebView if I dont kill and restart after an update though.

It appears that something weird is happening with the way they are grabbing upstream uuid: https://github.com/ionic-team/cordova-plugin-ionic/commit/c6bdf08868121a61f3a36379490a7a4263b4385a#diff-ec4570900d598dd3bce931d96f7e95abR462


#7

Super answer! It works on iOS now.

Many thanks for the answer!