jamesisaac / react-native-background-task

Periodic background tasks for React Native apps, cross-platform (iOS and Android), which run even when the app is closed.
MIT License
1.1k stars 110 forks source link

Task does not run with a hold in xcode #13

Closed parohy closed 6 years ago

parohy commented 6 years ago

I have submitted a question on stackowerflow. Could there be a bug in the this library? Because when I run the react-natove-background-fetch example app it works.

jamesisaac commented 6 years ago

Thanks for updating. Just for reference, the solution from Stack Overflow:

Solved. At the end I realized the background fetch checkbox was not checked in the project settings. After checking it does work.

I'll add a note about making sure this is enabled to the project readme.