I’m creating an app to send coordinates and I need it to continue sending even with it closed.
I used some plugins as background mode but after closing the app it did not work.
After the update of android 12, I had many problems with crash because of this plugin.
How can I keep sending coordinates even with the application closed?
você obteria melhores resultados se usasse um tradutor!
Ok. Vou fazer a pergunta em inglês
You can try looking these links for alternative plugins that maybe can work, some plugin use a fetch each 15 minutes or more because OS can have limitations to prevent abuse.
capacitor-background-fetch
cordova-plugin-background-fetch
A first party Capacitor plugin is coming soon for Background Tasks. This was mentioned in Ionic’s Q1 Show - Q1 Ionic Show Recap - Ionic Blog if you can wait!