-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
Description
Capacitor Version
capacitor 7.0.2
Other API Details
Platforms Affected
- iOS
- Android
- Web
Current Behavior
I'm crafting a plugin to use android auto with my app.
To be able to use my app on AA it needed to have this in androidmanifest.xml:
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
then the linked file in /android/src/main/res/xml/automotive_app_desc.xml
<?xml version="1.0" encoding="utf-8"?>
<automotiveApp>
<uses name="media"/>
</automotiveApp>
After the merge in androidmanifest i have:
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="automotive_app_desc" />
and no automotive_app_desc.xml in any location of the project.
To be able to build for android auto I have to manually add after npx cap sync the file in:
/android/src/main/automotive_app_desc.xml
It would be nice to have it auto merged.
Expected Behavior
Merged automatically. in AndroidManifest.xml and related files
Project Reproduction
https://github.com/soundwave12345/capacitor-android-auto/
Additional Information
No response