{"action":"opened","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-nfc/issues/24","repository_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-nfc","labels_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-nfc/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-nfc/issues/24/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-nfc/issues/24/events","html_url":"https://github.com/EddyVerbruggen/nativescript-nfc/issues/24","id":358447547,"node_id":"MDU6SXNzdWUzNTg0NDc1NDc=","number":24,"title":"getClass of undefined error (android)","user":{"login":"spencercap","id":4987509,"node_id":"MDQ6VXNlcjQ5ODc1MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/4987509?v=4","gravatar_id":"","url":"https://api.github.com/users/spencercap","html_url":"https://github.com/spencercap","followers_url":"https://api.github.com/users/spencercap/followers","following_url":"https://api.github.com/users/spencercap/following{/other_user}","gists_url":"https://api.github.com/users/spencercap/gists{/gist_id}","starred_url":"https://api.github.com/users/spencercap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencercap/subscriptions","organizations_url":"https://api.github.com/users/spencercap/orgs","repos_url":"https://api.github.com/users/spencercap/repos","events_url":"https://api.github.com/users/spencercap/events{/privacy}","received_events_url":"https://api.github.com/users/spencercap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T02:45:06Z","updated_at":"2018-09-10T02:45:06Z","closed_at":null,"author_association":"NONE","body":"hi, \r\njust trying to get this plugin up and running with my nativescript-vue project for android. following the installation instructions i reached this: `Error is: Cannot find module 'nativescript-custom-entitlements/lib/before-prepare.js’.` which i fixed by installing the [nativescript-custom-entitlements package](https://www.npmjs.com/package/nativescript-custom-entitlements) but carrying on, i cannot run the Nfc constructor `var nfc = new Nfc();` (after `var Nfc = require(\"nativescript-nfc\").Nfc;` of course) without getting this getClass error:\r\n```\r\nSystem.err: java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:\r\nSystem.err:\r\nSystem.err: Error calling module function\r\nSystem.err:\r\nSystem.err: Error calling module function\r\nSystem.err:\r\nSystem.err: TypeError: Cannot read property 'getClass' of undefined\r\nSystem.err: File: \"file:///data/data/org.***/files/app/vendor.js, line: 441, column: 67\r\nSystem.err:\r\nSystem.err: StackTrace:\r\nSystem.err:     Frame: function:'Nfc', file:'file:///data/data/org.***/files/app/vendor.js', line: 441, column: 68\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.***/files/app/bundle.js', line: 1346, column: 11\r\nSystem.err:     Frame: function:'./main.js', file:'file:///data/data/org.***/files/app/bundle.js', line: 1368, column: 30\r\nSystem.err:     Frame: function:'__webpack_require__', file:'file:///data/data/org.***/files/app/bundle.js', line: 76, column: 30\r\nSystem.err:     Frame: function:'checkDeferredModules', file:'file:///data/data/org.***/files/app/bundle.js', line: 45, column: 23\r\nSystem.err:     Frame: function:'module.exports.../node_modules/mini-css-extract-plugin/dist/loader.js!../node_modules/css-loader/index.js?!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/vue-loader/lib/index.js?!./components/HelloWorld.vue?vue&type=style&index=0&id=763db97b&scoped=true&lang=css&', file:'file:///data/data/org.***/files/app/bundle.js', line: 149, column: 18\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.***/files/app/bundle.js', line: 152, column: 10\r\nSystem.err:     Frame: function:'require', file:'', line: 1, column: 266\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.***/files/app/starter.js', line: 2, column: 1\r\nSystem.err:     Frame: function:'require', file:'', line: 1, column: 266\r\n```"}}
{"actor":{"display_login":"spencercap"}}