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(android): strip xmlns definitions from child elements in AndroidManifest.xml #11462

Merged
merged 3 commits into from Feb 5, 2020

Conversation

jquick-axway
Copy link
Contributor

@jquick-axway jquick-axway commented Feb 4, 2020

JIRA:
https://jira.appcelerator.org/browse/TIMOB-27746

Note:
The damage has already been done to the 9.0.0 built modules "ti.map" and "ti.playservices" since this issue is already in their "AndroidManfiest.xml" files packaged within their AARs. We will need to rebuild the ticket's listed modules after merging this PR.

- TIMOB-27746: Apps built with 9.0.0 can't be uploaded to Firebase App Distribution when including certain modules.
  * Caused by "android-manifest.js" code's copyFromAndroidManfiest() function.
  * Node "xmldom" parser was wrongly injecting namespaces into chlid elements when doing a cloneNode() or importNode().
  * This is a bug in "xmldom" module. Worked-around it by stripping out namespace declarations via toString() function.
@build
Copy link
Contributor

build commented Feb 4, 2020

Fails
🚫 Tests have failed, see below for more information.
Messages
📖

💾 Here's the generated SDK zipfile.

📖 ✊ The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.
📖 ❌ 1 tests have failed There are 1 tests failing and 701 skipped out of 7251 total tests.

Tests:

ClassnameNameTimeError
android.emulator.Titanium.Androidactivity callbacks (9)5.02
Error: timeout of 5000ms exceeded
at Titanium.<anonymous> (/ti-mocha.js:6535:53120)

Generated by 🚫 dangerJS against bcdd240

@jquick-axway jquick-axway changed the title fix(android): strip xmlns:android definitions from child elements in AndroidManifest.xml fix(android): strip xmlns definitions from child elements in AndroidManifest.xml Feb 5, 2020
Copy link
Contributor

@garymathews garymathews left a comment

Choose a reason for hiding this comment

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

CR: PASS 👍

@sgtcoolguy sgtcoolguy merged commit 476ac79 into tidev:master Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants