Skip to content

Link without modify podfile and ignore sentry wizard.  #318

@phu-tang

Description

@phu-tang

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

Output of node -v && npm -v && npm ls --prod --depth=0

v6.9.5
3.10.10
EHLife@1.17.1-sentry /Users/phutang/workspace/eh-mobile-pro
├── @expo/ex-navigation@3.1.0 invalid
├── @remobile/react-native-splashscreen@1.0.8
├── babel-polyfill@6.26.0
├── bluebird@3.5.1
├── date-fns@1.29.0
├── es6-symbol@3.1.1
├── faker@4.1.0
├── getstorybook@1.7.0
├── global@4.3.2
├── hoothoot@0.0.10
├── lodash@4.17.4
├── lottie-react-native@2.2.0
├── moment@2.19.4
├── node-emoji@1.5.1
├── node-inspector@0.12.10
├── node-uuid@1.4.7
├── prop-types@15.6.0
├── pusher-js@4.1.0
├── UNMET PEER DEPENDENCY react@16.0.0-alpha.12
├── react-dom@16.0.0-alpha.12
├── UNMET PEER DEPENDENCY react-native@0.51.0
├── react-native-collapsible@0.9.0
├── react-native-communications@2.2.1
├── react-native-config@0.9.1
├── react-native-controlled-listview@0.1.0
├── react-native-drawer@2.3.0
├── react-native-fcm@10.0.3
├── react-native-fetch-blob@0.10.8
├── react-native-google-analytics-bridge@5.2.2
├── react-native-infinite-scroll-view@0.4.2
├── react-native-interactable@0.1.7
├── react-native-keyboard-aware-scroll-view@0.3.0
├── react-native-keyboard-spacer@0.4.1
├── react-native-material-kit@0.5.1 invalid
├── react-native-md-textinput@2.0.5 invalid
├── react-native-mixpanel@0.0.15
├── react-native-pdf-view@0.4.0 invalid
├── react-native-photo-view@1.5.2
├── react-native-sentry@0.32.0
├── react-native-share@1.0.23
├── react-native-simple-modal@5.1.1
├── react-native-svg@5.5.1
├── react-native-tab-view@0.0.70
├── react-native-vector-icons@4.4.2
├── react-redux@5.0.3
├── recompose@0.22.0
├── redux@3.6.0
├── redux-actions@2.0.1
├── redux-api-call@0.3.16
├── redux-batched-actions@0.1.6
├── redux-form@6.5.0
├── redux-ignore@1.2.4
├── redux-observable@0.14.1
├── redux-state-action@1.0.7
├── redux-thunk@2.2.0
├── reselect@2.5.4
├── rxjs@5.5.5
└── victory-native@0.16.0

Config:

Sentry.config('https://...@sentry.io/...', {
....
}).install()

Hi,

I'm trying to upgrade sentry from deprecated version. But I'm facing 3 problesm at this time.

  • Sentry Wizard keep asking me everytime when I run yarn and modify my my native code. Is there any way to avoid it?
  • you add pod 'SentryReactNative', :path => '../node_modules/react-native-sentry', to podfile. The problem is it's clone another version (react/yoga, etc) and can't load bundle because of duplicate package json from react. is there any way to setup with you add this pod (like link ios project like other 3rd libraries instead of link by pod?)
  • I have 2 config, one for staging, one for production. Is it possible to config setting point to staging sentry project and production sentry project (the old version I just simply name the config in ENV, I already have for 2 difference projects for staging and production).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions