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

fix(cli): prevent error on manifest element without children #6278

Merged
merged 2 commits into from Feb 9, 2023

Conversation

jcesarmobile
Copy link
Member

when the element to search in the AndroidManifest.xml doesn't have children it causes several problems
this PR solves them
check if the element has children and if not, add itself to the elements to search
compare not only if the children are undefined, but also if they are defined but empty as sometimes the required element is defined but empty

@jcesarmobile jcesarmobile merged commit a7e374f into main Feb 9, 2023
@jcesarmobile jcesarmobile deleted the fix-manifest-search branch February 9, 2023 15:38
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.

None yet

3 participants