-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] Add Support for AndroidManifest.xml ove…
…rlays (#5325) Fixes #5312 The manifest merger tool supports providing additional AndroidManifest.xml files which will `overlay` on top of the final file. This commit adds a new Build Action `AndroidManifestOverlay` which can be used to provide these files to the manifest merger. Users can now use these overlay files to alter the manifest during build time. This can be for adding new permissions or even removing ones that are not needed. It will also allow for different manifest files to be generated for debug/release configurations. This can be done by conditionally including `overlay` files depending on the `$(Configuration)`. ``` <ItemGroup> <AndroidManifestOverlay Include="DebugPermissions.xml" Condition=" '$(Configuration)' == 'Debug' " /> </ItemGroup> ```
- Loading branch information
1 parent
a3d4d19
commit d794534
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters