[M] login & logout & payment
- login by token - save account info - logout remove accout info - iOS SKU list parser - iOS Pay
This commit is contained in:
@@ -142,7 +142,6 @@ public class SDKManager {
|
||||
}
|
||||
|
||||
public static void UnityGetIdentityFun(String type) {
|
||||
curType = type;
|
||||
Log.e(TAG,"UnityGetIdentityFun : " + type);
|
||||
SDKLog.i("UnityGetIdentityFun : " + type);
|
||||
handler.post(new Runnable() {
|
||||
@@ -154,7 +153,6 @@ public class SDKManager {
|
||||
}
|
||||
|
||||
public static void UnityLogin(String type) {
|
||||
curType = type;
|
||||
Log.e(TAG,"UnityLogin : " + type);
|
||||
SDKLog.i("UnityLogin : " + type);
|
||||
handler.post(new Runnable() {
|
||||
@@ -165,10 +163,10 @@ public class SDKManager {
|
||||
});
|
||||
}
|
||||
|
||||
public static void UnityLoginOut() {
|
||||
public static void UnityLogOutByChannel(string type) {
|
||||
// Log.e(TAG,"UnityLoginOut!!!");
|
||||
SDKLog.i("UnityLoginOut : ");
|
||||
handler.post(() -> SDKAPI.getIns().logout(curType));
|
||||
handler.post(() -> SDKAPI.getIns().logout(type));
|
||||
}
|
||||
|
||||
public static void UnityKnow(String userId, String productId, String productPrice, String productName, String productCount, String prodorderId, String appInfo) {
|
||||
|
||||
Reference in New Issue
Block a user