{ "id": "153624", "key": "TIMOB-20103", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-12-10T08:39:18.000+0000", "created": "2015-12-04T18:20:46.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" }, { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [ { "id": "50060", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "152675", "key": "TIMOB-19899", "fields": { "summary": "Android 6: Remote images not loading", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50631", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "154419", "key": "TIMOB-20251", "fields": { "summary": "Android 6.0: java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50244", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "153968", "key": "TIMOB-20208", "fields": { "summary": "Android 6.0: Issues with writing to file", "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": "Critical", "id": "1" }, "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": "2017-03-22T22:23:19.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": "My team is working on a social app which uses a lot of remote images. After we upgraded to Titanium SDK 5.1.1 GA and change the android:targetSdkVersion to 23 we ran into an issue when none of the remote images are loading. This is a very big issue from our understanding, since all of the devices with Android 6 will not show any remote images. In the screenshot attached, you can see a simple app which is basically a window with an ImageView. The ImageView is using a random remote image. The image loads on Android 5, but on Android 6 it doesn't.", "attachment": [ { "id": "57688", "filename": "Android6_vs_Android5_Remote_image.png", "author": { "name": "three29", "key": "three29", "displayName": "Eduard Florea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-04T18:17:30.000+0000", "size": 148451, "mimeType": "image/png" } ], "flagged": false, "summary": "Remote images aren't loading on Android 6 ", "creator": { "name": "three29", "key": "three29", "displayName": "Eduard Florea", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "three29", "key": "three29", "displayName": "Eduard Florea", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "372378", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-08T03:00:47.000+0000", "updated": "2015-12-08T03:00:47.000+0000" }, { "id": "372380", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Alternatively, as you mentioned, setting the Android SDK to version 22, will force it to use the old Permissions system even on Android 6.0. This will grant the permissions automatically on run time.\r\n\r\nTo do this, you need to use an Titanium SDK 5_0_X version. I recommend 5.0.3. via {code} appc ti sdk install --branch 5_0_X{code}. You can then add these lines to your manifest in TiApp.xml:-\r\n{code:xml}\r\n \r\n \r\n \r\n \r\n \r\n{code}\r\n\r\nThis will allow remote images to load as the permissions are granted via the old permission system.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-08T03:41:03.000+0000", "updated": "2015-12-08T03:41:24.000+0000" }, { "id": "372629", "author": { "name": "three29", "key": "three29", "displayName": "Eduard Florea", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks guys!\r\n\r\nRequesting camera permissions fixed the issue!", "updateAuthor": { "name": "three29", "key": "three29", "displayName": "Eduard Florea", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-12-10T17:26:55.000+0000", "updated": "2015-12-10T17:26:55.000+0000" }, { "id": "376117", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Maybe this module helps: https://github.com/gimdongwoo/Ti-Android-RequestStoragePermission", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-05T16:32:17.000+0000", "updated": "2016-02-05T16:32:17.000+0000" }, { "id": "376120", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "I tried to send a downgraded version 23=>22\r\nThis is the error message from playstore:\r\n\r\n\"This configuration can not be published for the following reasons:\r\n\r\n It is forbidden for devices that were originally using M-permissions (for SDK 23 and above) to perform a downgrade to APKs, the old-style permissions to use (for SDK 22 and lower). This comes with a change of version 42 (for SDK 23) prior to version 43 (for SDK 22).\"", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-05T16:56:32.000+0000", "updated": "2016-02-05T16:56:32.000+0000" }, { "id": "376444", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Just an update. There is a fix in TIMOB-20251 that solves the issue of remote images. There shouldn't be any permissions required.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-10T03:07:46.000+0000", "updated": "2016-02-10T03:07:46.000+0000" }, { "id": "377194", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~bimmel] this or TIMOB-19899 (same issue) should be in the 5.2.0 release notes as well.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-18T08:24:50.000+0000", "updated": "2016-02-18T08:24:50.000+0000" }, { "id": "377196", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~bimmel] never mind, TIMOB-20251 is mentioned, although I find this ticket's title clearer since it's the actual bug people experienced.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-18T09:13:15.000+0000", "updated": "2016-02-18T09:13:15.000+0000" }, { "id": "415121", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:23:19.000+0000", "updated": "2017-03-22T22:23:19.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }