{ "id": "172133", "key": "MOD-2474", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2018-08-27T03:23:56.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "2020-Q3", "ios", "ti.nfc", "titanium" ], "versions": [], "issuelinks": [ { "id": "59079", "type": { "id": "10621", "name": "Gantt End to Start", "inward": "has to be done after", "outward": "has to be done before" }, "inwardIssue": { "id": "174823", "key": "MOD-2586", "fields": { "summary": "iOS: Update \"ti.nfc\" to support ISO7816, ISO15693, FeliCa, and MIFARE tags", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2021-01-07T10:00:04.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "I am trying to scan a simple NFC tag that contains some text on it, using the module on a iPhone 7 Plus.\r\n\r\nI verified the tag works by scanning it with many other NFC tag readers available on the App Store.\r\n\r\nMy code looks similar to the example provided:\r\nhttps://github.com/appcelerator-modules/ti.nfc/blob/master/ios/example/app.js\r\n\r\n\r\n{code:javascript}\r\nvar nfc = require('ti.nfc');\r\nvar nfcAdapter = nfc.createNfcAdapter({\r\n onNdefDiscovered: handleDiscovery\r\n});\r\n\r\nfunction handleDiscovery(e) {\r\n Ti.API.info(JSON.stringify(e));\r\n alert(JSON.stringify(e));\r\n}\r\n\r\n$.win.addEventListener('open', function() {\r\n if (!nfcAdapter.isEnabled()) {\r\n alert('This device does not support NFC capabilities!');\r\n } else {\r\n \tnfcAdapter.begin();\r\n }\r\n});\r\n\r\n$.win.open();\r\n{code}\r\n\r\nThe scan native dialog appears fine, and the tag does get scanned.\r\nHowever the data returned back is just:\r\n\r\n{{[messages:[null]};}}\r\n\r\nPlease help! ", "attachment": [], "flagged": false, "summary": "ti.nfc not reading tags correctly on iOS", "creator": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "environment": " Titanium 7.3.0.GA, ti.nfc v2.1.0 (iOS), iPhone 7 Plus", "comment": { "comments": [ { "id": "441185", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "body": "Is this issue being looked into. It's quite a critical bug, which would also affect any one else implementing NFC in their app on iOS. A quick fix would be much appreciated as we want to release our next version for the app as soon as we can. Many Thanks!", "updateAuthor": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-08-29T13:47:40.000+0000", "updated": "2018-08-29T13:48:15.000+0000" }, { "id": "441201", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~yahya12], Is this issue is only on iPhone 7 plus device? or this is also happening for other devices?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-08-29T18:59:47.000+0000", "updated": "2018-08-29T18:59:47.000+0000" }, { "id": "441203", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "body": "The only NFC enabled iPhone I have is a iPhone 7 plus, but I doubt this is a phone issue as other apps scans the NFC tag fine.", "updateAuthor": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-08-29T19:46:50.000+0000", "updated": "2018-08-29T19:46:50.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }