Best practice for merging in root of Android manifest?
boozedog opened this issue · 1 comments
boozedog commented
I'd like to merge the following:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
... into the root <manifest/>
root node so that the result looks like this:
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
...
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
What's best practice for doing this in trapeze? I don't think I can use manifest: merge as it "requires a matching sub-tree root node to be provided" https://trapeze.dev/docs/Operations/android#manifest
boozedog commented
Hello? 😅