-
-
Notifications
You must be signed in to change notification settings - Fork 353
Description
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
Output of node -v && npm -v && npm ls --prod --depth=0
v8.9.0
5.5.1
├── react-apollo@2.0.4
├── react-dom@16.2.0
├── react-native@0.51.0
├── react-native-dash@0.0.8
├── react-native-fcm@11.2.0
├── react-native-firebase-crash-report@1.3.0
├── react-native-maps@0.17.1
├── react-native-sentry@0.33.0
├── react-native-svg@5.4.2
├── react-native-vector-icons@4.4.2
├── react-native-version-check@2.0.1
├── react-navigation@1.0.0-beta.13
Config:
Sentry.config('https://...@sentry.io/...', {
....
}).install()
I have following issue:
I'm trying to setup sentry in my react-native project without success.
I've already put up an issue in sentry-wizard regarding users that use swift instead of objC because the setup is not done properly when using swift.
But basically, after linking everything and manually add the excerpt of code to AppDelegate.swift I do pod install to get the Sentry libs, but apparently React Pod also comes as a dependency, despite being deprecated. I'm not sure if that's causing the issue, but after all these steps, while build the project I always get 'RCTEventEmitter.h' file not found
in RNSentryEventEmitter.h
even though I can navigate to the RCTEventEmitter interface file.
Any help would be appreciated.
Thanks in advance.
Steps to reproduce:
- React Native project using swift for iOS
- yarn add react-native-sentry
- react-native link react-native-sentry
- pod install
- Manually add missing code to AppDelegate.swift
- Build Project
Expected result:
- Successful build