File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 9494 <string >UIInterfaceOrientationLandscapeLeft </string >
9595 <string >UIInterfaceOrientationLandscapeRight </string >
9696 </array >
97+ <key >AMPLITUDE_API_KEY </key >
98+ <string >$(AMPLITUDE_API_KEY) </string >
9799</dict >
98100</plist >
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ extension AppDelegate: UIApplicationDelegate {
4242
4343 // 앱 번들 버전 (ex: "2.0.1")
4444 let appVersion = Bundle . main. infoDictionary ? [ " CFBundleShortVersionString " ] as? String ?? " "
45-
45+ let amplitudeKey = Bundle . main. infoDictionary ? [ " AMPLITUDE_API_KEY " ] as? String ?? " "
46+ amplitude. initialize ( amplitudeKey, nil )
47+
4648 amplitude. track ( . app_open( deviceOS: osVersion, appVersion: appVersion) )
4749 return true
4850 }
You can’t perform that action at this time.
0 commit comments