Skip to content

Commit

Permalink
Disable rustore provider for api below 22
Browse files Browse the repository at this point in the history
  • Loading branch information
enotniy committed Feb 12, 2025
1 parent 2938507 commit a9d18fa
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 a9d18fa

Please sign in to comment.