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

Geocoding error " Attempt to invoke interface method 'java.lang.string.com.facebook.react.bridge.ReadableMap.getString(java.lang.String)' on a null object reference #39

Open
vijay14887 opened this issue Feb 9, 2021 · 2 comments

Comments

@vijay14887
Copy link

Geocoder.from(41.89, 12.49)
.then(json => {
console.log("json",json);
var addressComponent = json.results[0].address_components[0];
console.log("addressComponent",addressComponent);
})
.catch(error => console.warn(error));

when I run the above code getting an error as " Attempt to invoke interface method 'java.lang.string.com.facebook.react.bridge.ReadableMap.getString(java.lang.String)' on a null object reference". Could you please help with this issue? Thanks.

@vijay14887
Copy link
Author

828cb437-b920-4859-ba5a-e1faa5dee624

@vijay14887
Copy link
Author

vijay14887 commented Feb 9, 2021

@marlove Any help is greatly appreciated!!!
API key related to this Project and not having a billing method for this API key will cause this issue?

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

1 participant