# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
name: Place Tracker rebuild script
steps:
- name: Remove runner
rmdirs:
- android
- ios
- web
- name: Rebuild Runner
flutter: create --org dev.flutter --platform android,ios,web .
- name: Update deps
flutter: pub upgrade --major-versions
- name: Patch android/app/src/main/AndroidManifest.xml
path: android/app/src/main/AndroidManifest.xml
patch-u: |
--- b/place_tracker/android/app/src/main/AndroidManifest.xml
+++ a/place_tracker/android/app/src/main/AndroidManifest.xml
@@ -4,6 +4,12 @@
android:label="place_tracker"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
+
+
Bool {
+ GMSServices.provideAPIKey("YOUR KEY HERE")
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}