Apps is not changing after ionic live deploy

i have followed the Ionic Deploy Documentation

  1. installed the cordova plugin
  2. set the app id and the channel name of --variable ionic cordova plugin
  3. git flow project to ionic
  4. my commit version is on ionic
  5. deploy/assign the version to the channel
  6. ionic cordova build android
  7. install to my android
  8. do changes on code (like html), and git flow again
  9. assign the latest commit version to the channel
  10. kill the apps then reopen apps in android (i select update mode to auto)
  11. nothing change

i did so many times wasting 5 hours…

then i tried the Pro client. it works, it reads my channel info, my version number, but it says the no deploy info available

{deploy_uuid: "NO_DEPLOY_AVAILABLE", channel: "Production", binary_version: "1.9.08"}

please help. im clueless, 5 hours wasted

2 Likes

Did you choose the update method using --variable as well? Here’s an example of what my config.xml looks like:

<plugin name="cordova-plugin-ionic" spec="^4.0.0">
        <variable name="APP_ID" value="3dff7229" />
        <variable name="CHANNEL_NAME" value="Production" />
        <variable name="UPDATE_METHOD" value="auto" />
        <variable name="WARN_DEBUG" value="false" />
        <variable name="UPDATE_API" value="https://api.ionicjs.com" />
        <variable name="MAX_STORE" value="2" />
    </plugin>

hello Matt, thankyou for your reply.

yes i’ve checked. the config.xml has the correct xml format like your example
package.json also have correct key value.

i also tried in ionic view, it was showing correct version, no problem in switching build version…

So you’re on version 4.0.0 and you have UPDATE_METHOD set to auto or background?

yes version ^4.0.0
update_method is auto (update on splashscreen)

im not at office right now. will provide full on monday for the npm info and the ionicversion…
already update to ionic@latest

Hello Matt @mattkremer

here is my ionic info

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.1
    ionic (Ionic CLI) : 3.19.1

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : android 6.3.0 browser 5.0.1 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2 
    Node       : v8.4.0
    npm        : 5.6.0 
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro


here is my ionic cordova plugin info

 <plugin name="cordova-plugin-ionic" spec="^4.0.0">
        <variable name="APP_ID" value="f4ce1597" />
        <variable name="CHANNEL_NAME" value="Production" />
        <variable name="UPDATE_METHOD" value="auto" />
        <variable name="WARN_DEBUG" value="false" />
        <variable name="UPDATE_API" value="https://api.ionicjs.com" />
        <variable name="MAX_STORE" value="2" />
    </plugin>

here is my package.json

"cordova-plugin-ionic": {
        "APP_ID": "f4ce1597",
        "CHANNEL_NAME": "Production",
        "UPDATE_METHOD": "auto",
        "WARN_DEBUG": "false",
        "UPDATE_API": "https://api.ionicjs.com",
        "MAX_STORE": "2"
      }

here is my builds info, im changing the badge color (scss) or text(html)

Yep, I am having the same exact issue as davidvalen95. The only difference in my config.xml is the following:

variable name=“WARN_DEBUG” value=“true” /

I followed all the applicable steps in the video as well but since I’m not using a mac, I built and installed my app on my device using:

$ ionic cordova build android
$ ionic cordova run android --device

Then I made a change and followed all the steps as davidvalen95 described. Killed and opened the app on my phone and no changes were made.

Did you ever get a resolution for this issue?

i didnt do anything and it just got work 3 days later(after weekdays) i don’t know what happened.

Got it. Thanks. I haven’t been so lucky.

I have this issue of code not updating, kind of losing changes in some components during build. With ionic serve in the browser sometimes I would have this problem and I would just save ts or html file in the component and changes will reflect but once I build android release app changes are gone. This is frustrating been trying for weeks now. Any solution to this?

For my issue the solution was in this post https://stackoverflow.com/questions/46780446/ionic-build-creates-an-old-version-of-my-app-even-if-i-create-a-new-blank-app/51231226#51231226, which was Ayhan’s comment. So if you push code to ionic pro in you project worth looking at. I would have never guessed.

cordova plugin remove cordova-plugin-ionic