25
Views
1
Comments
[Google Maps Plugin] Installation Instructions for 4.0.1
Question
google-maps-plugin
Mobile icon
Forge asset by João 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?

2018-08-27 08-29-35
Fábio Vaz

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.