Libin Lu

Results 125 comments of Libin Lu

does this happen to all devices? try newer versions?

from your crash log, some react or your JS crashed. check the logic of handling FCM request permission handler?

you can say in payload ``` const payload = { "notification": { "title": "title", "body": "message" }, "data": { "screen": "[your target screen]" } } ``` then in notification handler...

this.setState({ url: url_open ? url_open : false }) sets states in next event loop. that might be your issue? Does the callback get called?

sorry I don't quite understand what you want

why currently you can't? someone opened an issue that notification.opened_from_tray is undefined in getInitialNotification

I haven't changed any behavior recently. don't you see it in ` FCM.on(FCMEvent.Notification`?

so you are saying when you tap on notification you don't see any callback in javascript? How about moving the listeners out of component lifecycle?

@dashracer let me check

wait. what OS are you using? iOS? Can't do much for iOS and that's all the system gives me. Duplicated the value in `data`