App seems to rollback on a previous version


#1

Hello guys, I’m experiencing a weird bug and I don’t know what to do or search to fix it.
I regularly build ipa to try the app on my iphones.
Let’s say I change a bit of my design. I have a text: “Hello”, and an icon next to it/ I move the icon (which is on the right side of the text) to the left side.
I build the ipa, send it to my phone, open my app and I see that the icon is on the left. Perfect !
Then I kill the app and reopen it.
Now the icon is on the right side.
Any idea why ?


#2

I’ve seen that problem floating around recently, and it seems the most common reason is that there’s some sort of Ionic Deploy code lying around in your config.xml.

It’ll look something like:

<plugin name="cordova-plugin-ionic" spec="~1.1.9">
</plugin>

Do you see anything like that in config.xml?


#3

Yes, I do have this package. I will remove it and try again.
Thank you


#4

I didn’t try the proposed solution.

Instead, I updated xcode and moved the version in config.xml from 1.0.0 to 1.0.1.
It worked


#5

Hi

I’m having same issue… when I reopen my app, its reroll to previous version…

I tried update version of my config.xml and no luck… still rerolling…

@SigmundFroyd I have that plugin with some content inside… what do you recommend to do with that?

Thankyou!


#6

Hey,

I suggest to remove cordova-plugin-ionic by running

ionic cordova plugins remove cordova-plugin-ionic

It solved the problem for me (whilst bumping version in config.xml not really). Before that, every time I killed an app in Android after reopening I got some previous version (quite distant!).


#7

I has the same issue just now.
Removing the ionic plugin solves the problem.
Thanks!


#8

It works for me, thank you.