Geocoding error " Attempt to invoke interface method 'java.lang.string.com.facebook.react.bridge.ReadableMap.getString(java.lang.String)' on a null object reference
vijay14887 opened this issue · 2 comments
vijay14887 commented
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 commented
vijay14887 commented
@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?