alinz / react-native-share-extension

react-native as an engine to drive share extension
MIT License
763 stars 398 forks source link

Background execution #120

Closed cdn34 closed 5 years ago

cdn34 commented 5 years ago

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.