admin管理员组文章数量:1401171
I am using Sentry in my Expo managed workflow with "sentry-expo": "~7.0.0". It works perfectly in development mode and even when running with --no-dev --minify. However, after building a preview build with EAS, Sentry does not capture or log any events on the Sentry dashboard.
"dependencies": {
"sentry-expo": "~7.0.0",
"expo": "^52.0.27",
}
Here is how I have Sentry configuration looks like
import * as Sentry from '@sentry/react-native';
import { Alert } from 'react-native';
Sentry.init({
dsn: 'https://a18559a4e743489f8b57247563fe3..........',
enableInExpoDevelopment: true,
debug: true, // Enabled debugging but no errors are logged
enableAutoSessionTracking: true,
onReady: (props) => Alert.alert('Sentry Ready'), // This alert appears, so init is successful
beforeSend(event) {
Alert.alert("
本文标签:
版权声明:本文标题:react native - Sentry Not Logging Events in Expo Preview Build, Works in Development Mode - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人,
转载请联系作者并注明出处:http://www.betaflare.com/web/1744277420a2598482.html,
本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论