Closed klausbreyer closed 5 years ago
I am having the following issue
try remove DerivedData
folder for a clean build
since you are using rnpm, do you see RNFIRMessaging under Library in Project Navigator?
@evollu at first i did not see a RNFIRMessaging under library.
Then I added it via drag and drop and linked it manually:
I added it to all 4 targets (iphone + tests + tvos + tests - recursive.
also cleaned Xcode, deleted DerivedData, restarted xcode and compiled again.
sidenote:
though I am a cocoa pods user, I linked via cli:
Scanning folders for symlinks in /Users/kb1/versioned/rsvptrainingapp/node_modules (14ms)
rnpm-install info Platform 'ios' module react-native-fcm is already linked
rnpm-install info Platform 'android' module react-native-fcm is already linked
rnpm-install info Platform 'ios' module react-native-firebase is already linked
rnpm-install info Platform 'android' module react-native-firebase is already linked
omg tuns out it works, after I followed closely your readme instructions.
I am very sorry about the circumstances. in fact, this is one of the most detailed and best explanations for build + link that i have run into in 3 years react native.
i just crossed the rn firebase tutorial and hadn't read your own readme.
What version of RN and react-native-fcm are you running? RN 0.56 fcm 16.1
What device are you using? (e.g iOS9 emulator, Android 6 device)? Simulator
Is your app running in foreground, background or not running? not running.
I am really clueless how to start with react native fcm.
Pods are there.
Everything is linked
I am really clueless what to try next.
This is my AppDelegate.m