diff --git a/OneSignalSDK/gradle.properties b/OneSignalSDK/gradle.properties
index 7e5ea1d5e7..1ad83a5087 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.11.0
+SDK_VERSION=5.10.2
# 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 b15664cb79..d7e7907851 100644
--- a/examples/demo/app/build.gradle.kts
+++ b/examples/demo/app/build.gradle.kts
@@ -160,16 +160,7 @@ 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 c91d1c923a..cd06b9aa51 100644
--- a/examples/demo/app/src/main/AndroidManifest.xml
+++ b/examples/demo/app/src/main/AndroidManifest.xml
@@ -21,6 +21,7 @@
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
new file mode 100644
index 0000000000..3e57ccf4c9
--- /dev/null
+++ b/examples/demo/app/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+