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