ordering-ui-react-native 0.22.39-release → 0.22.40-release
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -2
- package/src/DeliveryApp.tsx +0 -42
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ordering-ui-react-native",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.40-release",
|
|
4
4
|
"description": "Reusable components made in react native",
|
|
5
5
|
"main": "src/index.tsx",
|
|
6
6
|
"author": "ordering.inc",
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
"@react-navigation/stack": "^5.9.3",
|
|
52
52
|
"@segment/analytics-react-native": "2.1.11",
|
|
53
53
|
"@segment/sovran-react-native": "0.2.6",
|
|
54
|
-
"@sentry/react-native": "^2.6.0",
|
|
55
54
|
"@stripe/stripe-react-native": "0.23.0",
|
|
56
55
|
"@types/react-native-loading-spinner-overlay": "^0.5.2",
|
|
57
56
|
"@types/react-native-snap-carousel": "^3.8.4",
|
package/src/DeliveryApp.tsx
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { LogBox, Platform } from 'react-native';
|
|
11
|
-
import * as Sentry from "@sentry/react-native";
|
|
12
11
|
import { OrderingProvider } from 'ordering-components/native';
|
|
13
12
|
import RNBootSplash from "react-native-bootsplash";
|
|
14
13
|
|
|
@@ -23,47 +22,6 @@ import theme from './theme.json';
|
|
|
23
22
|
import AppContainer from './AppContainer';
|
|
24
23
|
import { FacebookPixel } from './components/FacebookPixel';
|
|
25
24
|
|
|
26
|
-
Sentry.init({
|
|
27
|
-
environment: Platform.OS === 'ios' ? 'ios' : 'android',
|
|
28
|
-
dsn: 'https://e5e1115dc93b49109f4ab65f2098bef9@o460529.ingest.sentry.io/5722123',
|
|
29
|
-
release: 'ordering-ui-native@' + process.env.npm_package_version,
|
|
30
|
-
ignoreErrors: [
|
|
31
|
-
'is not defined',
|
|
32
|
-
'is not a function',
|
|
33
|
-
'can\'t find variable',
|
|
34
|
-
'objects are not valid',
|
|
35
|
-
'element type is invalid',
|
|
36
|
-
'requiring module',
|
|
37
|
-
'has not been registered',
|
|
38
|
-
'failed to connect to debugger!',
|
|
39
|
-
'rendered more hooks than',
|
|
40
|
-
'rendered fewer hooks than',
|
|
41
|
-
'should have a queue',
|
|
42
|
-
'the OS most likely terminated',
|
|
43
|
-
'Connection timed out',
|
|
44
|
-
'java.io.EOFException',
|
|
45
|
-
'Abort',
|
|
46
|
-
'Segfault',
|
|
47
|
-
'Failed to allocate a',
|
|
48
|
-
'Application Not Responding',
|
|
49
|
-
'connection no longer valid',
|
|
50
|
-
'IllegalInstruction',
|
|
51
|
-
'React.Children.only expected to receive a single React element child.',
|
|
52
|
-
'unrecognized selector sent to instance'
|
|
53
|
-
],
|
|
54
|
-
tracesSampleRate: 0.2,
|
|
55
|
-
// Release health
|
|
56
|
-
enableAutoSessionTracking: true,
|
|
57
|
-
// Sessions close after app is 10 seconds in the background.
|
|
58
|
-
sessionTrackingIntervalMillis: 10000,
|
|
59
|
-
|
|
60
|
-
integrations: [
|
|
61
|
-
new Sentry.ReactNativeTracing({
|
|
62
|
-
routingInstrumentation: reactNavigationV5Instrumentation,
|
|
63
|
-
})
|
|
64
|
-
]
|
|
65
|
-
});
|
|
66
|
-
|
|
67
25
|
LogBox.ignoreLogs([
|
|
68
26
|
'Sending \`onAnimatedValueUpdate` with no listeners registered.',
|
|
69
27
|
'Non-serializable values were found in the navigation state.',
|