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 111 forks source link

How to use it with Expo ? #78

Open roei133 opened 4 years ago

roei133 commented 4 years ago

how can I use the "react-native-background-task" if I use the expo?

sevenbytez commented 4 years ago

You can't use native libraries with expo unless you eject your project.

a-zen commented 4 years ago

Expo has it's own background task implementation that you can use:

https://docs.expo.io/versions/latest/sdk/task-manager/

artsnr1 commented 3 years ago

@a-zen Does expo task manager works even when app is closed/terminated?