Is there a way to make sure the code execution in the extension finishes when the extension is closed on iOS?
I managed to get this working on Android using a Foreground service, but on iOS the behaviour seems a bit random, sometimes it continues the execution and other times it doesn't (most of the times it fails when using a slower connection, 3G or worse).
Also for the extension, background modes don't seem to be available.
Is there a way to make sure the code execution in the extension finishes when the extension is closed on iOS?
I managed to get this working on Android using a Foreground service, but on iOS the behaviour seems a bit random, sometimes it continues the execution and other times it doesn't (most of the times it fails when using a slower connection, 3G or worse).
Also for the extension, background modes don't seem to be available.
Any help would be appreciated.