This repository was archived by the owner on Sep 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
features/fixtures/sampler Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React , { Component } from 'react'
22import { StyleSheet , Text , View } from 'react-native'
3- import _bugsnag from './index.js' ;
3+ import bugsnag from './index.js' ;
44
55function longStackB ( index ) {
66 if ( index < 1200 ) {
@@ -16,16 +16,16 @@ function longStackA(index) {
1616}
1717
1818function stoppedSession ( ) {
19- _bugsnag . startSession ( )
20- _bugsnag . stopSession ( )
21- _bugsnag . notify ( new Error ( "Stopped session error" ) )
19+ bugsnag . startSession ( )
20+ bugsnag . stopSession ( )
21+ bugsnag . notify ( new Error ( "Stopped session error" ) )
2222}
2323
2424function resumedSession ( ) {
25- _bugsnag . startSession ( )
26- _bugsnag . stopSession ( )
27- _bugsnag . resumeSession ( )
28- _bugsnag . notify ( new Error ( "Resumed session error" ) )
25+ bugsnag . startSession ( )
26+ bugsnag . stopSession ( )
27+ bugsnag . resumeSession ( )
28+ bugsnag . notify ( new Error ( "Resumed session error" ) )
2929}
3030
3131type Props = { } ;
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ const config = new Configuration('my API key!')
66var endpoint = Platform . OS === 'ios' ? 'http://localhost:9339' : 'http://10.0.2.2:9339'
77config . delivery = new StandardDelivery ( endpoint , endpoint )
88config . autoCaptureSessions = false
9- const _bugsnag = new Client ( config )
9+ const bugsnag = new Client ( config )
1010
11- export default _bugsnag ;
11+ export default bugsnag ;
1212
1313import { AppRegistry } from 'react-native'
1414import App from './App'
You can’t perform that action at this time.
0 commit comments