Forced android to allow http traffic

This commit is contained in:
Arnaud Vergnet 2020-04-28 19:06:22 +02:00
parent 35141eaa21
commit 1e0cc867b8

View file

@ -1,26 +1,37 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="fr.amicaleinsat.application"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="fr.amicaleinsat.application">
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.VIBRATE"/> <uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_INTERNAL_STORAGE"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/> <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme"> <application
<meta-data android:name="com.facebook.sdk.AutoInitEnabled" android:value="false"/> android:name=".MainApplication"
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled" android:value="false"/> android:label="@string/app_name"
<meta-data android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled" android:value="false"/> android:icon="@mipmap/ic_launcher"
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:screenOrientation="portrait"> android:roundIcon="@mipmap/ic_launcher_round"
<intent-filter> android:allowBackup="false"
<action android:name="android.intent.action.MAIN"/> android:theme="@style/AppTheme"
<category android:name="android.intent.category.LAUNCHER"/> android:usesCleartextTraffic="true"
</intent-filter> >
<intent-filter> <meta-data android:name="com.facebook.sdk.AutoInitEnabled" android:value="false"/>
<action android:name="android.intent.action.VIEW"/> <meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled" android:value="false"/>
<category android:name="android.intent.category.DEFAULT"/> <meta-data android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled" android:value="false"/>
<category android:name="android.intent.category.BROWSABLE"/> <activity android:name=".MainActivity" android:label="@string/app_name"
<data android:scheme="campus-insat"/> android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
</intent-filter> android:launchMode="singleTask" android:windowSoftInputMode="adjustResize"
</activity> android:screenOrientation="portrait">
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/> <intent-filter>
</application> <action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="campus-insat"/>
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
</application>
</manifest> </manifest>