evollu / evollu/react-native-fcm

error: use of undeclared identifier 'FIRInstanceID'

Open
#1,016 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

"react-native": "^0.53.3",
"react-native-fcm": "^14.1.0",

IOS get this issue, how can i fixed it ? very thanks

/Users/Apple/ajnative/myapp/node_modules/react-native-fcm/ios/RNFIRMessaging.m:414:7: error: use of undeclared identifier 'FIRInstanceID'
[[FIRInstanceID instanceID]tokenWithAuthorizedEntity:entity scope:kFIRInstanceIDScopeFirebaseMessaging options:@{@"apns_token": deviceToken} handler:^(NSString * _Nullable token, NSError * _Nullable error) {
^
/Users/Apple/ajnative/myapp/node_modules/react-native-fcm/ios/RNFIRMessaging.m:429:7: error: use of undeclared identifier 'FIRInstanceID'
[[FIRInstanceID instanceID]deleteTokenWithAuthorizedEntity:entity scope:kFIRInstanceIDScopeFirebaseMessaging handler:^(NSError * _Nullable error) {
^
/Users/Apple/ajnative/myapp/node_modules/react-native-fcm/ios/RNFIRMessaging.m:441:5: error: use of undeclared identifier 'FIRInstanceID'
[[FIRInstanceID instanceID]deleteIDWithHandler:^(NSError * _Nullable error) {
^
3 errors generated.
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.