On some devices(galaxy s10e and A52) it is fine terminating the app with a swipe. The background task will continue.
On other devices(s23 ultra) it wont continue background task if terminating the app with a swipe.
On all devices i am requesting and accepting Permission.ignoreBatteryOptimizations. If i dont request for this permission it wont work even on galaxy s10e and A52, i think because of the fact that power saving mode is enabled.
Version
On some devices(galaxy s10e and A52) it is fine terminating the app with a swipe. The background task will continue. On other devices(s23 ultra) it wont continue background task if terminating the app with a swipe. On all devices i am requesting and accepting Permission.ignoreBatteryOptimizations. If i dont request for this permission it wont work even on galaxy s10e and A52, i think because of the fact that power saving mode is enabled.
I am using the example code from readme