sentry-react-native
sentry-react-native copied to clipboard
Doesn't catch rendering errors
OS:
- [ ] Windows
- [ ] MacOS
- [ ] Linux
Platform:
- [ ] iOS
- [X] Android
SDK:
- ["^5.12.0" ]
@sentry/react-native
(>= 1.0.0)
SDK version: 0.0.0
react-native
version: "0.69.7"
Are you using Expo?
- [ ] Yes
- [X] No
Are you using sentry.io or on-premise?
- [ ] sentry.io (SaaS)
- [ ] on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(@sentry/react-native
)
Sentry.init({
dsn: 'https://[email protected]/6690753',
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production.
tracesSampleRate: 1.0,
environment: process.env.NODE_ENV || 'production',
});
I have the following issue:
Sentry is not catching a rendering issue. Please find the red screen attached, which has not been catched by Sentry.
Steps to reproduce:
0 - Create a list of 3 item containing : name ShopifyID
Example Item 1: name : "AAA" ShopifyID : 123456
Example Item 2: name : "BBB" ShopifyID : 456789
Example Item 2: name : "CCC" ShopifyID : null
1 - Use this code <View style={{ flex: 1 }}> <View style={{ flex: 1.5 }}><Text>HEADER</Text></View> <View style={{ flex: 4 }}> <FlatList style={{ flex: 1 }} data={this._extractProductReturned()} keyExtractor={(item) => item.ShopifyID.toString()} renderItem={({ item }) => <Text> {item.name} </Text>} ListEmptyComponent={this._renderEmptyFlatList()} persistentScrollbar={true} /> </View> <View style={{ flex: 0.75 }}><Text>FOOTER</Text></View> </View>
Actual result:
Nothing in SENTRY
Expected result:
Entry in SENTRY Dashboard
[Expected result]
Hi @Florent75,
thank you for the message, have you wrapped your application with Sentry.wrap()
?
- https://docs.sentry.io/platforms/react-native/#wrap-your-app
Closing this due to inactivity. If this is still an issue feel free to comment here or open a new issue if the context changed.