-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location getting delayed when I add License key to Android app #1977
Comments
It can only be a coincidence. Adding the license key cannot possibly affect the time retrieving a location.
|
Will check and update. |
Hey @christocracy, I got a question. We use 3 different env's for our RN application. When I add the License key to AndroidManifest main file. The key validation failure message is not been shown on dev and prod but showing up on the stage. Is there anything on it ? |
Show me your android/app/build.gradle. The plugin allows a finite number of suffixes to unlock the plugin for other variants:
|
we use as .stage. |
Doesn't the plugin allow that ? |
No. The only known suffixes are listed above. The plugin is not aware of the suffix |
We aren't making use of background location fetching as of now. |
See API docs |
Ok thanks. |
LOG_LEVEL_VERBOSE Do we have to use this in the config ? Can this be removed ? |
This is for developer debugging and testing only. Released app should have LOG_LEVEL_NONE |
Ok thanks |
If we disable using Config.disableMotionActivityUpdates as true. |
we are getting an app rejection with following message:
|
We are getting like this when app is submitted for play store.
As per the your docs on Android Manifest file we have to add the License key alone right ? But on this #1149 (comment) I could see some of ACCESS_BACKGROUND_LOCATION permission and all. We are only using current position request as of now. @christocracy will be happy to hear from you asap. |
See my blog about this. Pay particular attention to the final paragraph, showing you how to manually remove a requested permission. |
So do we have to add this to AndroidManifest file ? |
We are seeing this on the Play store submission. Do we have to set,
or
|
Any update on this @christocracy |
When the application target SDK was set, 34 faced this. I tried two approaches . Because android newly announced Required the foreground service types
I am using this library to get the current location only with the following config
|
Do we have to execute
this on all the screens wherever the location is being fetched ? @christocracy ? |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Location getting delayed when I add License key to Android app
Is there any way I can overcome the above.
Your Environment
react-native -v
): 0.70.6Expected Behavior
To get location quicker when license key is added.
Actual Behavior
Significantly there is delay in getting the current location when I added the License key to the Android App.
Before adding the License key it was about 2 or 3 seconds to get the currentLocation but after adding License key it is taking about 10 seconds.
Debug logs
Logs
The text was updated successfully, but these errors were encountered: