update
This commit is contained in:
parent
6920e1ac39
commit
158982a06a
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -14,6 +14,8 @@
|
|||||||
android:icon="@mipmap/app_logo"
|
android:icon="@mipmap/app_logo"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@mipmap/app_logo_round"
|
android:roundIcon="@mipmap/app_logo_round"
|
||||||
|
tools:replace="networkSecurityConfig"
|
||||||
|
android:networkSecurityConfig="@xml/net"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.MinesweeperGo"
|
android:theme="@style/Theme.MinesweeperGo"
|
||||||
tools:targetApi="31">
|
tools:targetApi="31">
|
||||||
|
|||||||
@ -42,6 +42,7 @@ class AdInstLoad {
|
|||||||
override fun onInterstitialAdLoadFail(adError: AdError?) {
|
override fun onInterstitialAdLoadFail(adError: AdError?) {
|
||||||
adLoadListener?.loadFailed("code:${adError?.code}")
|
adLoadListener?.loadFailed("code:${adError?.code}")
|
||||||
Log.d("ocean", "load ad onError->${adError.toString()}")
|
Log.d("ocean", "load ad onError->${adError.toString()}")
|
||||||
|
Log.d("ocean", "load ad onError fullErrorInfo->${adError?.fullErrorInfo}")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onInterstitialAdClicked(p0: TUAdInfo?) {
|
override fun onInterstitialAdClicked(p0: TUAdInfo?) {
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/main"
|
android:id="@+id/main"
|
||||||
android:fitsSystemWindows="true"
|
android:fitsSystemWindows="true"
|
||||||
|
android:background="@color/white"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
tools:context=".MainActivity">
|
tools:context=".MainActivity">
|
||||||
|
|
||||||
|
|||||||
6
app/src/main/res/xml/net.xml
Normal file
6
app/src/main/res/xml/net.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<network-security-config xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
<domain-config cleartextTrafficPermitted="true">
|
||||||
|
<domain tools:ignore="NetworkSecurityConfig">mobile-server.lux-ad.com</domain>
|
||||||
|
</domain-config>
|
||||||
|
</network-security-config>
|
||||||
Loading…
Reference in New Issue
Block a user