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

Documentation Request

Open ct-jeffweinberg opened this issue 1 year ago • 4 comments

The template is not relevant to this request.

Please add the excellent documentation from (locationAuthorizationRequest)[https://transistorsoft.github.io/react-native-background-geolocation/interfaces/config.html#3--locationauthorizationrequest-39any39] in the generated API docs to a section in the Home page of the Wiki, or to the Philosophy of Operation section.

While this was my own experience and the best step would have been to thoroughly read the type annotations or the API docs, I found it hard to find relevant information on the idiosyncrasies of iOS location permissions and spent a good amount of time having to read through issues to find what I was looking for. I think that this is an important topic and worthy of its own place in the wiki as the content is already written in a convenient how to guide with code examples.

Thanks for your consideration.

ct-jeffweinberg avatar Apr 17 '24 13:04 ct-jeffweinberg

Its also worth adding this to the Using the Plugin guide in the Readme:

From the generated docs here:

Warning: You must call #ready once and only once, each time your app is launched. Do not hide the call to #ready within a view which is loaded only by clicking a UI action. This is particularly important for iOS in the case where the OS relaunches your app in the background when the device is detected to be moving. If you don't ensure that #ready is called in this case, tracking will not resume.

This is easy to miss and not doing it causes subtle bugs that are hard to find as the plugin still mostly works.

jrweinb avatar Apr 17 '24 18:04 jrweinb

Thanks for the feedback.

christocracy avatar Apr 17 '24 19:04 christocracy

christocracy avatar Apr 18 '24 15:04 christocracy

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 19 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 02 '24 01:06 github-actions[bot]