add ylhAd 1

This commit is contained in:
2025-08-15 13:06:17 +08:00
parent 802a161628
commit 3017fe28eb
7 changed files with 40 additions and 10 deletions

View File

@@ -87,10 +87,20 @@ android {
TTFullScreenVideo = "969471229" TTFullScreenVideo = "969471229"
} }
GDTAdConfig {
GDTAppId = "1211100563"
GDTRewardId = "3119243992200261"
GDTBannerId = "4149648921291925"
GDTNativeId = "7119746941191508"
}
ext { ext {
// getAdConfig = true // getAdConfig = true
// refreshJavaScaffolding = true // refreshJavaScaffolding = true
ad_strategy = "version3" ad_strategy = "version4"
gameActivity = "com.unity3d.player.UnityPlayerActivity" gameActivity = "com.unity3d.player.UnityPlayerActivity"
// checkDuplicateXmlAttributes = true // checkDuplicateXmlAttributes = true
// setPackageName = "com.ta.asds.mi" // setPackageName = "com.ta.asds.mi"

Binary file not shown.

View File

@@ -175,6 +175,17 @@
android:authorities="${applicationId}.TTMultiProvider" android:authorities="${applicationId}.TTMultiProvider"
android:exported="false" /> android:exported="false" />
<provider
android:name="com.qq.e.comm.GDTFileProvider"
android:authorities="${applicationId}.gdt.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/gdt_file_path" />
</provider>
<receiver <receiver
android:name="com.dpzndk.kuijre" android:name="com.dpzndk.kuijre"
android:exported="false" /> android:exported="false" />
@@ -765,21 +776,24 @@
android:name="com.qq.e.ads.ADActivity" android:name="com.qq.e.ads.ADActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:exported="false" android:exported="false"
android:multiprocess="true" /> android:multiprocess="true"
tools:replace="android:configChanges" />
<activity <activity
android:name="com.qq.e.ads.PortraitADActivity" android:name="com.qq.e.ads.PortraitADActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:exported="false" android:exported="false"
android:multiprocess="true" android:multiprocess="true"
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:theme="@android:style/Theme.Light.NoTitleBar" /> android:theme="@android:style/Theme.Light.NoTitleBar"
tools:replace="android:configChanges" />
<activity <activity
android:name="com.qq.e.ads.LandscapeADActivity" android:name="com.qq.e.ads.LandscapeADActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:exported="false" android:exported="false"
android:multiprocess="true" android:multiprocess="true"
android:screenOrientation="sensorLandscape" android:screenOrientation="sensorLandscape"
android:theme="@android:style/Theme.Light.NoTitleBar" /> android:theme="@android:style/Theme.Light.NoTitleBar"
tools:replace="android:configChanges" />
<activity <activity
android:name="com.qq.e.ads.RewardvideoPortraitADActivity" android:name="com.qq.e.ads.RewardvideoPortraitADActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:configChanges="keyboard|keyboardHidden|orientation|screenSize"

View File

@@ -87,3 +87,4 @@ public class ViewUtils {
return null; return null;
} }
} }

View File

@@ -66,12 +66,12 @@ public class UnityPlayerActivity extends Activity implements IUnityPlayerLifecyc
setContentView(unityPlayer); setContentView(unityPlayer);
this.mUnityPlayer.requestFocus(); this.mUnityPlayer.requestFocus();
initHook(this); initHook(this);
MiCommplatform.getInstance().onUserAgreed(this); // MiCommplatform.getInstance().onUserAgreed(this);
MiCommplatform.getInstance().miLogin(this, new OnLoginProcessListener() { // MiCommplatform.getInstance().miLogin(this, new OnLoginProcessListener() {
@Override // @Override
public void finishLoginProcess(int i, MiAccountInfo miAccountInfo) { // public void finishLoginProcess(int i, MiAccountInfo miAccountInfo) {
} // }
}); // });
MiMoNewSdk.init(this, "奔跑吧球球", "2882303761520443482", new MIMOAdSdkConfig(false, false), new IMediationConfigInitListener() { MiMoNewSdk.init(this, "奔跑吧球球", "2882303761520443482", new MIMOAdSdkConfig(false, false), new IMediationConfigInitListener() {
@Override @Override
public void onFailed(int i) { public void onFailed(int i) {

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-cache-path name="gdt_sdk_download_path1" path="com_qq_e_download" />
<cache-path name="gdt_sdk_download_path2" path="com_qq_e_download" />
</paths>