react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

Request Example Comment Change for // <-- [Default: true] Set true to sync each location to server as it arrives.

Open rickgonzalez opened this issue 7 years ago • 5 comments

Recommend example comment change from

// <-- [Default: true] Set true to sync each location to server as it arrives.

to

autoSync: true, // <-- [Default: true] Set true to sync each location or batch of locations to server as it arrives.

It's very clear in the docs that this needs to be set to true in order to trigger batch posts. However the comment in the example makes it seem that it is solely meant for use in combination with batchSync: false

I didn't figure it out until I wasn't seeing batch posts.

rickgonzalez avatar May 02 '19 18:05 rickgonzalez

Docs link please.

christocracy avatar May 02 '19 18:05 christocracy

https://github.com/transistorsoft/react-native-background-geolocation/blob/master/README.md

rickgonzalez avatar May 03 '19 01:05 rickgonzalez

#large_blue_diamond-example

rickgonzalez avatar May 03 '19 01:05 rickgonzalez

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

stale[bot] avatar Jul 02 '19 02:07 stale[bot]

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

stale[bot] avatar Jul 09 '19 02:07 stale[bot]