{"action":"created","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/822","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/822/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/822/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/822/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/822","id":356898423,"node_id":"MDU6SXNzdWUzNTY4OTg0MjM=","number":822,"title":"Can't use initFirebase() on 1.1.3 [Firebase isn't initialised]","user":{"login":"BrainOverflown","id":42948359,"node_id":"MDQ6VXNlcjQyOTQ4MzU5","avatar_url":"https://avatars2.githubusercontent.com/u/42948359?v=4","gravatar_id":"","url":"https://api.github.com/users/BrainOverflown","html_url":"https://github.com/BrainOverflown","followers_url":"https://api.github.com/users/BrainOverflown/followers","following_url":"https://api.github.com/users/BrainOverflown/following{/other_user}","gists_url":"https://api.github.com/users/BrainOverflown/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainOverflown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainOverflown/subscriptions","organizations_url":"https://api.github.com/users/BrainOverflown/orgs","repos_url":"https://api.github.com/users/BrainOverflown/repos","events_url":"https://api.github.com/users/BrainOverflown/events{/privacy}","received_events_url":"https://api.github.com/users/BrainOverflown/received_events","type":"User","site_admin":false},"labels":[{"id":1039885597,"node_id":"MDU6TGFiZWwxMDM5ODg1NTk3","url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/labels/bug:%20build","name":"bug: build","color":"ee0701","default":false},{"id":391682361,"node_id":"MDU6TGFiZWwzOTE2ODIzNjE=","url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true},{"id":391682363,"node_id":"MDU6TGFiZWwzOTE2ODIzNjM=","url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-09-04T17:04:20Z","updated_at":"2018-09-05T21:13:39Z","closed_at":null,"author_association":"NONE","body":"I just updated cordova-plugin-firebase to 1.1.3 and tried to use the `initFirebase()` method to get rid of the 'Firebase isn't initiali**s**ed' error (note that the error got a typo in console log).\r\n\r\nI'm getting the following error : \r\n`Uncaught (in promise): TypeError: _this.firebase.initFirebase is not a function\r\nTypeError: _this.firebase.initFirebase is not a function`\r\n\r\nmy code : (note that this code [without initFirebase()] is totally working on another computer.  \r\n`import {Firebase} from \"@ionic-native/firebase\";\r\n  public start() {\r\n    return this.platform.ready().then(() => {\r\n\t  this.firebase.initFirebase();\r\n      this.firebase.getToken().then(token => {\r\n          console.log(token)\r\n          this.api.post('tg.php', {token}).subscribe(() => {\r\n          });\r\n        }\r\n      ).catch(err => console.log(err));\r\n    });\r\n  }\r\n`"},"comment":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/comments/418883574","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/822#issuecomment-418883574","issue_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/822","id":418883574,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODg4MzU3NA==","user":{"login":"willmero","id":6343859,"node_id":"MDQ6VXNlcjYzNDM4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/6343859?v=4","gravatar_id":"","url":"https://api.github.com/users/willmero","html_url":"https://github.com/willmero","followers_url":"https://api.github.com/users/willmero/followers","following_url":"https://api.github.com/users/willmero/following{/other_user}","gists_url":"https://api.github.com/users/willmero/gists{/gist_id}","starred_url":"https://api.github.com/users/willmero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmero/subscriptions","organizations_url":"https://api.github.com/users/willmero/orgs","repos_url":"https://api.github.com/users/willmero/repos","events_url":"https://api.github.com/users/willmero/events{/privacy}","received_events_url":"https://api.github.com/users/willmero/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T21:13:39Z","updated_at":"2018-09-05T21:13:39Z","author_association":"NONE","body":"Was able to use the `FirebasePlugin.getToken()` function after I called `FirebasePlugin.initFirebase()` successfully, though if I try to push out a notification through the FCM console, I get an error stating `Unregistered registration token`. Hmm."}}
{"actor":{"display_login":"willmero"}}