위치 선택 지도를 구글 지도로 · Figma 구성 맞춤
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
// 빌드가 되어야 하기 때문이다 — 그때는 Google 로그인만 동작하지 않는다.
|
||||
#include? "../config/Google.xcconfig"
|
||||
|
||||
// 구글 지도 API 키(MAPS_API_KEY=...) — Info.plist GMSApiKey → AppDelegate. 없으면 지도만 빈다.
|
||||
#include? "../config/Maps.xcconfig"
|
||||
|
||||
// 카카오 네이티브 앱 키(FANUZU_KAKAO_NATIVE_APP_KEY=...) — Info.plist 의 kakao{키} URL 스킴.
|
||||
// Dart(--dart-define-from-file)·Android 와 같은 파일이다. 없으면 카카오 로그인만 막힌다.
|
||||
#include? "../../config/kakao.env"
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
// 빌드가 되어야 하기 때문이다 — 그때는 Google 로그인만 동작하지 않는다.
|
||||
#include? "../config/Google.xcconfig"
|
||||
|
||||
// 구글 지도 API 키(MAPS_API_KEY=...) — Info.plist GMSApiKey → AppDelegate. 없으면 지도만 빈다.
|
||||
#include? "../config/Maps.xcconfig"
|
||||
|
||||
// 카카오 네이티브 앱 키(FANUZU_KAKAO_NATIVE_APP_KEY=...) — Info.plist 의 kakao{키} URL 스킴.
|
||||
// Dart(--dart-define-from-file)·Android 와 같은 파일이다. 없으면 카카오 로그인만 막힌다.
|
||||
#include? "../../config/kakao.env"
|
||||
|
||||
@@ -1,20 +1,40 @@
|
||||
PODS:
|
||||
- Flutter (1.0.0)
|
||||
- Google-Maps-iOS-Utils (6.1.0):
|
||||
- GoogleMaps (~> 9.0)
|
||||
- google_maps_flutter_ios (0.0.1):
|
||||
- Flutter
|
||||
- Google-Maps-iOS-Utils (< 7.0, >= 5.0)
|
||||
- GoogleMaps (< 11.0, >= 8.4)
|
||||
- GoogleMaps (9.4.0):
|
||||
- GoogleMaps/Maps (= 9.4.0)
|
||||
- GoogleMaps/Maps (9.4.0)
|
||||
- health (13.3.1):
|
||||
- Flutter
|
||||
|
||||
DEPENDENCIES:
|
||||
- Flutter (from `Flutter`)
|
||||
- google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
|
||||
- health (from `.symlinks/plugins/health/ios`)
|
||||
|
||||
SPEC REPOS:
|
||||
trunk:
|
||||
- Google-Maps-iOS-Utils
|
||||
- GoogleMaps
|
||||
|
||||
EXTERNAL SOURCES:
|
||||
Flutter:
|
||||
:path: Flutter
|
||||
google_maps_flutter_ios:
|
||||
:path: ".symlinks/plugins/google_maps_flutter_ios/ios"
|
||||
health:
|
||||
:path: ".symlinks/plugins/health/ios"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
Flutter: 71a624a5bc0c04062bf19101d501e466baf2fb47
|
||||
Google-Maps-iOS-Utils: 0a484b05ed21d88c9f9ebbacb007956edd508a96
|
||||
google_maps_flutter_ios: 17552876e72723da1d41accc22f03b5f7afbde69
|
||||
GoogleMaps: 0608099d4870cac8754bdba9b6953db543432438
|
||||
health: 4decf5d74e8f54c58a8c07a385fc72f629a831d9
|
||||
|
||||
PODFILE CHECKSUM: a9f0c3e5ff2dc240d258357afba1f66fdbe55a54
|
||||
|
||||
@@ -209,6 +209,7 @@
|
||||
9705A1C41CF9048500538489 /* Embed Frameworks */,
|
||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
||||
969D2A0A08424A33F3DBC3C4 /* [CP] Embed Pods Frameworks */,
|
||||
CD0CE3127E257F61DD7FAF1D /* [CP] Copy Pods Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
@@ -379,6 +380,23 @@
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
|
||||
};
|
||||
CD0CE3127E257F61DD7FAF1D /* [CP] Copy Pods Resources */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
|
||||
);
|
||||
name = "[CP] Copy Pods Resources";
|
||||
outputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
// 구글 지도 API 키. 이 파일을 Maps.xcconfig 로 복사해 키를 넣는다(Maps.xcconfig 는 gitignore).
|
||||
MAPS_API_KEY = 여기에_키
|
||||
Reference in New Issue
Block a user