Allow HTTP (non secure) requests in Android app
This commit is contained in:
@@ -6,7 +6,8 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme"
|
||||||
|
android:usesCleartextTraffic="true">
|
||||||
<activity
|
<activity
|
||||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ const config: CapacitorConfig = {
|
|||||||
appId: 'com.donetick.app',
|
appId: 'com.donetick.app',
|
||||||
appName: 'Donetick',
|
appName: 'Donetick',
|
||||||
webDir: 'dist',
|
webDir: 'dist',
|
||||||
|
android: {
|
||||||
|
allowMixedContent: true,
|
||||||
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
PushNotifications: {
|
PushNotifications: {
|
||||||
presentationOptions: ['badge', 'sound', 'alert'],
|
presentationOptions: ['badge', 'sound', 'alert'],
|
||||||
|
|||||||
Reference in New Issue
Block a user