Skip to content
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

getCurrentPlace results in Api error Android (also in example) #151

Closed
svengiebel opened this issue Jun 25, 2018 · 8 comments
Closed

getCurrentPlace results in Api error Android (also in example) #151

svengiebel opened this issue Jun 25, 2018 · 8 comments

Comments

@svengiebel
Copy link

svengiebel commented Jun 25, 2018

First of all, thanks for the package! ⭐️

Currently i get an error in my application and in your example app (Only in Android):
When calling the RNGooglePlaces.getCurrentLocationPlace() method i get the following:

{ [Error: Error making places detection api call: ERROR] framesToPop: 1, code: 'E_PLACE_DETECTION_API_ERROR' }

Everything else is working without any problems. I also checked the permissions for my API Keys.

iOS is working great, so it has to be something with the keys?

@svengiebel svengiebel changed the title getCurrentPlace results in Api error (also in example) getCurrentPlace results in Api error Android (also in example) Jun 25, 2018
@tolu360
Copy link
Owner

tolu360 commented Jun 27, 2018

Try it an actual android device and let me know if the issue still persists.

@svengiebel
Copy link
Author

I was testing on an actual android device. its a Samsung Galaxy 4 with Android 7.0. I also tested it quickly with a Pixel2 and latest firmware. But i dont have that one available at the moment.

@tolu360
Copy link
Owner

tolu360 commented Jun 29, 2018

I see, would look further into this issue and get back to you, but in the meantime, I pulled in a PR so make sure you update to v2.5.2

@ducpt2
Copy link

ducpt2 commented Jul 24, 2018

@tolu360 i have same error in android.

@Transfusion
Copy link

Getting this error with v2.5.2, Xiaomi Mi 6, Android 8.0.0, react-native 0.55.4, compileSdkVersion 23, buildToolsVersion "23.0.1", com.android.support:appcompat-v7:23.0.1, going into the catch block of the Promise returned by RNGooglePlaces.getCurrentPlace(); Error: Error making places detection api call: ERROR

@aayushiyadav007
Copy link

Please ensure your device GPS location is on and above Lollipop version ACCESS_FINE LOCATION permission should be enable, because it worked for me.

@abdullateef97
Copy link

@tolu360 I'm having the same issue, how do i fix this. Thanks

@tolu360
Copy link
Owner

tolu360 commented Mar 11, 2019

Please consider the latest beta release that uses the new Google SDK on Android, please see #198

@tolu360 tolu360 closed this as completed Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants