diff --git a/apps/frontend/android/app/src/main/AndroidManifest.xml b/apps/frontend/android/app/src/main/AndroidManifest.xml index 8202fc0..87ba4a5 100644 --- a/apps/frontend/android/app/src/main/AndroidManifest.xml +++ b/apps/frontend/android/app/src/main/AndroidManifest.xml @@ -7,7 +7,9 @@ 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" + android:networkSecurityConfig="@xml/network_security_config"> + + + localhost + 127.0.0.1 + 10.0.2.2 + + diff --git a/apps/frontend/android/gradle.properties b/apps/frontend/android/gradle.properties index 2e87c52..a675bd6 100644 --- a/apps/frontend/android/gradle.properties +++ b/apps/frontend/android/gradle.properties @@ -20,3 +20,5 @@ org.gradle.jvmargs=-Xmx1536m # Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true +API_BASE_URL=http://10.0.2.2:4000/api +NOTIFICATION_WEBHOOK_SECRET=38f71dbf99ab510d970165e43979f945f992848406117c8597a892837331a853 \ No newline at end of file