Changes are not getting reflected in Ionic 3 app even after successful build

前端 未结 3 1644
深忆病人
深忆病人 2021-01-26 14:39

I met a problem for 3 days with my application ionic 3. In fact, after builder in prod and release mode, it is always the old version that is always taken into account. the chan

相关标签:
3条回答
  • 2021-01-26 15:10

    As @MD Khali said to remove the platform and add platform again, but if it happens after that you just need to click save 3-4 time. Because I have the same problem in my ionic 3 projects.

    0 讨论(0)
  • 2021-01-26 15:14
    1. remove android platform using

    2. ionic cordova platform rm android remove manually node-modules and package-lock.json (imp*)

    3. Unistall old Application

    4. npm cache clean --force

    5. finally run npm install

    6. ionic cordova platform add android

    7. ionic cordova build android

    0 讨论(0)
  • 2021-01-26 15:29

    Finally I found the solution. The problem was related to the ionic plugin (appflow).

    I had two choices 1. Generate the apk from the appflow platform with the configured branch.

    1. Remove the ionic plugin applflow

    I took the choice 1.

    Documentation of appflow https://ionicframework.com/appflow

    0 讨论(0)
提交回复
热议问题