Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best practice for merging in root of Android manifest? #202

Open
boozedog opened this issue Oct 23, 2023 · 1 comment
Open

Best practice for merging in root of Android manifest? #202

boozedog opened this issue Oct 23, 2023 · 1 comment

Comments

@boozedog
Copy link

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
Copy link
Author

Hello? 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant