{ "id": "159780", "key": "TIMOB-23267", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-27T16:06:40.000+0000", "created": "2016-04-22T14:32:33.000+0000", "epic": { "id": 151897, "key": "TIMOB-19699", "name": "Android: Hyperloop for Android module", "summary": "Bring Hyperloop to Android", "color": { "key": "color_4" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [ "android", "hyperloop", "needTestCase" ], "versions": [], "issuelinks": [ { "id": "51472", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "159431", "key": "TIMOB-23179", "fields": { "summary": "Hyperloop: Android - Java primitives arrays are wrapped in hyperloop proxies improperly", "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": "51473", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159501", "key": "TIMOB-23198", "fields": { "summary": "Hyperloop: Android can't access fields with primitive array types", "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": "51474", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159579", "key": "TIMOB-23213", "fields": { "summary": "Hyperloop: Android doesn't convert char/char[]/Character", "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": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2018-08-06T17:49:30.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" }, { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "{code:javascript}\r\ndescriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);\r\n{code}\r\n\r\nresults in: \r\n{code}\r\nHyperloopProxy: (main) [3454,3454] Unable to resolve method call. Class: android.bluetooth.BluetoothGattDescriptor, method name: setValue, args: [[Ljava.lang.Object;@3f4\r\n{code}\r\n\r\nSee http://developer.android.com/reference/android/bluetooth/BluetoothGattDescriptor.html#setValue(byte[])\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop: Android - Unable to call method accepting byte[] argument", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "hyperloop 1.1.3 beta", "closedSprints": [ { "id": 624, "state": "closed", "name": "2016 Sprint 09 SDK", "startDate": "2016-04-23T00:39:45.452Z", "endDate": "2016-05-07T00:39:00.000Z", "completeDate": "2016-05-09T03:43:10.279Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "392404", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~bgarcia] Can you please add a simplified test-case with the expected behavior here so QE can verify the fix as well? ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-04T09:27:12.000+0000", "updated": "2016-08-04T09:27:12.000+0000" }, { "id": "392409", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "this is a difficult one... theoretically if you can get a descriptor from a BLE device (after a ble scan, retrieving device characteristics) just : \r\n\r\n\r\n{code:java}\r\nvar BluetoothGattDescriptor = require('android.bluetooth.BluetoothGattDescriptor');\r\nvar descriptor = BluetoothGattDescriptor.cast(descriptors.get(i));\r\ndescriptor.setValue(BluetoothGattDescriptor.ENABLE_INDICATION_VALUE);\r\n{code}", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-04T11:42:10.000+0000", "updated": "2016-08-04T11:42:10.000+0000" }, { "id": "392410", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Mhh, ok. {{descriptors}} would be undefined in the above example. Another method that would accept a {{byte[]}} argument which our QE could test? I'm not too familiar with Android.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-04T11:44:47.000+0000", "updated": "2016-08-04T11:44:47.000+0000" }, { "id": "392411", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "mmm neither do I... may be cwilliams could help", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-04T11:47:11.000+0000", "updated": "2016-08-04T11:47:11.000+0000" }, { "id": "440197", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:30.000+0000", "updated": "2018-08-06T17:49:30.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }