{"action":"closed","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/264","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/264/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/264/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/264","id":226661756,"number":264,"title":"Firebase Analytics not working for Android","user":{"login":"sleever","id":11486220,"avatar_url":"https://avatars3.githubusercontent.com/u/11486220?v=3","gravatar_id":"","url":"https://api.github.com/users/sleever","html_url":"https://github.com/sleever","followers_url":"https://api.github.com/users/sleever/followers","following_url":"https://api.github.com/users/sleever/following{/other_user}","gists_url":"https://api.github.com/users/sleever/gists{/gist_id}","starred_url":"https://api.github.com/users/sleever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleever/subscriptions","organizations_url":"https://api.github.com/users/sleever/orgs","repos_url":"https://api.github.com/users/sleever/repos","events_url":"https://api.github.com/users/sleever/events{/privacy}","received_events_url":"https://api.github.com/users/sleever/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-05-05T18:54:38Z","updated_at":"2017-05-23T19:25:02Z","closed_at":"2017-05-23T19:25:02Z","body":"Hello everybody,\r\n\r\nI have currently setup an integration of Firebase within my app which is working fine. It is receiving notifications for Android and iOS and it is reporting data to Firebase Analytics on iOS.\r\n\r\nI have also setup a pageview to be registered.\r\n\r\nHowever, I am not receiving any data on the Android app. Could somebody determine whether there is something obvious missing in a starter implementation?\r\n\r\nThanks in advance.\r\n\r\nBest regards,\r\nStefan\r\n`this.firebase.onTokenRefresh()\r\n\t\t  .subscribe((token: string) => console.log('Got a new token '+token));\r\n\t\t  \r\n\t\tthis.firebase.onNotificationOpen()\r\n\t\t\t.subscribe((notification: string) => {\r\n\t\t\t\tconsole.log(\"hello\");\r\n\t\t\t\tconsole.log(notification);\r\n\t\t\t})\r\n\t\t\t\r\n\t\tthis.firebase.subscribe(\"testing\")\r\n\t\t\t.then(() => console.log('subscribed')) // save the token server-side and use it to push notifications to this device\r\n\t\t\t.catch(error => console.error('not subscribed', error));\r\n\t\t\t\r\n\t\tthis.firebase.logEvent(\"page_view\", {page: \"initiator\"})\r\n\t\t\t.then(() => console.log('measured pageview')) // save the token server-side and use it to push notifications to this device\r\n\t\t\t.catch(error => console.error('not measured pageview', error));`\r\n"}}
{"actor":{"display_login":"sleever"}}