{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/40","repository_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase","labels_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/40/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/40/events","html_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/40","id":157934259,"number":40,"title":"TypeError: Cannot read property 'firebase' of undefined","user":{"login":"mi6crazyheart","id":4346688,"avatar_url":"https://avatars.githubusercontent.com/u/4346688?v=3","gravatar_id":"","url":"https://api.github.com/users/mi6crazyheart","html_url":"https://github.com/mi6crazyheart","followers_url":"https://api.github.com/users/mi6crazyheart/followers","following_url":"https://api.github.com/users/mi6crazyheart/following{/other_user}","gists_url":"https://api.github.com/users/mi6crazyheart/gists{/gist_id}","starred_url":"https://api.github.com/users/mi6crazyheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mi6crazyheart/subscriptions","organizations_url":"https://api.github.com/users/mi6crazyheart/orgs","repos_url":"https://api.github.com/users/mi6crazyheart/repos","events_url":"https://api.github.com/users/mi6crazyheart/events{/privacy}","received_events_url":"https://api.github.com/users/mi6crazyheart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-01T15:18:59Z","updated_at":"2016-06-02T10:34:02Z","closed_at":null,"body":"I'm using this plugin in my new Nativescript project & getting following error -\r\n\r\n`JS: Clicked on Login button\r\nJS: Error in firebase.init: TypeError: Cannot read property 'firebase' of undefined\r\nJS: firebase.init error: TypeError: Cannot read property 'firebase' of undefined`\r\n\r\nHere is the link of my Stackoverflow post  : http://stackoverflow.com/questions/37565864/typeerror-cannot-read-property-firebase-of-undefined-in-nativescript-app\r\n\r\nAs, totally new to both NativeScript & TypeScript I can't able to understand how to solve it."},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/comments/223255260","html_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/40#issuecomment-223255260","issue_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/40","id":223255260,"user":{"login":"441N143G","id":15346165,"avatar_url":"https://avatars.githubusercontent.com/u/15346165?v=3","gravatar_id":"","url":"https://api.github.com/users/441N143G","html_url":"https://github.com/441N143G","followers_url":"https://api.github.com/users/441N143G/followers","following_url":"https://api.github.com/users/441N143G/following{/other_user}","gists_url":"https://api.github.com/users/441N143G/gists{/gist_id}","starred_url":"https://api.github.com/users/441N143G/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/441N143G/subscriptions","organizations_url":"https://api.github.com/users/441N143G/orgs","repos_url":"https://api.github.com/users/441N143G/repos","events_url":"https://api.github.com/users/441N143G/events{/privacy}","received_events_url":"https://api.github.com/users/441N143G/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T10:34:02Z","updated_at":"2016-06-02T10:34:02Z","body":"No) u must add this line in reference.d.ts in root dir of project)"}}
{"actor":{"display_login":"441N143G"}}