diff --git a/OneSignalSDK/gradle.properties b/OneSignalSDK/gradle.properties index 1ad83a5087..7e5ea1d5e7 100644 --- a/OneSignalSDK/gradle.properties +++ b/OneSignalSDK/gradle.properties @@ -51,7 +51,7 @@ onesignalPublishSharedKmp = true # This is the name of the SDK to use when building your project. # This will be fed from the GitHub Actions workflow. -SDK_VERSION=5.10.2 +SDK_VERSION=5.11.0 # Enabled parallel sync for Gradle 9.4+ org.gradle.tooling.parallel=true diff --git a/examples/demo/app/build.gradle.kts b/examples/demo/app/build.gradle.kts index d7e7907851..b15664cb79 100644 --- a/examples/demo/app/build.gradle.kts +++ b/examples/demo/app/build.gradle.kts @@ -160,7 +160,16 @@ demoOverride("RETRY_TEST_CA")?.let { caPath -> """.trimIndent(), ) } + val manifest = layout.buildDirectory.file("generated/retryTestCa/AndroidManifest.xml").get().asFile + manifest.writeText( + """ + + + + """.trimIndent(), + ) android.sourceSets.getByName("debug").res.srcDir(resDir) + android.sourceSets.getByName("debug").manifest.srcFile(manifest) } dependencies { diff --git a/examples/demo/app/src/main/AndroidManifest.xml b/examples/demo/app/src/main/AndroidManifest.xml index cd06b9aa51..c91d1c923a 100644 --- a/examples/demo/app/src/main/AndroidManifest.xml +++ b/examples/demo/app/src/main/AndroidManifest.xml @@ -21,7 +21,6 @@ android:allowBackup="true" android:icon="@mipmap/ic_onesignal_launcher" android:label="@string/app_name" - android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_onesignal_launcher" android:supportsRtl="true" android:theme="@style/AppTheme" diff --git a/examples/demo/app/src/main/res/xml/network_security_config.xml b/examples/demo/app/src/main/res/xml/network_security_config.xml deleted file mode 100644 index 3e57ccf4c9..0000000000 --- a/examples/demo/app/src/main/res/xml/network_security_config.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - -