-
i'm facing an issue when i tap the received push notification while the app is in background, where my app gives fatal error "Call must be made on main thread, was thrown while invoking complete on target RNFirebaseNotifications", and i applied the solution mentioned here which in summary is adding dispatch_sync to the completion handler of didReceiveNotificationResponse in AppDelegate.m, yet it didn't work. Iam using firebase v5.5.7 This is my AppDelegate.m
I found this block in FNFirebaseNotifications.m
After i added the dispatch_async in the last if else the issue remained, then after changing async to sync, m getting this error "Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1029b4be0)" on the dispatch_sync line. That’s how i added it
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
firebase v5.x.x will receive no support, sorry. It's getting close to a year out of support. This is an example of a way it does not work. Please update to v10.1.0 (current stable versions) of everything and see if you can reproduce If you persist in using v5.x.x, you may find this issue is addressed in the issues list - others have seen it. I believe it's working in current stable versions |
Beta Was this translation helpful? Give feedback.
firebase v5.x.x will receive no support, sorry. It's getting close to a year out of support. This is an example of a way it does not work.
Please update to v10.1.0 (current stable versions) of everything and see if you can reproduce
If you persist in using v5.x.x, you may find this issue is addressed in the issues list - others have seen it. I believe it's working in current stable versions