Skip to content

Commit 1ddc6f5

Browse files
Revert "chore: Release 5.11.0" (#2823)
1 parent ec92684 commit 1ddc6f5

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

‎OneSignalSDK/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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+
5757
org.gradle.tooling.parallel=true

‎examples/demo/app/build.gradle.kts‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff 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

175166
dependencies {

‎examples/demo/app/src/main/AndroidManifest.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
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"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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>

0 commit comments

Comments
 (0)