위치 선택 지도를 구글 지도로 · Figma 구성 맞춤
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Flutter
|
||||
import GoogleMaps
|
||||
import UIKit
|
||||
|
||||
@main
|
||||
@@ -7,6 +8,10 @@ import UIKit
|
||||
_ application: UIApplication,
|
||||
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
||||
) -> Bool {
|
||||
// 구글 지도 키 — ios/config/Maps.xcconfig → Info.plist. 없으면 지도만 비고 앱은 정상이다.
|
||||
if let key = Bundle.main.object(forInfoDictionaryKey: "GMSApiKey") as? String, !key.isEmpty {
|
||||
GMSServices.provideAPIKey(key)
|
||||
}
|
||||
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user