{"action":"created","issue":{"url":"https://api.github.com/repos/chariotsolutions/phonegap-nfc/issues/247","repository_url":"https://api.github.com/repos/chariotsolutions/phonegap-nfc","labels_url":"https://api.github.com/repos/chariotsolutions/phonegap-nfc/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/chariotsolutions/phonegap-nfc/issues/247/comments","events_url":"https://api.github.com/repos/chariotsolutions/phonegap-nfc/issues/247/events","html_url":"https://github.com/chariotsolutions/phonegap-nfc/issues/247","id":167594880,"number":247,"title":"I am not able to retrieve NFC tags","user":{"login":"jwillmer","id":1503577,"avatar_url":"https://avatars.githubusercontent.com/u/1503577?v=3","gravatar_id":"","url":"https://api.github.com/users/jwillmer","html_url":"https://github.com/jwillmer","followers_url":"https://api.github.com/users/jwillmer/followers","following_url":"https://api.github.com/users/jwillmer/following{/other_user}","gists_url":"https://api.github.com/users/jwillmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwillmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwillmer/subscriptions","organizations_url":"https://api.github.com/users/jwillmer/orgs","repos_url":"https://api.github.com/users/jwillmer/repos","events_url":"https://api.github.com/users/jwillmer/events{/privacy}","received_events_url":"https://api.github.com/users/jwillmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-07-26T12:27:32Z","updated_at":"2016-07-28T07:31:21Z","closed_at":null,"body":"This function:\r\n\r\n```\r\nnfc.addTagDiscoveredListener(function (nfcEvent) {\r\n    console.log(\"discovered\");\r\n    console.log(JSON.stringify(nfcEvent));\r\n}, function () {\r\n    console.log(\"Discovering NFC Messages.\");\r\n},\r\nfunction (error) {\r\n    console.log(\"Failed to discover NDEF.\");\r\n});\r\n```\r\n\r\noutputs this:\r\n\r\n```\r\n{\"isTrusted\":false,\"tag\":{\"id\":[91,7,-33,-4],\"techTypes\":[\"android.nfc.tech.NfcA\",\"android.nfc.tech.MifareClassic\",\"android.nfc.tech.NdefFormatable\"]}}\r\n```\r\n\r\nbut the listener never fires a event:\r\n\r\n```\r\nnfc.addNdefListener(function (nfcEvent) {\r\n    console.log(\"listener\");\r\n    console.log(JSON.stringify(nfcEvent));\r\n}, function () {\r\n    console.log(\"Listening for NFC Messages.\");\r\n},\r\nfunction (error) {\r\n    console.log(\"Failed to add NDEF listener.\");\r\n});\r\n```\r\n\r\nI tried to use `addMimeTypeListener` with one of this MIME types (`android.nfc.tech.NfcA`,`android.nfc.tech.MifareClassic`,`android.nfc.tech.NdefFormatable`) but I also don't get a result.\r\n\r\nMy test NFC card contains a number (plain text). Something like: `123456789` "},"comment":{"url":"https://api.github.com/repos/chariotsolutions/phonegap-nfc/issues/comments/235820850","html_url":"https://github.com/chariotsolutions/phonegap-nfc/issues/247#issuecomment-235820850","issue_url":"https://api.github.com/repos/chariotsolutions/phonegap-nfc/issues/247","id":235820850,"user":{"login":"jwillmer","id":1503577,"avatar_url":"https://avatars.githubusercontent.com/u/1503577?v=3","gravatar_id":"","url":"https://api.github.com/users/jwillmer","html_url":"https://github.com/jwillmer","followers_url":"https://api.github.com/users/jwillmer/followers","following_url":"https://api.github.com/users/jwillmer/following{/other_user}","gists_url":"https://api.github.com/users/jwillmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwillmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwillmer/subscriptions","organizations_url":"https://api.github.com/users/jwillmer/orgs","repos_url":"https://api.github.com/users/jwillmer/repos","events_url":"https://api.github.com/users/jwillmer/events{/privacy}","received_events_url":"https://api.github.com/users/jwillmer/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T07:31:21Z","updated_at":"2016-07-28T07:31:21Z","body":"O.K. but there is still a number on the card I need to read and I am not able to get it with that plugin. Is that intended? For me it is a problem because my app needs to read this cards - not format them."}}
{"actor":{"display_login":"jwillmer"}}