evollu / evollu/react-native-fcm

Build fails in newly generated project

Open
#667 14 comments 9 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.50.3"`
After running: `react-native link react-native-fcm`
My pod file contains this lines:
```
pod 'Firebase/Messaging'
pod 'react-native-fcm', :path => '../node_modules/react-native-fcm'
```

when trying to pod install:
```
Installing React (0.11.0)
Using nanopb (0.3.8)
Installing react-native-fcm (10.0.3)
[!] React has been deprecated
```

then when Im building IOS

```
In file included from /Users/alex/dev/tandem/node_modules/react-native-fcm/ios/RNFIRMessaging.m:1:
/Users/alex/dev/tandem/node_modules/react-native-fcm/ios/RNFIRMessaging.h:7:9: fatal error: 'React/RCTEventEmitter.h' file not found
#import
```

if I remove ` pod 'react-native-fcm', :path => '../node_modules/react-native-fcm'`
```
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RNFIRMessaging", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
```

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.