keep google api key out of git (revoked old key)
This commit is contained in:
parent
09486a4d19
commit
4db50c6cb1
2 changed files with 2 additions and 1 deletions
|
@ -47,6 +47,7 @@ android {
|
||||||
targetSdkVersion 29 // same as compileSdkVersion
|
targetSdkVersion 29 // same as compileSdkVersion
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
versionName flutterVersionName
|
versionName flutterVersionName
|
||||||
|
manifestPlaceholders = [googleApiKey:keystoreProperties['googleApiKey']]
|
||||||
}
|
}
|
||||||
|
|
||||||
// compileOptions {
|
// compileOptions {
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
</provider>
|
</provider>
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.google.android.geo.API_KEY"
|
android:name="com.google.android.geo.API_KEY"
|
||||||
android:value="AIzaSyDf-1dN6JivrQGKSmxAdxERLM2egOvzGWs" />
|
android:value="${googleApiKey}" />
|
||||||
<!-- Don't delete the meta-data below.
|
<!-- Don't delete the meta-data below.
|
||||||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||||||
<meta-data
|
<meta-data
|
||||||
|
|
Loading…
Reference in a new issue