-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
72 lines (60 loc) · 2.28 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import Bugsnag from "@bugsnag/react-native";
Bugsnag.start();
/**
* @format
*/
import {AppRegistry, NativeModules} from 'react-native';
import {name as appName} from './app.json';
import zipy from 'zipyai-react-native';
import MyApp from './App';
// import Instabug, { InvocationEvent } from 'instabug-reactnative';
zipy.init('xxxxx');
// import {endAppStartup, initialize} from '@embrace-io/react-native';
import React from 'react';
import { withGestureCapture } from "zipyai-react-native";
// import {multiply} from 'zipy-test';
// import BugsnagPerformance from '@bugsnag/react-native-performance'
// Instabug.init({
// token: '8df952f58904eb2136a775921239df15',
// invocationEvents: [InvocationEvent.shake, InvocationEvent.screenshot, InvocationEvent.floatingButton],
// });
// import { initialize as clarityInitialize } from 'react-native-clarity';
// import * as Sentry from "@sentry/react-native";
// Sentry.init({
// dsn: "https://4e9a8813df40f1594edd8111ac96e536@o4507406330888192.ingest.us.sentry.io/4507406535229440",
// // Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// // We recommend adjusting this value in production.
// tracesSampleRate: 1.0,
// _experiments: {
// // profilesSampleRate is relative to tracesSampleRate.
// // Here, we'll capture profiles for 100% of transactions.
// profilesSampleRate: 1.0,
// },
// });
// import Smartlook from 'react-native-smartlook-analytics'
// Smartlook.instance.preferences.setProjectKey(
// 'c35d3361ac069354d84d161f78ca703c45895190'
// );
// Smartlook.instance.start();
// clarityInitialize("mn296b8b06");
const Appp = () => {
// React.useEffect(() => {
// // Note: Initialize is a promise, so if you want to perform an action
// // and it must be tracked, it is recommended to use await/then
// // to wait for the method to finish
// initialize().then(hasStarted => {
// if (hasStarted) {
// endAppStartup();
// }
// });
// }, []);
// multiply(2,3);
// NativeModules.ZipyaiReactNative.crash();
// BugsnagPerformance.start({ apiKey: 'b9f500c4aaf6b41e06f94b511e4bfab0' })
return (
// <GestureCapture>
<MyApp />
// </GestureCapture>
);
};
AppRegistry.registerComponent(appName, () => withGestureCapture(Appp));