[Google Maps Plugin] Installation Instructions for 4.0.1
Question
Forge component by Grazina

Hi,

Is there any config instructions for the latest version?
When generating the app, an error message comes up prompting to

Please add '<preference name="GOOGLE_MAPS_ANDROID_API_KEY" />' to the config.xml file.

Before we had to update extensibility config to include our API keys but this has been changed?

Hi Tye,

In your front-end app you can add the API Keys. Here i leave an example:


{

    "preferences" : {

        "global" : [

            {

            "name" : "StatusBarOverlaysWebView",

            "value" : "true"

            },

            {

            "name": "GOOGLE_MAPS_ANDROID_API_KEY",

            "value": "XXXXXXXXXXXXXXX"

            },

            {

            "name": "GOOGLE_MAPS_IOS_API_KEY",

            "value": "XXXXXXXXXXXXXXX"

            }

            ]

    }

}

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.