react-native-fcm: [ERROR] "_FCMNotificationReceived", referenced from:
When i run react-native run-ios,occured as follow
"_FCMNotificationReceived", referenced from:
-[AppDelegate application:didReceiveRemoteNotification:fetchCompletionHandler:] in AppDelegate.o
-[AppDelegate application:didReceiveRemoteNotification:fetchCompletionHandler:] in AppDelegate.o
any one who suffered the same things?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 26 (6 by maintainers)
I ran
react-native link react-native-fcmagain, followed by a clean build, and now it works! Apparently some links had been lost in all the updates. Android was correctly linked still, but not IOS.Thanks!
To fix it, I had to update the pod file like below.