初始化SDK,SDK相关参数

This commit is contained in:
yangjing 2022-02-15 18:51:11 +08:00
parent 9d7ed90022
commit 8f03e776fd
5 changed files with 34 additions and 34 deletions

View File

@ -7,8 +7,8 @@ public class InitLogic : MonoBehaviour
{ {
private void Start() private void Start()
{ {
//ToukaSDKManager.Instance.initAnalytics(); ToukaSDKManager.Instance.initAnalytics();
//ToukaSDKManager.Instance.initAdsSDK(); ToukaSDKManager.Instance.initAdsSDK();
SceneManager.LoadScene("Main"); SceneManager.LoadScene("Main");
} }

View File

@ -6,12 +6,12 @@ public static partial class StaticStringsKey
{ {
#if ANDROID_CN #if ANDROID_CN
// topon // topon
public const string TOPON_APPID = "a60f92942d12dc"; public const string TOPON_APPID = "a619c9a2c1c531";
public const string TOPON_APPKEY = "c13e4357e57d78e76e472899eb182e98"; public const string TOPON_APPKEY = "c13e4357e57d78e76e472899eb182e98";
public const string IntersUnitId = "b60f929e104ff6"; public const string IntersUnitId = "b619c9aec2bd23";
public const string RewardVideoUnitId = "b60f929c12b22e"; public const string RewardVideoUnitId = "b619c9ad5bc6cd";
public const string NativeUnitId = ""; public const string NativeUnitId = "";
public const string OpenscreenId = ""; public const string OpenscreenId = "b619c9af77b9c9";
public const string NativeBannerUnitId = ""; public const string NativeBannerUnitId = "";
public const string GADValue = "ca-app-pub-3916046151571724~8559386104"; public const string GADValue = "ca-app-pub-3916046151571724~8559386104";
@ -67,7 +67,7 @@ public static partial class StaticStringsKey
public const bool InterSwitch = true; // 插屏开关 public const bool InterSwitch = true; // 插屏开关
public const bool RewardSwitch = true; // 激励视频开关 public const bool RewardSwitch = true; // 激励视频开关
public const bool NativeSwitch = false; // native开关 public const bool NativeSwitch = false; // native开关
public const bool SplashSwitch = false; // 开屏开关 public const bool SplashSwitch = true; // 开屏开关
} }
#endif #endif

View File

@ -10,7 +10,7 @@ public static partial class StaticStringsKey {
#if IOS_CN #if IOS_CN
// admob // admob
public const string GADValue = "ca-app-pub-3916046151571724~8878116152"; // admob id public const string GADValue = "ca-app-pub-3916046151571724~3382441071"; // admob id
/* /*
* 8121618 * 8121618
@ -20,10 +20,10 @@ public static partial class StaticStringsKey {
/* /*
* *
*/ */
public const string content = "游戏类型"; public const string content = "益智解谜";
#else #else
// admob // admob
public const string GADValue = "ca-app-pub-3916046151571724~5414348015"; // admob id public const string GADValue = "ca-app-pub-3916046151571724~3382441071"; // admob id
#endif #endif
// topon(cn) - 国内版本用Topon // topon(cn) - 国内版本用Topon
@ -31,9 +31,9 @@ public static partial class StaticStringsKey {
public const string TOPON_APPKEY = "c13e4357e57d78e76e472899eb182e98"; // topon appkey - 同一个账号key相同 public const string TOPON_APPKEY = "c13e4357e57d78e76e472899eb182e98"; // topon appkey - 同一个账号key相同
public const string TOPON_IntersUnitId = "b605885cf82614"; // topon 插屏id public const string TOPON_IntersUnitId = "b605885cf82614"; // topon 插屏id
public const string TOPON_RewardVideoUnitId = "b605885e3d7950"; // topon 激励视频id public const string TOPON_RewardVideoUnitId = "b605885e3d7950"; // topon 激励视频id
public const string TOPON_OriginOpenScreenId = ""; // topon 原始开屏id非native拼 public const string TOPON_OriginOpenScreenId = "b620b7ff8b4dc2"; // topon 原始开屏id非native拼
public const string TOPON_NativeUnitId = ""; // topon native id public const string TOPON_NativeUnitId = ""; // topon native id
public const string TOPON_NativeOpenscreenId = ""; // topon native拼开屏id public const string TOPON_NativeOpenscreenId = "b620b7ff8b4dc2"; // topon native拼开屏id
public const string TOPON_NativeBannerUnitId = ""; // topon native拼banner id public const string TOPON_NativeBannerUnitId = ""; // topon native拼banner id
// max (us) - 海外版本用max // max (us) - 海外版本用max

View File

@ -5,15 +5,15 @@ using UnityEngine;
public static partial class StaticStringsKey public static partial class StaticStringsKey
{ {
// apple app id // apple app id
public const string APPLE_APP_ID = "1562574435"; public const string APPLE_APP_ID = "1560492384";
// umeng // umeng
public const string UMENG_APPKEY = "6059591ab8c8d45c13aae717"; public const string UMENG_APPKEY = "61ade15097ce9017802ca150";
public const string UMENG_CHANNELID = "AppStore"; public const string UMENG_CHANNELID = "Android";
// ga // ga
public const string GA_gameKey = "000f968b863b47fc95ef55473ce955b1"; public const string GA_gameKey = "94c81066a5c5694eacaa8a2fda000dde";
public const string GA_secretKey = "6a2dd6d6189994e7af755efe6944e4a08e0929a7"; public const string GA_secretKey = "de3f86f93cfa9a89fda3b8176a1acd4f34a1bd0e";
// tenjin // tenjin
public const string TENJIN_KEY = "PYOTVKJ4XZJHSMZW2V6GBQRCNXAFKWU2"; public const string TENJIN_KEY = "PYOTVKJ4XZJHSMZW2V6GBQRCNXAFKWU2";

View File

@ -5,7 +5,23 @@ public static partial class StaticStringsKey {
#if IOS_CN #if IOS_CN
// apple app id // apple app id
public const string APPLE_APP_ID = "1579995714"; // 只 review url(跳转游戏商店详情页) 有用到 public const string APPLE_APP_ID = "1560492384"; // 只 review url(跳转游戏商店详情页) 有用到
// umeng
public const string UMENG_APPKEY = "60604423b8c8d45c13b371c6";
public const string UMENG_CHANNELID = "AppStore";
// ga
public const string GA_gameKey = "eb6b183378034413abeade812178e3e9";
public const string GA_secretKey = "3dec4785f7d53f4ddac931b7df7869e836333830";
// tenjin
public const string TENJIN_KEY = "PYOTVKJ4XZJHSMZW2V6GBQRCNXAFKWU2";
#else
// apple app id
public const string APPLE_APP_ID = "1579996579"; // 只 review url(跳转游戏商店详情页) 有用到
// umeng // umeng
public const string UMENG_APPKEY = "615004cd66b59330aa712a88"; public const string UMENG_APPKEY = "615004cd66b59330aa712a88";
@ -18,22 +34,6 @@ public static partial class StaticStringsKey {
// tenjin // tenjin
public const string TENJIN_KEY = "PYOTVKJ4XZJHSMZW2V6GBQRCNXAFKWU2"; public const string TENJIN_KEY = "PYOTVKJ4XZJHSMZW2V6GBQRCNXAFKWU2";
#else
// apple app id
public const string APPLE_APP_ID = "1579996579"; // 只 review url(跳转游戏商店详情页) 有用到
// umeng
public const string UMENG_APPKEY = "615004cd66b59330aa712a88";
public const string UMENG_CHANNELID = "AppStore";
// ga
public const string GA_gameKey = "9d36c99fe573dd705fe0036cc7920541";
public const string GA_secretKey = "b89ae3d2790eaefe47342eed512e822657c3585b";
// tenjin
public const string TENJIN_KEY = "PYOTVKJ4XZJHSMZW2V6GBQRCNXAFKWU2";
#endif #endif