Skip to content

Object { "code": 0, "message": "Geocoder isn't initialized. Call Geocoder.init function (only once), passing it your app's api key as parameter.", #2

@khupi

Description

@khupi
  1. When I initialize my google api key hard code into the geocoder it works fine.

const GOOGLE_API_KEY = Config.GOOGLE_API_KEY;

Geocoder.init("my google api key"); it works fine

  1. it fails when referenced from the config env settings in the from the origin code:

const GOOGLE_API_KEY = Config.GOOGLE_API_KEY;

Geocoder.init(GOOGLE_API_KEY);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions