Skip to content

Commit

Permalink
Merge pull request #548 from mindbox-cloud/hotfix/rustore_crash_api_22
Browse files Browse the repository at this point in the history
Disable rustore provider for api below 22
  • Loading branch information
enotniy authored Feb 12, 2025
2 parents 662a0da + fbd65cc commit e35d5a3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mindbox-rustore/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-sdk tools:overrideLibrary="ru.rustore.sdk.*,com.vk.push.*,ru.ok.tracer.*" />
<application>
<provider
android:name="ru.rustore.sdk.pushclient.provider.RuStorePushClientInitProvider"
android:authorities="${applicationId}.rustorepushclientinitprovider"
android:enabled="@bool/mindbox_enable_rustore_push_client_init_provider"
android:exported="false"
tools:node="mergeOnlyAttributes" />
</application>
</manifest>
4 changes: 4 additions & 0 deletions mindbox-rustore/src/main/res/values-v23/bools.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="mindbox_enable_rustore_push_client_init_provider">true</bool>
</resources>
4 changes: 4 additions & 0 deletions mindbox-rustore/src/main/res/values/bools.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="mindbox_enable_rustore_push_client_init_provider">false</bool>
</resources>

0 comments on commit e35d5a3

Please sign in to comment.