You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a link to the affected event from your Sentry account
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node(raven for node)
other:
Description
When using this package in React Native (via react-native-sentry), there are warnings shown about using AsyncStorage from react-native as opposed to @react-native-community/async-storage.
Warning: Async Storage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. See https://github.com/react-native-community/react-native-async-storage
We highly recommend ppl to use our react native SDK instead of using raven-js.
Please see and use @sentry/react-nativegetsentry/sentry-react-native#612
Provide a link to the affected event from your Sentry accountPackage + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Description
When using this package in React Native (via
react-native-sentry
), there are warnings shown about using AsyncStorage from react-native as opposed to @react-native-community/async-storage.Importing from both react-native and @react-native-community/async-storage creates a race condition between the packages which can cause hard to debug issues.
This could probably be resolved fairly easily by changing the dependencies to include @react-native-community/async-storage and the RN plugin.
The text was updated successfully, but these errors were encountered: