在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:getsentry/sentry-react-native开源软件地址:https://github.com/getsentry/sentry-react-native开源编程语言:TypeScript 86.1%开源软件介绍:Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions Sentry SDK for React NativeRequirements
Features
Installation and UsageTo install the package: npm install --save @sentry/react-native
# OR
yarn add @sentry/react-native If you are using a version of React Native <= 0.60.x link the package using react-native link @sentry/react-native
# OR, if self hosting
SENTRY_WIZARD_URL=http://sentry.acme.com/ react-native link @sentry/react-native How 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!"); UpgradeIf you are coming from Blog postsTracking Stability in a Bluetooth Low Energy-Based React-Native App. Mobile Vitals - Four Metrics Every Mobile Developer Should Care About. Performance Monitoring Support for React Native. Resources |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论