I have already given up on React Native due to each feature I wanted was requiring a new package and another link call. I had already five such packages and build was taking very long time and was failing many times. Now I see that you provide most of what I need and looks very promising. It looks like Expo is actually bringing the stability RN needs.
What I still need is having a small background worker task to run even when my app is closed. On Windows it’s called a Windows Service. I know that on Android and iOS these are implemented differently, but would be great if you could provide an abstraction layer over those. Just a simple call like
Expo.startBackgroundTask(interval /*or event?*/, callback). And of course, this callback to have access to the Expo API.
Would it be possible? I actually need it to track user movement even if the app is closed. All I need is to be able to fetch user location every 15 minutes with app closed or in background, do some checks and push to Firebase db. It is for a company app to track employees really working on locations, not spying users without permission
I tried using https://github.com/mauron85/react-native-background-geolocation-example in my RN app but because I had many native components it was really hard to get it all work together because of Google Play Services versions mismatch and all kinds of problems connecting to native platform. (Or maybe I just was not trying hard enough.) I am actually a web developer so I really appreciate Expo abstracting away all these integration to native platforms. Really a great improvement!
Thank you for your help,