위치 선택 지도를 구글 지도로 · 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)
|
||||
}
|
||||
|
||||
|
||||
@@ -300,6 +300,9 @@
|
||||
</dict>
|
||||
</array>
|
||||
<!-- 카카오톡으로 로그인 — 카카오톡 설치 여부 확인·호출(Kakao Flutter SDK 공식 설정). -->
|
||||
<key>GMSApiKey</key>
|
||||
<string>$(MAPS_API_KEY)</string>
|
||||
|
||||
<key>LSApplicationQueriesSchemes</key>
|
||||
<array>
|
||||
<string>kakaokompassauth</string>
|
||||
|
||||
Reference in New Issue
Block a user