I have been using Ionic for a long time and this error did not occur so far.
I build my APK and install it as usual. If I now want to update the APK on my mobile phone (because the app already exists) it will not install the latest code but some older version.
I have now found out that I can install the latest version if I uninstall the app first.
I found out that the app likes to use old versions even without update / reinstallation. I then have to clear the memory of the app, then it works again. Sounds slightly confusing to me.
> cordova platform ls
Installed platforms:
android 7.0.0
Available platforms:
browser ~5.0.1
ios ~4.5.4
osx ~4.0.1
windows ~5.0.0
www ^3.12.0
And to the other question: I use Ionic pro primarily for monitoring. In between I tested the deployment system (but I didn’t like it). There is still an entry under “Deploy builds”, I don’t know if this is important.
In my folder I removed the remote for Ionic (git) and use only gitlab.
But I don’t know if this has anything to do with it. if I empty the memory / delete the app and install it it works. I also had the problem a few times today that the app just had the old layout (nothing reinstalled, etc). I had to empty the app’s memory and it worked again (without reinstalling).
If it should help, here is the repo (unfortunately not the best code style, I definitely have to make it tidier): https://gitlab.com/PierreSchwang/Vertretungsplan-App (And yes, I’m German, that’s why much of the frontend is written in German. The variables should be in English :D)
Your Cordova tooling seems to be out of date, which might be causing all kinds of problems.
You can read about how to figure out the current Cordova versions and how to update CLI, platforms and plugins here: How to update Cordova CLI, Platforms and Plugins · ionic.zone
Is this the state you tend to see?
My guess is still somehow Capacitor SDK Setup - Appflow is active for you. I don’t know much about it unfortunately.
You removing the ionic remote on your local checkout of your repository doesn’t really matter what your app does and what Ionic still has on its servers.
But if you are sure this is not the problem, you will have to keep looking elsewhere. I have no idea.