{ "id": "174689", "key": "TIMOB-27746", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-02-14T20:59:07.000+0000", "created": "2020-02-04T22:53:36.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "firebase", "manifest", "module", "xml" ], "versions": [ { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-14T20:59:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "_(This issue was caught before release.)_\r\n\r\n*Summary:*\r\nYou cannot upload an Android app built with a pre-release version of Titanium 9.0.0 to [Firebase App Distribution|https://firebase.google.com/docs/app-distribution] (used for beta testing) if it includes one of the following modules.\r\n* aca\r\n* cloudpush\r\n* ti.admob\r\n* ti.barcode\r\n* ti.geofence\r\n* ti.identity\r\n* ti.map\r\n* ti.playservices\r\n\r\n*Result:*\r\nGoogle's website shows the following error when attempting to upload the APK.\r\nbq. There was an error processing your distribution. Ensure you are uploading a valid IPA or APK and try again.\r\n\r\n !FirebaseError.png|thumbnail! \r\n\r\n*Note:*\r\nYou can upload the APK to Google Play without issues. You can install/run the APK on devices as well. So far, this only appears to be an issue with Firebase.\r\n\r\n*Steps to reproduce:*\r\n# Build [kitchensink-v2|https://github.com/appcelerator/kitchensink-v2] for Android.\r\n# Go to the Firebase Console webpage: https://console.firebase.google.com\r\n# Select a Firebase project. (Create one if you don't have one.)\r\n# Go to the \"App Distribution\" section.\r\n# Drag-and-drop the built APK to the Releases section.\r\n# Notice the upload errors out with the message shown above.\r\n\r\n*Cause:*\r\nAny module that is set up to inject \"AndroidManifest.xml\" settings via its \"timodule.xml\" will have this problem. It's an issue with the XML merge handling code which is wrongly injecting {{xmlns:android=\"\"}} namespace declarations within the child elements. Google requires the android namespace to be declared in the root {{}} element and will throw a fit if you add it to the child elements too.\r\n\r\nThis is really a bug in the node.js \"xmldom\" module. It's doing a string reference equality check via {{==}} instead of a string value equality check via {{===}}.\r\n[xmldom - dom.js#L951|https://github.com/xmldom/xmldom/blob/0003c1a01a14e5bbad927b6fc36244aef83bf3ef/dom.js#L951]\r\n", "attachment": [ { "id": "67261", "filename": "FirebaseError.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-04T22:52:07.000+0000", "size": 43343, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Apps built with 9.0.0 can't upload to Firebase App Distribution when including certain modules", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1179, "state": "closed", "name": "2020 Sprint 3", "startDate": "2020-02-03T16:58:00.000Z", "endDate": "2020-02-14T16:58:00.000Z", "completeDate": "2020-02-17T09:45:06.128Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454036", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11462", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-04T23:18:06.000+0000", "updated": "2020-02-04T23:18:06.000+0000" }, { "id": "454064", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.0.0", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-02-05T19:15:52.000+0000", "updated": "2020-02-05T19:15:52.000+0000" }, { "id": "454128", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11467\r\n\r\n^ This updates modules \"ti.playservices\" and \"ti.maps\" included in Titanium SDK so that built APKs can be uploaded to Firebase App Distribution without error.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-07T22:53:36.000+0000", "updated": "2020-02-07T22:53:36.000+0000" }, { "id": "454291", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 9.0.0.v20200214090043.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-14T20:59:02.000+0000", "updated": "2020-02-14T20:59:02.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }