Merge pull request #37 from lauraneto/bugfix/android-allow-http-requests

Allow HTTP (non secure) requests in Android app
This commit is contained in:
Mohamad Tarbin
2026-01-17 19:37:01 -05:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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"

View File

@@ -4,7 +4,9 @@ const config: CapacitorConfig = {
appId: 'com.donetick.app',
appName: 'Donetick',
webDir: 'dist',
android: {
allowMixedContent: true,
},
plugins: {
PushNotifications: {
presentationOptions: ['badge', 'sound', 'alert'],