버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

Upgrading the Unity SDK to 3.15.0

KakaoGameSDK

As newtonsoft-json is used for internal logic, you need to install the json package yourself.

1.1 Unity SDK 설치 | 1.1.3.14. Newtonsoft.Json 패키지 설치(SDK 3.15.0 이상)

The Facebook SDK has been updated, so adding the Facebook Client Token has been changed to be mandatory.

2.1 페이스북 | 2.1.2. 페이스북 개발자 센터(클라이언트 토큰 확인) SDK 3.15.0 이상 버전 적용 시 설정 필요

It has been added so that you can set the Facebook Client Token in the Editor.

1.1 Unity SDK 설치 | 1.1.3.10. 페이스북 정보 설정

Upgrading the Unity SDK to 3.14.6

KakaoGameSDK(Editor)

The URL required for the Kakao Editor login has been changed from https://dist-test-sdk.s3.amazonaws.com to https://kakao-sdk-release.s3.amazonaws.com. You must register https://kakao-sdk-release.s3.amazonaws.com on the Kakao Developer site.

...

  • Behavior Changes on Android 12

  • In SDK 3.13.3, you should modify your settings to support Android 12 Behavior.

    • explictly-declared value for android:exported

      • Safer component exporting

      • Changed AndroidManifest.xml

        • Main Activity, AuthCodeHandlerActivity, AgeAuthActivity

          • declare android:exported=”true”

        • KGFirebaseMsgService

          • declare android:exported=”false”

    • Changed compileSdkVersion, targetSdkVersion to 31

    • Changed Android Gradle Plugin Version to 4.0.1 and Gradle Version to 6.1.1Upgrading the Unity SDK to 3.13.3

KakaoGameSDK(Android)

  1. Gradle Version

    1. If you are using Unity 2020.3.15f1, 2021.1.16f1 or later, no other settings required

    2. Changed Android gradle version to 6.1.1

      1. Gradle 6.1.1 download

      2. Set the downloaded gradle 6.1.1 folder in Unity.

        1. After downloading the gradle to another place, set the gradle folder in the Unity settings.(Preferences > External Tools > Android > Gradle Installed with Unity)

      Image Modified

Upgrading the Unity SDK from 3.10.x to 3.10.11

...

  • Starting from version 3.10.11, iOS framework was installed to install iOS framework through cocoapod when building ios.

    • Can install KakaoGame related framework through cocoapods

    • Basic compatible version guide for 3rd-party framework facebook / google framework

    • Or it can be set so that the developer can apply the desired version

  • Guide

    1. Select Unity menu> Assets> External Dependency Manager> iOS Resolver> Settings
       

      Image Modified

    2. Cocoapods Integration> Select Xcode workspace> OK

      Image Modified

    3. Specify the framework version to install as cocoapods in Assets/Kakaogame/Editor/KakaoGameDependencies.xml file

      1. Packages that are distributed are prepared based on the version that is linked to the base.

      2. You can modify and apply the version desired by the developer within a compatible range

        KakaoGame Dependencies

        코드 블럭
        <?xml version="1.0" encoding="utf-8"?>
        <dependencies>
            <iosPods>
                <iosPod name="FBSDKCoreKit" version="5.5.0" />
                <iosPod name="FBSDKLoginKit" version="5.5.0" />
                <iosPod name="FBSDKShareKit" version="5.5.0" />
         
                <iosPod name="GoogleSignIn" version="5.0.2" />
         
                <iosPod name="KakaoGameSDK/KakaoGame" version="3.10.11" />
                <iosPod name="KakaoGameSDK/KakaoGameFacebook" version="3.10.11" />
                <iosPod name="KakaoGameSDK/KakaoGameGoogle" version="3.10.11" />
                <iosPod name="KakaoGameSDK/KakaoGameKakao" version="3.10.11" />
            </iosPods>
        </dependencies>
      3. ex) Although FacebookSDK is specified as 5.5.0, it is okay to apply 5.6.0, but 6.0.0, which is a major version change, cannot be changed.

Additional guide for using cocoapods with Unity 2019.3

  • Installing via cocoapods installs the libraries specified in the Pods project in the Pods project under the Xcode workspace

  • The library is successfully linked to the application project, Resources are linked to the UnityFramework target, not the application, so the resources used in the SDK are not displayed.

  • So you have to manually add that resource to your application (Unity-iPhone) target (see screenshot below)

    1. Step 1) Unity-iPhone target > Copy Bundle Resources > Click +

      Image Modified
    2. Step 2)Click Add Other...

      Image Modified
    3. Step 3) Click Pods/KakaoGamePublishingSDK/KakaoGameFramework/KakaoGameResources.bundle file manually

      Image Modified