Skip to content

Conversation

@joshedney
Copy link
Contributor

@joshedney joshedney commented Dec 4, 2025

Goal

Update how we check for the AndroidManifest.xml file for the upload android-proguard command by checking a fallback path if it is not present in the default location.

Testing

Covered by CI

@joshedney joshedney self-assigned this Dec 4, 2025
//
// Returns:
// - string: The first existing manifest path, or an empty string if none are found.
func FindAndroidManifest(paths []string) string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this function rather take the common merged manifest directory and variant name and look in the two known locations?

<merged_manifest_path>/<variant>/AndroidManifest.xml
<merged_manifest_path>/<variant>/process<variant>Manfiest/AndroidManifest.xml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the function to accept the merged_manifest_path and variant. It then builds and checks the paths within the function.

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

Successfully merging this pull request may close these issues.

3 participants