File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ onesignalPublishSharedKmp = true
5151
5252# This is the name of the SDK to use when building your project.
5353# This will be fed from the GitHub Actions workflow.
54- SDK_VERSION =5.11.0
54+ SDK_VERSION =5.10.2
5555
5656# Enabled parallel sync for Gradle 9.4+
5757org.gradle.tooling.parallel =true
Original file line number Diff line number Diff line change @@ -160,16 +160,7 @@ demoOverride("RETRY_TEST_CA")?.let { caPath ->
160160 """ .trimIndent(),
161161 )
162162 }
163- val manifest = layout.buildDirectory.file(" generated/retryTestCa/AndroidManifest.xml" ).get().asFile
164- manifest.writeText(
165- """
166- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
167- <application android:networkSecurityConfig="@xml/network_security_config" />
168- </manifest>
169- """ .trimIndent(),
170- )
171163 android.sourceSets.getByName(" debug" ).res.srcDir(resDir)
172- android.sourceSets.getByName(" debug" ).manifest.srcFile(manifest)
173164}
174165
175166dependencies {
Original file line number Diff line number Diff line change 2121 android : allowBackup =" true"
2222 android : icon =" @mipmap/ic_onesignal_launcher"
2323 android : label =" @string/app_name"
24+ android : networkSecurityConfig =" @xml/network_security_config"
2425 android : roundIcon =" @mipmap/ic_onesignal_launcher"
2526 android : supportsRtl =" true"
2627 android : theme =" @style/AppTheme"
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!-- Debug builds trust user-installed CAs so scripts/retry can proxy SDK traffic. -->
3+ <network-security-config >
4+ <debug-overrides >
5+ <trust-anchors >
6+ <certificates src =" user" />
7+ </trust-anchors >
8+ </debug-overrides >
9+ </network-security-config >
You can’t perform that action at this time.
0 commit comments