Skip to content

Commit 5483f4a

Browse files
authored
feat(auto): enable Android Auto messaging notifications (#5265)
1 parent 9b8a660 commit 5483f4a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@
129129
android:name="org.apache.http.legacy"
130130
android:required="false" />
131131

132+
<!-- Android Auto: surface MessagingStyle notifications on the car's head unit -->
133+
<meta-data
134+
android:name="com.google.android.gms.car.application"
135+
android:resource="@xml/automotive_app_desc" />
136+
132137
<!-- Default crash collection and analytics off until we (possibly) turn it on in application.onCreate -->
133138
<meta-data
134139
android:name="firebase_crashlytics_collection_enabled"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<automotiveApp>
3+
<uses name="notification" />
4+
</automotiveApp>

0 commit comments

Comments
 (0)