cordova-plugin-code-push icon indicating copy to clipboard operation
cordova-plugin-code-push copied to clipboard

Bug when closing and opening app

Open alissonlinneker opened this issue 10 years ago • 5 comments

Whenever I make updates to the app using the code-push, it redirects to a page:

file:///data/user/0/com.myapp/files/codepush/deploy/versions/e6cb4cdsc5e36226a7a3047dc217cafcc871a132f1c86b59c5fcdbd511b73802/www/index.html

But if I finalize the app and open it again, it returns to display the old version:

file:///android_asset/www/index.html

Why? How to fix?

alissonlinneker avatar Sep 19 '16 16:09 alissonlinneker

Is this on a simulator or a real device? Is it possible that your app is being rolled back? What does the code-push deployment history command show?

richardhuaaa avatar Sep 19 '16 23:09 richardhuaaa

I described a similar problem in #171

pke avatar Oct 14 '16 10:10 pke

i'm facing the same problem , @silhouettes
on real device , maybe app is rolled back . use code-push deployment history

Active: 0% (0 of 0) 
Total: 0 (5 pending) 

like this ,

On android 4.4.2

wssss avatar Feb 20 '17 09:02 wssss

sr , i didn't use these code.

codePush.async().

and add these code in my project it worked。

wssss avatar Feb 20 '17 10:02 wssss

@wssss - thanks for posting it back, closing the issue for now, create a new one in case of any problems.

max-mironov avatar Feb 23 '17 13:02 max-mironov