{ "id": "134542", "key": "TIMOB-17488", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2018-12-19T14:47:02.000+0000", "created": "2014-08-11T22:39:46.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.3.1" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-12-19T14:47:02.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5.Description\r\nThe method toBlob() which converts a photo to blob format only exists on iOS. When ran on Android it throws an error. \r\n\r\n*Note*\r\n\r\ntoBlob() is undocumented but there is a method called read() which is [documented|http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.Filesystem.File-method-read] that does the same thing and works on both platforms.\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Import the attached project\r\n2. Run on iOS device/simulator\r\n3. Run on Android device/simulator\r\n\r\nh5.Actual Results\r\n\r\n*Actual Result on iOS*\r\n\r\nThe app runs on iOS on both 3.3.0.GA and 3.2.3.GA SDK and also 3.3.0 and 3.2.3 CLI\r\n\r\n*Actual Result on Android*\r\n\r\nThe app fails to run on Android on both 3.3.0.GA and 3.2.3.GA SDK and also 3.3.0 and 3.2.3 CLI\r\n\r\nh5.Expected Result\r\n\r\nThe app shouldn't work on either iOS or Android due to the read() method", "attachment": [ { "id": "50404", "filename": "FileSystemBlob.zip", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-08-11T22:39:47.000+0000", "size": 4085913, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Filesystem.File - toBlob exists in iOS but not Android", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac OSX 10.9.4\r\nAppcelerator Studio, build: 3.3.0.201407111535\r\nTitanium SDK build: 3.3.0.GA, 3.2.3.GA\r\nTitanium CLI, build: 3.3.0, 3.2.3\r\nAlloy: 1.4.1\r\niOS Simulator 7.1\r\niOS Device 7.0.6\r\nAndroid emulator 4.4.2\r\nAndroid Device 4.4.2", "comment": { "comments": [ { "id": "444736", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This still occurs but as the method is undocumented closing as wont fix", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-19T14:46:56.000+0000", "updated": "2018-12-19T14:46:56.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }