Hello!
I ran into a problem - I have a project for reactjs + remix.
I assemble it as needed for Capacitor:
sudo npm run build
sudo npx cap add android
sudo npx cap copy
sudo npx cap sync
then I launch Android Studio and there I launch the project in the emulator (or I assemble the apk, it doesn’t matter). The very first version that I have built is constantly launched. I don’t know what to do anymore.
Any changes that I put in project not shown. Only very first version.
I cleaned cache, I removed project and build it again. No way.
I think that it may be in Android Studio? But where?
Ofcourse when I launch project for web (npm run start) all changes applied.
Hello
Im sorry but I think I have an idea yet. My app is ReactJS + Remix.
And…as I can see - in fact when I move my web app to capacitor mobile (android for example) its still run all on remix server…
So I have to update all on server also. I thought that all changes that I made will be run locally on mobile…I was wrong.
A typical mobile app built with Capacitor should be more like an SPA with an API backend. I think others have tried before with using a backend to serve HTML to their app and the performance just isn’t there like a standard native app.