{ "id": "159640", "key": "TIMOB-23229", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": [], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2016-04-20T23:55:48.000+0000", "created": "2016-04-18T10:09:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "look1" ], "versions": [ { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [ { "id": "52089", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "161041", "key": "TIMOB-23569", "fields": { "summary": "SDK Release containing 2 Bug Fixes", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51407", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150959", "key": "TIMOB-19463", "fields": { "summary": "WebView Android Open Camera or Library from an input type=file in a remote webview", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2018-08-06T17:34:56.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": "In one of the my Appcelerator Project there is one functionality like,\r\n\r\nWe are showing a remote webpage in webview and in that webpage there is Photo Upload Browse button.\r\n\r\nBy clicking on that button Option dialog comes that ask to choose photo from Camera or Photo Gallery and we can select the photo.\r\n\r\nThat functionality is works fine in iOS but in android Titanium SDK has not support to choose and upload a photo from remote web page which is loaded on webview.\r\n\r\nEarlier we are using a modified Titanium SDK. Can you please modified latest Titanium SDK(5.2.X Onwards) that support this feature.\r\n\r\nModified SDK (https://www.dropbox.com/s/j2csab3dhy6w3u2/4.1.0.GA_For_Correction_Camera_Web_upload.zip?dl=0) which allow to select photo from gallery or camera and this working fine in iOS and Android so the same change I need for latest version of Titanium SDK (5.2.X Onwards)\r\n\r\nIf you know, what changes we have to do in Titanium SDK to support this feature so can you suggest me in which file of Titanium SDK we need to do changes and what changes we have to write Titanium SDK files ?.", "attachment": [ { "id": "58983", "filename": "Screenshot_2016-04-18-13-23-41.png", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-18T10:07:26.000+0000", "size": 180670, "mimeType": "image/png" }, { "id": "59027", "filename": "ti.cloudpush-android-3.3.9.zip", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T07:34:38.000+0000", "size": 4502215, "mimeType": "application/zip" } ], "flagged": false, "summary": "ANDROID: Support to Photo upload from remote webpage in webview", "creator": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "subtasks": [], "reporter": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "environment": "Titanium SDK 5.2.X and Onwards\r\nMAC 10.10.5\r\nAppcelerator Studio, build: 4.5.0.201602170821\r\nAppcelerator Command-Line Interface, version 5.2.2\r\nNode.js Version = 0.12.7\r\n", "closedSprints": [ { "id": 618, "state": "closed", "name": "2016 Sprint 08 SDK", "startDate": "2016-04-09T00:30:18.262Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:38:28.511Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "383029", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "We need a master PR first since it's the base branch. Backports can make as soon as the master is approved. Since this is a feature, it probably won't go into 5_2_X, but it can be cherry-picked if anyone needs it. If we can review and merge the upcoming master-PR soon, it can go into 5.4.0. Thanks everyone!", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-18T22:54:06.000+0000", "updated": "2016-04-18T23:10:26.000+0000" }, { "id": "383033", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Here's the PR mentioned above.\r\nhttps://github.com/appcelerator/titanium_mobile/pull/7949\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-18T23:10:53.000+0000", "updated": "2016-04-18T23:10:53.000+0000" }, { "id": "383063", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "I have made the master pull request. Can you please view it and let me know if I did it correct/wrong.\r\nAndroid Webview Photo upload #7949 #7950\r\nhttps://github.com/appcelerator/titanium_mobile/pull/7950", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T04:56:11.000+0000", "updated": "2016-04-19T04:56:11.000+0000" }, { "id": "383064", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Can you please make the changes in Titanium in any of 5.2.X series of SDK and give me because I can't wait for next upcoming Ti.SDK release, last time I got modified SDK from you with this feature.\r\nModified SDK (https://www.dropbox.com/s/j2csab3dhy6w3u2/4.1.0.GA_For_Correction_Camera_Web_upload.zip?dl=0\r\n\r\nThanks and Regards,", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T04:58:58.000+0000", "updated": "2016-04-19T04:58:58.000+0000" }, { "id": "383069", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Can you modified any current Titanium 5.2.X version of SDK and send me back, as earlier we got the same because I can't wait for next release when it will available and our application is LIVE already. Moreover, I also have to give the support of Android 6.0 and Android 6.0 support can't be possible in 4.1.0GA SDK because it takes TargetSDK 22 and we have uploaded Target SDK 23 on store.\r\n\r\nIn short I need any of current Titanium 5.2.X version of SDK which allow me to select photo from webview in android as I have mentioned above. (attachment)\r\n\r\nIt's very urgent so please co-operate me.", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T06:19:31.000+0000", "updated": "2016-04-19T06:34:39.000+0000" }, { "id": "383073", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~nkapupara@tacme.com] We would be glad to help and assist. The PR https://github.com/appcelerator/titanium_mobile/pull/7949 contains a lot of changes which is not what is needed for this issue. (Hans mentioned it in the PR.\r\n\r\nWould you have the exact changes (or a previous JIRA ticket so that we can check) that was done for the customised 4.1.0.GA?\r\n", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-19T06:51:58.000+0000", "updated": "2016-04-19T06:51:58.000+0000" }, { "id": "383075", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "I believe this ticket was what was done previously: TIMOB-19463", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-19T06:55:46.000+0000", "updated": "2016-04-19T06:55:46.000+0000" }, { "id": "383077", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Cherry-picked the changes in TIMOB-19463 into 5_2_X branch. Branch is located here https://github.com/ashcoding/titanium_mobile/tree/5_2_X_TIMOB-23229 (Ready)", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-19T07:17:27.000+0000", "updated": "2016-04-19T07:58:15.000+0000" }, { "id": "383079", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Branch mentioned above contains the changes needed and is in the 5_2_X branch that can be compiled to create a customised SDK and needs to be tested to check that the functionality is available.\r\nUpdated: I tested with test case provided in TIMOB-19463. Working.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-19T07:21:51.000+0000", "updated": "2016-04-19T07:59:36.000+0000" }, { "id": "383084", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~nkapupara@tacme.com] You should be able to use this branch https://github.com/ashcoding/titanium_mobile/tree/5_2_X_TIMOB-23229 and compile it to create a custom SDK with the function you need.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-19T08:03:37.000+0000", "updated": "2016-04-19T08:03:37.000+0000" }, { "id": "383085", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "In which SDK you have checked that the Android webview photo upload can work. means I can open the Photo Gallery/ Camera by clicking on Browse button on the remote webpage which is loaded on webview in ANDROID\r\n\r\n", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T08:09:16.000+0000", "updated": "2016-04-19T08:09:16.000+0000" }, { "id": "383086", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "On the Comment of msamah Ashraf Abu added a comment - 1 hour ago \r\n\r\n*Would you have the exact changes (or a previous JIRA ticket so that we can check) that was done for the customised 4.1.0.GA?*\r\n-> Yes, That changes has been done previously but I have not previous JIRA ticket records. I am trying to check whether previous one is this or not: TIMOB-19463 but I am getting Permission violation web page so I can't say about this.\r\n\r\n Would you have the exact changes (or a previous JIRA ticket so that we can check) that was done for the customised 4.1.0.GA?\r\nThe changes done by your team and I don't know what the changes they did in this Modified SDK (https://www.dropbox.com/s/j2csab3dhy6w3u2/4.1.0.GA_For_Correction_Camera_Web_upload.zip?dl=0\r\n\r\nBut support this feature I need same changes to be done in any of current 5_2_X series of Titanium SDK and send me that SDK so I can work with this feature in android.", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T08:09:50.000+0000", "updated": "2016-04-19T08:09:50.000+0000" }, { "id": "383087", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Our team or I don't know which the changes needs to do for this feature that's why I am requesting to you/team so that I can use this feature in any of our Titanium 5.2.X version of SDK.\r\n\r\nThanks and Regards,", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T08:13:08.000+0000", "updated": "2016-04-19T08:13:08.000+0000" }, { "id": "383089", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~nkapupara@tacme.com] It's all done. The branch is here: https://github.com/ashcoding/titanium_mobile/tree/5_2_X_TIMOB-23229 and you can compile it to use it. ", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-19T08:16:41.000+0000", "updated": "2016-04-19T08:16:41.000+0000" }, { "id": "383090", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "It's Ok.. very nice to hear from you.. Let me check this feature first in Android: *Photo upload from remote webpage in webview*", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T08:21:22.000+0000", "updated": "2016-04-19T08:21:22.000+0000" }, { "id": "383093", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "You mean to say, I can put it in my Titanium SDK directory and use this SDK and run the project in android to check?? M I right?\r\n\r\nApplication Support/Titanium/mobilesdk/osx/titanium_mobile-5_2_X_TIMOB-23229", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T08:31:42.000+0000", "updated": "2016-04-19T08:32:49.000+0000" }, { "id": "383097", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "You'll need to compile it before using it.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-19T08:35:48.000+0000", "updated": "2016-04-19T08:35:48.000+0000" }, { "id": "383098", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Can you please give me compiled Titanium 5.2.X SDK so we can check and test for this feature because we are running out of time and we knew that there are some issue comes in picture after compile it?\r\n\r\n\r\nBecause some of the Softwares we have not installed on our system\r\n\r\n\r\n Python\r\n\r\n Oracle JDK\r\n\r\n iOS SDK (only on Mac OS X systems)\r\n\r\n Android SDK (requires Android 4.2.2, API Level 17, and Google APIs 14 or later)\r\n\r\n Node.js (required for building SDK 3.0 and later)\r\n\r\nThe following additional software is required for building the Titanium SDK:\r\n\r\n Python setuptools, and the pyyaml and Pygments libraries\r\n\r\n Git\r\n\r\n Android NDK\r\n\r\n SCons\r\n\r\n Apache Ant (for Android)\r\n\r\n Eclipse and ADT (for Android)\r\n\r\n Gperf\r\n\r\n Visual C++ 2010 Express (for Windows systems)\r\n\r\nMany many Thanks in advance", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T08:41:01.000+0000", "updated": "2016-04-19T09:22:50.000+0000" }, { "id": "383113", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "[~nkapupara@tacme.com], Please check below dropbox link about this custom SDK for you and verify if it is working for you.\r\nhttps://www.dropbox.com/s/htn926i0uf7zf2i/mobilesdk-TACME-osx.zip?dl=0", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2016-04-19T10:35:43.000+0000", "updated": "2016-04-19T10:35:43.000+0000" }, { "id": "383120", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Ok.. Let me check if this working as per my requirement.\r\nActially, can you tell me which SDK version you have modified. I am asking because I also need to give the support for Android 6.0.", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T12:02:34.000+0000", "updated": "2016-04-19T12:03:56.000+0000" }, { "id": "383121", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "I compiled this SDK based on 5.2.2.", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2016-04-19T12:05:44.000+0000", "updated": "2016-04-19T12:05:44.000+0000" }, { "id": "383122", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Ohh. Great Latest one!!!. Can I expect this feature in next upcoming Titanium SDK update????", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T12:19:54.000+0000", "updated": "2016-04-19T12:19:54.000+0000" }, { "id": "383124", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "When I compile & Run my appcelerator project using this modified 5.2.2 SDK with Ti.Cloudpush (3.4.1) module I can't run run app I am getting Java compiling exception.\r\n\r\nFailed to run dexer:\r\n[ERROR] : \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ReserveIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/SearchIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/AccountChangeEvent;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/AccountChangeEventsRequest;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/AccountChangeEventsResponse;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/GoogleAuthException;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/GoogleAuthUtil;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/GooglePlayServicesAvailabilityException;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/UserRecoverableAuthException;\r\n[ERROR] : \r\n[ERROR] : UNEXPECTED TOP-LEVEL EXCEPTION:\r\n[ERROR] : java.lang.RuntimeException: Translation has been interrupted\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:608)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.run(Main.java:277)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.main(Main.java:245)\r\n[ERROR] : \tat com.android.dx.command.Main.main(Main.java:106)\r\n[ERROR] : Caused by: java.lang.InterruptedException: Too many errors\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:600)\r\n[ERROR] : \t... 4 more\r\n\r\nI have find out on Google about this error many of says Ti.Cloudpush module is not working properly. There is some bugs in that module.\r\n\r\nMine problem is If I use Ti.cloudpush module 3.3.8 the app is working fine, but not in Android 6 (Marsh mellow) at that time I am getting this error on app startup:\r\n\r\nERRORORORRORR:\r\nlinker: /data/app/uae.gov.uaq-2/lib/arm/libti.cloudpush.so: has text relocations\r\n[ERROR] : TiApplication: (KrollRuntimeThread) [39,128] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/uae.gov.uaq-2/lib/arm/libti.cloudpush.so: has text relocations; Titanium 5.2.3,2016/04/19 18:15,0f120f0\r\n[ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/uae.gov.uaq-2/lib/arm/libti.cloudpush.so: has text relocations\r\n[ERROR] : TiApplication: \tat java.lang.Runtime.loadLibrary(Runtime.java:372)\r\n[ERROR] : TiApplication: \tat java.lang.System.loadLibrary(System.java:1076)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114)\r\n\r\n\r\n\r\nIf I use the Ti.cloupush module 3.4.1 or 3.4.0 then I can't even compile the project and I am getting those mentioned java compile exception and execution is stopped.\r\n\r\nTell me what to do now. Can you please give me the bug free ticloudpush module which is can run with this 5.2.2 modified SDK \r\n\r\nThanks and Regards.\r\n\r\n", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-19T12:42:40.000+0000", "updated": "2016-04-19T14:11:24.000+0000" }, { "id": "383233", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Purely running with Only Ti.Cloudpush 3.4.1 is not causing any issues alone. What other modules are you including into your project? It seems the errors are related to google-play-services.jar dependencies.\r\n\r\nThe google play jar could be removed by going to the other modules that you have in your project in \"modules\">\"android\">\"module-name\">\"version\">\"lib\">\"google-play-services.jar\". Removing this will stop that error but would require you to be sure that you would not need that module to access the google-play-services. Alternatively, that other module needs updating with the proper google-play jar.\r\n\r\nIn order to help, we would need to know what other modules are being included.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T03:17:23.000+0000", "updated": "2016-04-20T03:17:23.000+0000" }, { "id": "383248", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "The other modules which I am using in my project is:\r\n\r\n*iOS & Android (Both):*\r\ncom.appcelerator.apm\r\nti.map\r\nfacebook\r\nti.cloud\r\n\r\n*Android: ti.cloudpush*\r\niOS: path.animator\r\n\r\n+I don't think the problem with another module as you are talking google play jar file because if you check the log it clearly mentioned the error related to cloudpush+\r\n\r\ninker: /data/app/uae.gov.uaq-2/{color:#d04437}lib/arm/libti.cloudpush.{color}so: has text relocations\r\n[ERROR] : TiApplication: (KrollRuntimeThread) [39,128] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/uae.gov.uaq-2/lib/arm/libti.cloudpush.so: has text relocations; Titanium 5.2.3,2016/04/19 18:15,0f120f0\r\n[ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen f{color:#d04437}ailed: /data/app/uae.gov.uaq-2/lib/arm/libti.cloudpush.so: has text relocations{color}\r\n\r\n", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T06:33:16.000+0000", "updated": "2016-04-20T06:33:55.000+0000" }, { "id": "383257", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "That is using Ti.Cloudpush 3.3.8 correct?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T07:08:29.000+0000", "updated": "2016-04-20T07:08:29.000+0000" }, { "id": "383259", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Yes, Ti.cloudpush 3.3.8 for Android\r\n\r\nhttps://www.dropbox.com/s/4fgcanaa0b7btxp/Screen%20Shot%202016-04-20%20at%2011.10.28%20AM.png?dl=0", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T07:12:00.000+0000", "updated": "2016-04-20T07:12:00.000+0000" }, { "id": "383269", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[^ti.cloudpush-android-3.3.9.zip] Attached here is 3.3.9. This should solve your issue. Please use this. Thank you. [~nkapupara@tacme.com]", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T07:35:35.000+0000", "updated": "2016-04-20T07:35:35.000+0000" }, { "id": "383270", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Also please note, on Android 6.0, if you are going to use the choose file option, you need to add in your code to request camera permission if you want to allow the user to be able to take a photo directly.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T07:37:12.000+0000", "updated": "2016-04-20T07:37:12.000+0000" }, { "id": "383273", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Any way I have to thank you for your quick and easy support for this modified SDK...\r\n\r\n*_+Thank you so so so much for your help and support.+_*", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T07:43:04.000+0000", "updated": "2016-04-20T07:43:04.000+0000" }, { "id": "383275", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Did the cloudpush version 3.3.9 work for you?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T07:48:59.000+0000", "updated": "2016-04-20T07:48:59.000+0000" }, { "id": "383278", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "No sorry,\r\n*It's not worked. When I used 3.3.9 Ti.cloudpush module I got the google play jar conflicting error.*\r\nConflicting jar files detected:\r\n[ERROR] : \r\n[ERROR] : The following modules have different \"google-play-services.jar\" files\r\n[ERROR] : ti.map (version 2.3.1) (hash=a9b753b4c63719e24d0022e341c57b2e)\r\n[ERROR] : ti.cloudpush (version 3.3.9) (hash=93f8dd307017098f89f81d72439473ae)\r\n[ERROR] : \r\n[ERROR] : You can either select a version of these modules where the conflicting jar file is the same or you\r\n[ERROR] : can try copying the jar file from one module's \"lib\" folder to the other module's \"lib\" folder.\r\n\r\n\r\n*Then what I did I changed the map module version 2.3.1 to 2.3.3 and I got the same java compilation error which I faced earlier.*\r\n\r\nFailed to run dexer:\r\n[ERROR] : \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ItemListIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/NoteIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/ReserveIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/actions/SearchIntents;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/AccountChangeEvent;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/AccountChangeEventsRequest;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/AccountChangeEventsResponse;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/GoogleAuthException;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/auth/GoogleAuthUtil;\r\n[ERROR] : \r\n[ERROR] : UNEXPECTED TOP-LEVEL EXCEPTION:\r\n[ERROR] : java.lang.RuntimeException: Translation has been interrupted\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:608)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.run(Main.java:277)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.main(Main.java:245)\r\n[ERROR] : \tat com.android.dx.command.Main.main(Main.java:106)\r\n[ERROR] : Caused by: java.lang.InterruptedException: Too many errors\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:600)\r\n[ERROR] : \t... 4 more\r\n", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T08:04:17.000+0000", "updated": "2016-04-20T08:04:36.000+0000" }, { "id": "383280", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "As mentioned in the error log:\r\n\r\n[ERROR] : \r\n[ERROR] : The following modules have different \"google-play-services.jar\" files\r\n[ERROR] : ti.map (version 2.3.1) (hash=a9b753b4c63719e24d0022e341c57b2e)\r\n[ERROR] : ti.cloudpush (version 3.3.9) (hash=93f8dd307017098f89f81d72439473ae)\r\n[ERROR] : \r\n[ERROR] : You can either select a version of these modules where the conflicting jar file is the same or you\r\n[ERROR] : can try copying the jar file from one module's \"lib\" folder to the other module's \"lib\" folder.\r\n\r\nWhat you should do is you should use ti.map version 2.3.1 and ti.cloudpush 3.3.9. And after in your project folder, you should try this:-\r\nProject>modules>android>ti.cloudpush>3.3.9>lib>google-play-services.jar Copy this file. And put it in:-\r\nProject>modules>android>ti.map>2.3.1>lib> \r\nThis will allow both modules to use the same \"google-play-services.jar\".", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T08:16:03.000+0000", "updated": "2016-04-20T08:16:03.000+0000" }, { "id": "383282", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Yes man, That trick is worked.. Thank you so much..\r\n", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T08:31:22.000+0000", "updated": "2016-04-20T08:31:22.000+0000" }, { "id": "383284", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "What to do about map in Android 6 when I pressed back or close my window app is crashed. I figured this exception.\r\n\r\nTiApplication: (main) [7554,228221] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to destroy activity {uae.gov.uaq/org.appcelerator.titanium.TiTranslucentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.GoogleMap.clear()' on a null object reference; Titanium 5.2.3,2016/04/19 18:15,0f120f0\r\n[ERROR] : TiApplication: java.lang.RuntimeException: Unable to destroy activity {uae.gov.uaq/org.appcelerator.titanium.TiTranslucentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.GoogleMap.clear()' on a null object reference\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3831)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3849)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.-wrap5(ActivityThread.java)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:148)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:5417)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\n[ERROR] : TiApplication: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.GoogleMap.clear()' on a null object reference\r\n[ERROR] : TiApplication: \tat ti.map.TiUIMapView.release(TiUIMapView.java:900)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.releaseViews(TiViewProxy.java:539)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.releaseViews(TiViewProxy.java:536)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.releaseViews(TiViewProxy.java:536)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.releaseViews(TiViewProxy.java:536)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.releaseViews(TiViewProxy.java:536)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiWindowProxy.closeFromActivity(TiWindowProxy.java:189)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.onDestroy(TiBaseActivity.java:1506)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivity.onDestroy(TiActivity.java:29)\r\n[ERROR] : TiApplication: \tat android.app.Activity.performDestroy(Activity.java:6422)\r\n[ERROR] : TiApplication: \tat android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1142)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3818)\r\n[ERROR] : TiApplication: \t... 9 more\r\n[INFO] : Process: Sending signal. PID: 30860 SIG: 9\r\n", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T08:33:00.000+0000", "updated": "2016-04-20T08:33:00.000+0000" }, { "id": "383290", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "This is a bug and it's only fixed in Ti.Map https://github.com/appcelerator-modules/ti.map/releases/tag/android-2.3.10\r\nIf you use this, you need to change your Ti.Cloudpush to version 3.4.1 to ensure the google play dependencies are correct.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T09:08:36.000+0000", "updated": "2016-04-20T09:18:02.000+0000" }, { "id": "383294", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Ok.. let me try..:)", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T09:26:11.000+0000", "updated": "2016-04-20T09:26:11.000+0000" }, { "id": "383295", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "Yes, Great Work you have done for me and my Company..\r\nIt's Done and worked.\r\n\r\n\r\n*_+{color:#205081}THANK YOU VERY MUCH FOR YOUR ALL SUPPORT AND HELP.{color}+_*", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-20T09:32:12.000+0000", "updated": "2016-04-20T09:32:12.000+0000" }, { "id": "383441", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Resolving ticket.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T23:56:53.000+0000", "updated": "2016-04-20T23:56:53.000+0000" }, { "id": "383443", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~nkapupara@tacme.com] Welcome.\r\nPlease take note for future updates for that app, the required function that you need is not in the GA SDK. It's only provided in the custom SDK. ", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-20T23:59:15.000+0000", "updated": "2016-04-20T23:59:15.000+0000" }, { "id": "383507", "author": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "body": "No problem for resolving ticket, anyway my bug is fixed and working fine. But why you are not including this feature (ANDROID: Support to Photo upload from remote webpage in webview) in upcoming Titanium SDK release. Many of developer can user this feature.\r\n\r\nOk... Thanks for your help and support.", "updateAuthor": { "name": "nkapupara@tacme.com", "key": "nkapupara@tacme.com", "displayName": "Nikunj Kapupara", "active": true, "timeZone": "Asia/Dubai" }, "created": "2016-04-21T09:34:33.000+0000", "updated": "2016-04-21T09:34:33.000+0000" }, { "id": "400765", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "There is no way yet to upload a file via Webview on Android ?\r\n", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-11-11T08:12:14.000+0000", "updated": "2016-11-11T08:12:14.000+0000" }, { "id": "439894", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closed as completed. If this is in error, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:34:56.000+0000", "updated": "2018-08-06T17:34:56.000+0000" } ], "maxResults": 52, "total": 52, "startAt": 0 } } }