You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is because return type of Geocoder.init funtion is void. It does not return anything after running. You just need to run it once and use the same Geocoder object.
const GOOGLE_API_KEY = Config.GOOGLE_API_KEY;
Geocoder.init("my google api key"); it works fine
const GOOGLE_API_KEY = Config.GOOGLE_API_KEY;
Geocoder.init(GOOGLE_API_KEY);
The text was updated successfully, but these errors were encountered: