From dd9a927442f8ca205d5a8c70b995cfd548b74332 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 05 六月 2025 11:50:22 +0800
Subject: [PATCH] 0312 第三次google提审包,新sdk
---
SdkProject/library/libs/aldsdk_libs150/center.jar | 0
Channel/Android/hyyngame/release/libs/library-release-hyyngame.aar | 0
Channel/Android/hyyngame/debug/libs/library-debug-hyyngame.aar | 0
SdkProject/library/build.gradle | 46 ++++++++++------------
SdkProject/library/libs/sdk_common_res-release.aar | 0
SdkProject/library/libs/common_feature-release.aar | 0
SdkProject/channel/hyyngame/java/com/secondworld/sdk/GTGameApp.java | 6 +--
/dev/null | 0
SdkProject/library/src/main/assets/aldsdkconf.ini | 24 ++++++-----
SdkProject/build.gradle | 2 -
SdkProject/library/libs/sdk_common_code-release.aar | 0
SdkProject/channel/hyyngame/res/values/strings.xml | 7 +--
SdkProject/library/libs/sdk_common_res_base-release.aar | 0
13 files changed, 39 insertions(+), 46 deletions(-)
diff --git a/Channel/Android/hyyngame/debug/libs/library-debug-hyyngame.aar b/Channel/Android/hyyngame/debug/libs/library-debug-hyyngame.aar
index a46d088..7019c54 100644
--- a/Channel/Android/hyyngame/debug/libs/library-debug-hyyngame.aar
+++ b/Channel/Android/hyyngame/debug/libs/library-debug-hyyngame.aar
Binary files differ
diff --git a/Channel/Android/hyyngame/release/libs/library-release-hyyngame.aar b/Channel/Android/hyyngame/release/libs/library-release-hyyngame.aar
index e7d3cae..875c08c 100644
--- a/Channel/Android/hyyngame/release/libs/library-release-hyyngame.aar
+++ b/Channel/Android/hyyngame/release/libs/library-release-hyyngame.aar
Binary files differ
diff --git a/SdkProject/build.gradle b/SdkProject/build.gradle
index fd17c9b..dc88128 100644
--- a/SdkProject/build.gradle
+++ b/SdkProject/build.gradle
@@ -13,9 +13,7 @@
}
dependencies {
- classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
classpath "com.android.tools.build:gradle:7.3.0"
- classpath 'com.google.gms:google-services:4.3.10'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module deps.gradle files
}
diff --git a/SdkProject/channel/hyyngame/java/com/secondworld/sdk/GTGameApp.java b/SdkProject/channel/hyyngame/java/com/secondworld/sdk/GTGameApp.java
index 45f4fec..a86f3d7 100644
--- a/SdkProject/channel/hyyngame/java/com/secondworld/sdk/GTGameApp.java
+++ b/SdkProject/channel/hyyngame/java/com/secondworld/sdk/GTGameApp.java
@@ -1,17 +1,15 @@
package com.secondworld.sdk;
-import android.app.Application;
-import com.ald.sdk.AldGameManger;
+import com.ald.sdk.AldApplication;
-public class GTGameApp extends Application {
+public class GTGameApp extends AldApplication {
@Override
public void onCreate() {
super.onCreate();
GameAppProxy.create(this,new GTGamePlatform());
registerProxy();
- AldGameManger.getInstance().applicationOnCreate(this);
}
protected void registerProxy() {
diff --git a/SdkProject/channel/hyyngame/res/values/strings.xml b/SdkProject/channel/hyyngame/res/values/strings.xml
index c43e973..cb0705a 100644
--- a/SdkProject/channel/hyyngame/res/values/strings.xml
+++ b/SdkProject/channel/hyyngame/res/values/strings.xml
@@ -1,6 +1,5 @@
<resources>
- <string name="facebook_app_id">377129091673449</string>
- <string name="fb_login_protocol_scheme">fb377129091673449</string>
- <string name="facebook_client_token">dc263970f9b4718c30685995d64a73f1</string>
-
+ <string name="facebook_app_id">1234</string>
+ <string name="fb_login_protocol_scheme">fb1234</string>
+ <string name="facebook_client_token">56789</string>
</resources>
\ No newline at end of file
diff --git a/SdkProject/library/build.gradle b/SdkProject/library/build.gradle
index cf7948a..85ed640 100644
--- a/SdkProject/library/build.gradle
+++ b/SdkProject/library/build.gradle
@@ -37,7 +37,7 @@
buildToolsVersion "34.0.0"
defaultConfig {
- minSdkVersion 21
+ minSdkVersion 24
targetSdkVersion 34
versionCode 1
versionName "1.0"
@@ -193,31 +193,27 @@
compileOnly files('libs/unity-classes.jar')
//浠ヤ笅涓哄繀闇�渚濊禆鐨勫簱
- implementation(name: 'ald_v', ext: 'aar')
- //SDK鍩虹鑳藉姏
- implementation 'com.appsflyer:af-android-sdk:6.14.0'
- implementation 'com.android.installreferrer:installreferrer:2.2'
- api 'androidx.annotation:annotation:1.5.0'
- api 'androidx.core:core:1.6.0'
- api 'androidx.percentlayout:percentlayout:1.0.0'
- //google ID
- implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
- //firebase
- implementation 'com.google.firebase:firebase-analytics'
- implementation 'com.google.firebase:firebase-crashlytics'
- implementation platform('com.google.firebase:firebase-bom:31.2.2') {
- exclude group: 'com.android.support', module: 'support-compat'
- }
+ implementation fileTree(include: ['*.jar'], dir: 'libs/aldsdk_libs150')
+ implementation(name: 'common_feature-release', ext: 'aar')
+ implementation(name: 'sdk_common_code-release', ext: 'aar')
+ implementation(name: 'sdk_common_res_base-release', ext: 'aar')
+ implementation(name: 'sdk_common_res-release', ext: 'aar')
+
//base theme
- api 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.appcompat:appcompat:1.2.0'
//ald ui鐢�
- api 'androidx.cardview:cardview:1.0.0'
-
- //rustore
-// implementation 'org.jetbrains:annotations:15.0'
-// implementation("ru.rustore.sdk:billingclient:6.0.0")
-
- //paypal
- //implementation('com.paypal.checkout:android-sdk:1.3.0')
+ implementation 'androidx.cardview:cardview:1.0.0'
+ //webview鎺т欢
implementation('androidx.browser:browser:1.5.0')
+
+ //璋锋瓕鑳藉姏
+ implementation 'com.google.android.gms:play-services-auth:20.1.0' //google鏈嶅姟
+ implementation("com.android.billingclient:billing:7.0.0") // google鍐呰喘
+ implementation 'androidx.percentlayout:percentlayout:1.0.0' //google鎻愪緵鐨勬敮鎸佸簱
+ implementation 'com.google.android.play:review:2.0.1' //google璇勪环
+
+ //facebook鑳藉姏
+ implementation 'com.facebook.android:facebook-login:latest.release'
+ implementation 'com.facebook.android:facebook-share:latest.release'
+
}
diff --git a/SdkProject/library/libs/ald_v.aar b/SdkProject/library/libs/ald_v.aar
deleted file mode 100644
index 50e9585..0000000
--- a/SdkProject/library/libs/ald_v.aar
+++ /dev/null
Binary files differ
diff --git a/SdkProject/library/libs/aldsdk_libs150/center.jar b/SdkProject/library/libs/aldsdk_libs150/center.jar
new file mode 100644
index 0000000..5585500
--- /dev/null
+++ b/SdkProject/library/libs/aldsdk_libs150/center.jar
Binary files differ
diff --git a/SdkProject/library/libs/common_feature-release.aar b/SdkProject/library/libs/common_feature-release.aar
new file mode 100644
index 0000000..109abe0
--- /dev/null
+++ b/SdkProject/library/libs/common_feature-release.aar
Binary files differ
diff --git a/SdkProject/library/libs/sdk_common_code-release.aar b/SdkProject/library/libs/sdk_common_code-release.aar
new file mode 100644
index 0000000..224870b
--- /dev/null
+++ b/SdkProject/library/libs/sdk_common_code-release.aar
Binary files differ
diff --git a/SdkProject/library/libs/sdk_common_res-release.aar b/SdkProject/library/libs/sdk_common_res-release.aar
new file mode 100644
index 0000000..29d4c68
--- /dev/null
+++ b/SdkProject/library/libs/sdk_common_res-release.aar
Binary files differ
diff --git a/SdkProject/library/libs/sdk_common_res_base-release.aar b/SdkProject/library/libs/sdk_common_res_base-release.aar
new file mode 100644
index 0000000..27bdaf5
--- /dev/null
+++ b/SdkProject/library/libs/sdk_common_res_base-release.aar
Binary files differ
diff --git a/SdkProject/library/src/main/assets/aldsdkconf.ini b/SdkProject/library/src/main/assets/aldsdkconf.ini
index f8eaf3c..cb4b3a3 100644
--- a/SdkProject/library/src/main/assets/aldsdkconf.ini
+++ b/SdkProject/library/src/main/assets/aldsdkconf.ini
@@ -1,21 +1,23 @@
锘�;**************娓告垙鐩稿叧閰嶇疆, 娓告垙闇�瑕佹牴鎹悇鑷儏鍐典慨鏀� START **********
;娓告垙鐨凜HANNELID
-GAME_CHANNELID=334
+GAME_CHANNELID=331
;娓告垙鐨凙PPID
-GAME_APPID=79
+GAME_APPID=219
;娓告垙鐨凣AMEID
GAME_GAMEID=1135
+LANGUAGE=vi
+;***************娓告垙閰嶇疆椤�, 娓告垙闇�瑕佹牴鎹悇鑷儏鍐典慨鏀� END **************
-SDK_LOG_SWITCH=true
+;************* SDK鐩稿叧閰嶇疆椤�,娓告垙闇�瑕佹牴鎹悇鑷儏鍐典慨鏀� START **********
+;sdk鐨剈rl
+SDK_URL=https://api.plqgames.com/
+;************** SDK鐩稿叧閰嶇疆椤�,娓告垙闇�瑕佹牴鎹悇鑷儏鍐典慨鏀� END **************
-SDK_URL=https://api.aldgames.com/
+;************** 绗笁鏂圭浉鍏抽厤缃」,娓告垙闇�瑕佹牴鎹垜鏂硅繍钀ユ彁渚涘弬鏁版儏鍐典慨鏀� START **************
+;AF濯掍綋涓婃姤寮�鍏�
+ADVERT_REPORT_SWITCH=false
-;************** 绗笁鏂圭浉鍏抽厤缃」,娓告垙闇�瑕佹牴鎹垜鏂硅繍钀ユ彁渚涘弬鏁版儏鍐典慨鏀� END **************
-;璋锋瓕ID锛屼笂璋锋瓕蹇呭~
-google-signin-client_id=172660406541-f7uugubkoh88vcl8bbl9bq99u5vrhq23.apps.googleusercontent.com
-;鏁版嵁涓婃姤寮�鍏筹紙appsflyer,firebase锛夛紝闄よ胺姝岄渶姹傚寘浠ュ閮藉叧
-ADVERT_REPORT_SWITCH=true
-;af鐨刱ey
-APPSFLYER_KEY=9Ye3CBvoXGDFRep43oUoyT
\ No newline at end of file
+;AF鍙傛暟key
+APPSFLYER_KEY=ZDzgXxsd8M9ZjLHQZSQVU7
--
Gitblit v1.8.0