-
-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Description
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
SDK:
-
@sentry/react-native(>= 1.0.0) -
react-native-sentry(<= 0.43.2)
SDK version: ^1.8.1
react native version: 0.61.5
Node.js version: 14.11.0
react native cli version: 4.13.0
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
I don't know what is Sentry 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:
There is no an issue
Configuration:
(@sentry/react-native)
Sentry.init({
dsn: 'https://[email protected]/...'
});
I have following issue:
When I try to run my React Native app, I get the following error: ReferenceError: Can't fin variable: performance
If I click in the top stack items I can see this fragment of code:
function getReactNativePerformanceWrapper() {
var INITIAL_OFFSET = performance.now(); // <-- This performance does not exists
return {
now: function () {
return performance.now() - INITIAL_OFFSET;
},
timeOrigin: INITIAL_TIME,
};
}
The above code are in node_modules > @sentry > utils > dist > misc.js
Actual result:
Expected result:
I expect the app works fine like yesterday
Metadata
Metadata
Assignees
Labels
No labels
