Closed lukefanning closed 8 years ago
Great work! Thanks for sharing your solution, It's nice to handle things like mActivity.getIntent().removeExtra(...)
(I didn't know this before) in native code, that will be more simple than doing it in JS.
Hi, @Neson : background handling still not working. able to create notification in the tray. and the listener Notification.addListener('press', function(e) { console.log(e); }); works when app is running in foreground. But listener not getting called when app is running in the background.
"react": "^15.2.1",
"react-native": "^0.31.0",
"react-native-fcm": "^1.0.16",
"react-native-system-notification": "^0.2.0",
after linking app as https://facebook.github.io/react-native/docs/linking.html
explained here,
app is not reloading everytime, instead resume from background. But event listener still not getting called.
Need help.
Thanks in advance
@Neson I have come up with one potential solution for resolving #18. I have tested it quite a bit and it works in exactly the way that we need it to for the app we are building. Let me know what you think!