| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
To install the package:
npm install --save @sentry/react-native
# OR
yarn add @sentry/react-nativeHow to use it:
import * as Sentry from "@sentry/react-native";
Sentry.init({
dsn: "__DSN__"
});
Sentry.setTag("myTag", "tag-value");
Sentry.setExtra("myExtra", "extra-value");
Sentry.addBreadcrumb({ message: "test" });
Sentry.captureMessage("Hello Sentry!");If you are coming from react-native-sentry which was our SDK < 1.0 you should follow the upgrade guide and then follow the install steps.
| Back | FazBrowse Home | New Git URL |