react-native-fcm: FIRApp undefined after upgrading to 2.1.0

When i upgrade this package to the latest 2.1.0 (from 2.0.3) i get an error that FIRApp is undefined in the Appdelegate.m file:

[FIRApp configure];

I’m using xcode 8. Have not tried on xcode 7. When i revert back to 2.0.3 the issue is gone.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 42 (26 by maintainers)

Most upvoted comments

I was having a similar issue The following commands produced analyzer issues: Analyze RNFIRMessaging.m (1 command with analyzer issues)

@antoinerousseau

[[FIRMessaging messaging] setRemoteMessageDelegate:self];

is introduced in latest firebase SDK. try update your pods also try clear your build?

@import UserNotifications; is introduced with iOS10 SDK. Why do you get this error?