목차 | ||
---|---|---|
|
...
1. Execution Environment
...
Kakao Game
Add a string that combines "kakaogame" and the app ID (KakaoGameConfiguration-AppId). ex)kakaogame103815
Kakao
Add a string that combines "kakao" and the native app key (app secret) obtained from the Kakao Developers site. ex)kakao951b75bf17fe0885ab5106ba2a9f9bc9
To support multi-app Kakao login, if you want to apply the multi-app login spec, configure it as follows. (Contact the technical PM, as this requires settings in the Kakao Developer Center.)
For the games where you want to apply the multi-app configure it in the Info.plist of each app project with the bundle IDs com.kakaogame.appOne / com.kakaogame.appTwo.
In the section where you add the URL Scheme, add "KakaoAppLogin" in the Identifier field and register the URL Scheme item in the format kakao{appSecret}-{bundleId}
kakao951b75bf17fe0885ab5106ba2a9f9bc9-com.kakaogame.appOne
kakao951b75bf17fe0885ab5106ba2a9f9bc9-com.kakaogame.appTwo
Refer to the screenshot
After adding as above, when you build each app, Kakao login will be possible in each app.
...
Delete SceneDelegate.swift file.
Delete ‘Application Scene Manifest’ in info.plist.
Delete UISceneSession methods in AppDelegate
Add 'UIWindow” property in AppDelegate
...