開發動機

My Cart APP need to track users' location to remind them shopping tasks even when the user terminate the app.
I found out that I can use the significant changes property of React Native Geolocation API to implement this feature on iOS, but this cannot be performed on Android, so I developed this npm module to solve this problem.

開發方法

I used Service API of Android to start Fused Location API for tracking location, which invoke React Native App and send GPS information by BroadcastReceiver when location changes.

開發工具

React Native

Java

Flow