diff --git a/app/ios/Runner/AppDelegate.swift b/app/ios/Runner/AppDelegate.swift
index 004196ee..ac823bf1 100644
--- a/app/ios/Runner/AppDelegate.swift
+++ b/app/ios/Runner/AppDelegate.swift
@@ -8,7 +8,8 @@ import GoogleMaps
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GMSServices.provideAPIKey("")
+ let key = Bundle.main.object(forInfoDictionaryKey: "ApiMapKey")
+ GMSServices.provideAPIKey(key as! String)
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
diff --git a/app/ios/Runner/Info.plist b/app/ios/Runner/Info.plist
index 0af4a562..e9d0e8fe 100644
--- a/app/ios/Runner/Info.plist
+++ b/app/ios/Runner/Info.plist
@@ -70,5 +70,7 @@
App requires permission to access photos
NSCameraUsageDescription
App requires permission to access camera
+ ApiMapKey
+ AIzaSyA8wfFT23_uHcL-5Jt_w1odqQA6yV3ZF60