i am working on game in unity 3d and i want to Force to close app when no internet connection available ( i want to create an android game )
my AndroidManifest.xml file :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.unity.ads" android:versionName="1.0" android:versionCode="1">
<application>
<uses-library android:required="false" android:name="org.apache.http.legacy" />
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-4751151703920989~3085863228" />
</application>
</manifest>
- i tried to change require internet = require in player settings but it’s don’t work