{ "id": "160630", "key": "AC-3677", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-06-14T20:02:58.000+0000", "created": "2016-05-31T21:50:47.000+0000", "labels": [ "android", "android-6", "android-manifest", "cli", "url-scheme" ], "versions": [ { "id": "17036", "name": "Appcelerator Studio 4.4.1", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-14T20:02:59.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "After inserting code below into my tiapp.xml \r\n\r\n{code:title=tiapp.xml|borderStyle=solid}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nURL schemes fail to launch app. After researching a bit, I found that Titanium is failing to insert the intent-filter into the generated AndroidManifest.xml located on build folder.\r\nAfter overriding the tiapp.xml (putting generated AndroidManifest on app/platform/android) and manually inserting the code above, it worked like a charm.\r\n\r\nCan anyone help me with this issue?\r\nThanks in advance.", "attachment": [], "flagged": false, "summary": "Android: URL Scheme intent is not being placed on AndroidManifest.xml after build", "creator": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 5.2.2.GA\r\nAndroid 6 on Moto G 2\r\nMac OS X 10.11.4 (15E65)", "comment": { "comments": [ { "id": "387400", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nPlease check if the format of your customized manifest in tiapp.xml is correct. Things are working just fine in my environment in this regard.\r\nThanks\r\n*Customized manifest in tiapp.xml :*\r\n{code}\r\n \r\n \t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t \r\n \t \t\r\n \t\t\r\n \t\t\r\n\r\n \t\t\t\r\n \t \t\r\n \t\t\t\r\n \t\t\r\n \t \t\r\n \t\t\r\n\r\n\t\t\t\t\r\n\t\t\r\n\t\t\t\r\n\r\n\t\t\r\n{code}\r\n*Generated AndroidManifest.xml:*\r\n{code}\r\n\r\n\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n{code}\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexus7 (android 6.0.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.2.GA\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5\r\n*Appcelerator CLI Version:* 5.2.2\r\n*Appcelerator Studio:* 4.5.0\r\n\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-06-02T08:30:26.000+0000", "updated": "2016-06-02T08:30:26.000+0000" }, { "id": "387423", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nIf you are having a specific issue using URL scheme in Android here is a fairly easy guide for you to follow. http://fokkezb.nl/2013/08/26/url-schemes-for-ios-and-android-1/. Follow the guide for using URL Scheme in Appcelerator. We are able to build and get the activity node in AndroidManifest.xml, which we then put in tiapp.xml\r\n\r\nRegards,\r\nSharif", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-02T16:06:00.000+0000", "updated": "2016-06-02T16:06:11.000+0000" }, { "id": "387554", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Guys, still no luck.\r\nIntent is not being placed on manifest, followed the link above in the first time already.\r\n\r\nCan't find anything wrong with my tiapp.xml.\r\nThis is so strange...", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-03T21:41:51.000+0000", "updated": "2016-06-03T21:41:51.000+0000" }, { "id": "387944", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nWe are not able to regenerate your issue. Perhaps you are not correctly following the instruction in http://fokkezb.nl/2013/08/26/url-schemes-for-ios-and-android-1/. Please share with us how you are performing the action in details, possibly with screenshots or video demonstration. We will be able to escalate the ticket once we establish it's a real bug. \r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-09T14:47:32.000+0000", "updated": "2016-06-09T14:47:32.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }