Custom Launcher Gradle Template
Custom Base Gradle Template
Custom Gradle Properties Template
android {
defaultConfig {
manifestPlaceholders = [ "KakaoTalkAndroidAppKey": "User AppKey here" ]
}
}
Install unity-jar-resolver
using UnityEngine;
using Kakaotalk;
public class TestKakaotalkAPI : MonoBehaviour
{
void Awake()
{
KakaoSdk.Initialize(() => {
KakaoSdk.Login(KakaoSdk.LOGIN_METHOD.Both, (token) => {
Debug.Log(JsonUtility.ToJson(token));
KakaoSdk.GetProfile((profile) => {
Debug.Log(JsonUtility.ToJson(profile));
}, e => Debug.Log(e) );
}, e => Debug.Log(e) );
}, e => Debug.Log(e) );
}
}