React_native_fcm_undeclaired_identifier

I got these message when start to use react-native-fcm

1
2
error: use of undeclared identifier 'FIRMessagingConnectionStateChangedNotification'
   name:FIRMessagingConnectionStateChangedNotification object:nil];

I lot of time consumed, but I found that Firebase version is weired for me.

1
pod install --repo-update

save me.

that’s it.

このエントリーをはてなブックマークに追加