transistorsoft / react-native-background-geolocation

Sophisticated, battery-conscious background-geolocation with motion-detection
http://shop.transistorsoft.com/pages/react-native-background-geolocation
MIT License
2.54k stars 424 forks source link

Customizing Alert shown on Android #1975

Closed mohankyro22 closed 1 month ago

mohankyro22 commented 1 month ago

shared image

Screenshot 2024-03-25 at 7 35 15 PM

How to customize the Message shown on this. Anything on this @christocracy

mohankyro22 commented 1 month ago

In Android it is working fine.

christocracy commented 1 month ago

See API docs Config.backgroundPermissionRationale

mohankyro22 commented 1 month ago

I found this strange,

The Android APK when I tested before adding the License key - I got the current location update in abour 2 seconds or at max 3 second.

But when I add License key and test It takes 10 seconds to get the current location.

Was that expected or is there any way I can solve it.

@christocracy Anything on this ?

christocracy commented 1 month ago

The license key has no effect upon performance.

mohankyro22 commented 1 month ago

But the same code I could experience the above.

mohankyro22 commented 1 month ago

Would it be better If I share the code ? @christocracy

christocracy commented 1 month ago

I suggest you post a new issue.

mohankyro22 commented 1 month ago

Closing this issue for now as the discussion got completed