Change Maps Key helps you change the Google Maps Key inside Android and iOS folder


To use Change Maps Key on the command line, install using pub global activate:

$ pub global activate change_maps_key

To update Change Maps Key, use the same pub global activate command.


A simple usage example:

dart pub global run change_maps_key --key="111111111"


-> Android key updated to: 111111111
-> iOS key updated to: 111111111
-> Web key updated to: 111111111

The key on Android is changed in the following path: android\\app\\src\\main\\AndroidManifest.xml

The key on iOS is change in the following path: ios\\Runner\\AppDelegate.swift

The key on Web is change in the following path: web\\index.html


Make sure your AndroidManifest file is with the key writted in 2 lines, example:

<meta-data android:name=""

If the key is writted in 1 line only, it's not going to work properly, example:

<meta-data android:name="" android:value="000000"/>

Features and bugs

Please file feature requests and bugs at the issue tracker.