{"action":"opened","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1340","repository_url":"https://api.github.com/repos/invertase/react-native-firebase","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1340/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1340/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1340/events","html_url":"https://github.com/invertase/react-native-firebase/issues/1340","id":344301221,"node_id":"MDU6SXNzdWUzNDQzMDEyMjE=","number":1340,"title":"Android No notification on foreground","user":{"login":"fedeamura","id":4476197,"node_id":"MDQ6VXNlcjQ0NzYxOTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4476197?v=4","gravatar_id":"","url":"https://api.github.com/users/fedeamura","html_url":"https://github.com/fedeamura","followers_url":"https://api.github.com/users/fedeamura/followers","following_url":"https://api.github.com/users/fedeamura/following{/other_user}","gists_url":"https://api.github.com/users/fedeamura/gists{/gist_id}","starred_url":"https://api.github.com/users/fedeamura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedeamura/subscriptions","organizations_url":"https://api.github.com/users/fedeamura/orgs","repos_url":"https://api.github.com/users/fedeamura/repos","events_url":"https://api.github.com/users/fedeamura/events{/privacy}","received_events_url":"https://api.github.com/users/fedeamura/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T05:47:56Z","updated_at":"2018-07-25T05:47:56Z","closed_at":null,"author_association":"NONE","body":"When the app is on foreground no notification is shown...\r\nThe logcat shows me this:\r\n\r\n W/FirebaseMessaging: Error while parsing timestamp in GCM event\r\n    java.lang.NumberFormatException: s == null\r\n        at java.lang.Integer.parseInt(Integer.java:570)\r\n        at java.lang.Integer.parseInt(Integer.java:643)\r\n        at com.google.firebase.messaging.zzb.zzc(Unknown Source:81)\r\n        at com.google.firebase.messaging.zzb.zze(Unknown Source:2)\r\n        at com.google.firebase.messaging.FirebaseMessagingService.zzd(Unknown Source:280)\r\n        at com.google.firebase.iid.zzc.run(Unknown Source:4)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)\r\n        at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:7)\r\n        at java.lang.Thread.run(Thread.java:764)\r\n\r\nOn background works well...\r\nThis is and example of the notification send:\r\n\r\n{\r\n\t\"to\":\"token\",\r\n\t\"notification\" : {\r\n\t\t\"title\":\"Su requerimiento numero WSXQWE/2018 esta siento atendido\",\r\n\t\t\"body\" : \"Nuestras areas operativas estan trabajando en su requerimiento\"\r\n\t},\r\n \t\"data\":{\r\n\t\t\"accion\":\"detalle_requerimiento\",\r\n\t\t\"data\":17\r\n\t},\r\n\t\"priority\": \"high\"\r\n}"}}
{"actor":{"display_login":"fedeamura"}}