Debian Codegraph @

templates/activities/GoogleMapsActivity/root/debugRes/values/google_maps_api.xml.ftl

raw
1 <resources>
2 <!--
3 TODO: Before you run your application, you need a Google Maps API key.
4
5 To get one, follow this link, follow the directions and press "Create" at the end:
6
7 https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=${debugKeystoreSha1}%3B${packageName}
8
9 You can also add your credentials to an existing key, using this line:
10 ${debugKeystoreSha1};${packageName}
11
12 Alternatively, follow the directions here:
13 https://developers.google.com/maps/documentation/android/start#get-key
14
15 Once you have your key (it starts with "AIza"), replace the "google_maps_key"
16 string in this file.
17 -->
18 <#-- Always preserve the existing key. -->
19 <string name="google_maps_key" translatable="false" templateMergeStrategy="preserve">YOUR_KEY_HERE</string>
20 </resources>