When I run my app Cryptocentral - a crypto assets tracker, first opening load the last version of the application. All good. If I close the app and relaunch, it loads the version n-1. All wrong.
I have to delete the app and reinstall it to reset it but then it’s happening again. Same bug with TestFlight and app from App Store.
I have also clean node_modules, platforms and plugins a couple of times.
How is that even possible? Why do I have two builds in my ios app?
I have run the command ionic cordova build ios --prod before archive trough XCode
Thanks guys. I resolved this yesterday. It had to do with the Ionic Deploy. I had never used it before and this was my first time. I figured it out eventually
Because of the little time I had, I just removed anything to do with Ionic Deploy in the config.xml and the package.json as I needed to get the app working so I could demo to the client.
This is a big problem for us as well. There is no way to disable deploys inside Ionic Pro (Big Mistake Personally) I hope they come up with a feature to help us work around this issue.
We are testing our release version and every time we close the app it resets. Makes it hard to fully test production.