fdroid flavor: add suffix to search provider; add more configs to crashlytics

This commit is contained in:
Yuriy Liskov
2026-02-20 13:17:33 +02:00
parent ed89ac89db
commit 76abca6af0
4 changed files with 37 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
<!-- NOTE: Don't change authorities to allow further updates of the apk -->
<provider android:name=".search.VideoContentProvider"
android:authorities="app.smarttube.fdroid"
android:authorities="app.smarttube.fdroid.search_provider"
android:exported="true"
android:initOrder="1999999999"
tools:ignore="ExportedContentProvider"

View File

@@ -1,5 +1,5 @@
<resources>
<resources translatable="false">
<string name="search_label">SmartTube</string>
<string name="settings_description">SmartTube Videos</string>
<string translatable="false" name="search_authority">app.smarttube.fdroid</string>
<string name="search_authority">app.smarttube.fdroid.search_provider</string>
</resources>

View File

@@ -18,9 +18,9 @@
android:label="@string/search_label"
android:icon="@drawable/lb_ic_in_app_search"
android:searchSettingsDescription="@string/settings_description"
android:searchSuggestAuthority="app.smarttube.fdroid"
android:searchSuggestAuthority="app.smarttube.fdroid.search_provider"
android:searchSuggestIntentAction="android.intent.action.VIEW"
android:searchSuggestIntentData="content://app.smarttube.fdroid/video"
android:searchSuggestIntentData="content://app.smarttube.fdroid.search_provider/video"
android:queryAfterZeroResults="true"
android:searchSuggestPath="search"
android:searchSuggestThreshold="0" />

View File

@@ -6,6 +6,38 @@
"storage_bucket": "smarttube-tv.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:431299132531:android:142c1f934017b678cd7e06",
"android_client_info": {
"package_name": "app.smarttube.stable"
}
},
"oauth_client": [
{
"client_id": "431299132531-hfd0kvpr6nkeuvkbr37kf1sbau626mr1.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCNXymxUj6ZzmY7WtuhPsWreRHmvMGCVSM"
},
{
"current_key": "AIzaSyDGtSwgX8rNR8wpQXRRCTDUs4kehsRvfEg"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "431299132531-hfd0kvpr6nkeuvkbr37kf1sbau626mr1.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:431299132531:android:0c0bc4ac02047b30cd7e06",