Skip to content

Commit 67fd9fd

Browse files
authored
Add common_google_play_services_unknown_issue to keep.xml
Otherwise this can get stripped out by the resource shrinker. The issue here arises when running Firebase on a device without Google Play services. Without this, an app having undergone resource shrinking will crash being unable to find this resource. Because some Firebase services are documented to work without Play services, this shouldn't cause a crash.
1 parent 89a59bf commit 67fd9fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources xmlns:tools="http://schemas.android.com/tools"
3-
tools:keep="@string/google_app_id,@string/gcm_defaultSenderId,@string/google_api_key,@string/firebase_database_url,@string/ga_trackingId,@string/google_storage_bucket,@string/project_id" />
3+
tools:keep="@string/google_app_id,@string/gcm_defaultSenderId,@string/google_api_key,@string/firebase_database_url,@string/ga_trackingId,@string/google_storage_bucket,@string/project_id,@string/common_google_play_services_unknown_issue" />

0 commit comments

Comments
 (0)