Answer the question
In order to leave comments, you need to log in
How to run Background Task on IOS?
Two months after the project at Expo, I realized that nothing sensible would come of it.
I had to rewrite the entire project on a clean RN. (that still pain)
The project stopped as soon as it came to background tasks.
Everything went smoothly on Android. If anyone is interested, this module helped me:
react-native-background-job
Unfortunately, this module does not work and is currently not compatible with iOS.
It is expected that he will start working on IOS 13. (Information from the RN forum) I
started trying analogues. Tried this one:
react-native-background-fetch
But it only fetches. The task of my task is to show notifications. He can't. Earlier in one of the topics they suggested:
react-native-firebase
Like, he somehow pushes notifications when the app is turned off. In my case, he is unlikely to help. We have our own server.
There is also some react-native-queue . But I didn’t really understand how it works. It doesn’t work for me.
Maybe someone faced such a problem. How did you solve it?
Answer the question
In order to leave comments, you need to log in
expo eject
?Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question