You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a remote notification when an app is in the foreground. Then I send a local notification based on the defined information from remote notification to show it in a tray. When I tap on notification(in foreground) from the tray I receive it to the listener, but I haven't "opened_from_tray" flag!!! But on Android I have it!!! I use alert to debug this case. How can I fix this trouble?
When I receive the remote notification in background and tap on it in the tray I have "opened_from_tray": 1 - all right.
The text was updated successfully, but these errors were encountered:
well this sounds like a bug.
try adding "opened_from_tray" in your local notification payload for now.
or if you want to test the correct fix, add [data setValue:@(RCTSharedApplication().applicationState == UIApplicationStateInactive) forKey:@"opened_from_tray"]; before line 154 of RNFIRMessaging.m
RN: 0.42.0
react-native-fcm: 7.4.0
IPhone 5 black, IOS 10.2.1
I get a remote notification when an app is in the foreground. Then I send a local notification based on the defined information from remote notification to show it in a tray. When I tap on notification(in foreground) from the tray I receive it to the listener, but I haven't "opened_from_tray" flag!!! But on Android I have it!!! I use alert to debug this case. How can I fix this trouble?
When I receive the remote notification in background and tap on it in the tray I have "opened_from_tray": 1 - all right.
The text was updated successfully, but these errors were encountered: