mauron85 / react-native-background-geolocation

Background and foreground geolocation plugin for React Native. Tracks user when app is running in background.
Apache License 2.0
1.33k stars 561 forks source link

Can we using postTemplate to send update location to graphql server ? #527

Open ntquang98 opened 3 years ago

ntquang98 commented 3 years ago

Your Environment

Context

Expected Behavior

Actual Behavior

Context

Hello @mauron85 , thank you for a great jobs on this library. I have some thing to ask: The locations is post as array of object. Are you have any suggestion to make it send to graphql server. Currently i am listening on "location" event and sending mutation to server but it doesn't work on background. If anyone have any suggestions that will be great. Thank you :D