File tree Expand file tree Collapse file tree 9 files changed +3640
-75
lines changed Expand file tree Collapse file tree 9 files changed +3640
-75
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ buildscript {
24
24
classpath(" com.android.tools.build:gradle:8.1.0" )
25
25
classpath(" com.facebook.react:react-native-gradle-plugin" )
26
26
classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion " )
27
- classpath(" com.instabug.library:instabug-plugin:15 .0.1 " )
27
+ classpath(" com.instabug.library:instabug-plugin:16 .0.0 " )
28
28
}
29
29
}
30
30
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ - (void)oomCrash {
59
59
@throw exception;
60
60
}
61
61
RCT_EXPORT_METHOD (sendFatalHang) {
62
- [NSThread sleepForTimeInterval: 3 .0f ];
62
+ [NSThread sleepForTimeInterval: 6 .0f ];
63
63
}
64
64
65
65
RCT_EXPORT_METHOD (sendOOM) {
Original file line number Diff line number Diff line change @@ -213,18 +213,6 @@ export const SettingsScreen: React.FC = () => {
213
213
} ) ;
214
214
} }
215
215
/>
216
- < ListTile
217
- title = "Add Experiments"
218
- onPress = { ( ) => {
219
- Instabug . addExperiments ( [ 'exp1' , 'exp2' ] ) ;
220
- } }
221
- />
222
- < ListTile
223
- title = "Remove Experiments"
224
- onPress = { ( ) => {
225
- Instabug . removeExperiments ( [ 'exp1' , 'exp2' ] ) ;
226
- } }
227
- />
228
216
229
217
< VerticalListTile title = "User Identification" >
230
218
< VStack >
Original file line number Diff line number Diff line change 55
55
"@types/node" : " ^20.4.8" ,
56
56
"@types/react-native" : " ^0.72.2" ,
57
57
"axios" : " 1.11.0" ,
58
- "@ expo/config-plugins " : " 7.8.4 " ,
58
+ "expo" : " ^50.0.0 " ,
59
59
"babel-core" : " 7.0.0-bridge.0" ,
60
60
"babel-jest" : " ^29.6.2" ,
61
61
"commander" : " ^11.0.0" ,
Original file line number Diff line number Diff line change
1
+ export interface PluginProps {
2
+ name ?: string ;
3
+ forceUploadSourceMaps ?: boolean ;
4
+ addScreenRecordingBugReportingPermission ?: boolean ;
5
+ addBugReportingIosMediaPermission ?: boolean ;
6
+ }
Original file line number Diff line number Diff line change @@ -3,20 +3,14 @@ import { createRunOncePlugin } from 'expo/config-plugins';
3
3
4
4
import { withInstabugAndroid } from './withInstabugAndroid' ;
5
5
import { withInstabugIOS } from './withInstabugIOS' ;
6
-
7
- export interface PluginProps {
8
- name ?: string ;
9
- forceUploadSourceMaps ?: boolean ;
10
- addScreenRecordingBugReportingPermission ?: boolean ;
11
- addBugReportingIosMediaPermission ?: boolean ;
12
- }
6
+ import { PluginProps } from './pluginProps' ;
13
7
14
8
const instabugPackage = require ( '../../package.json' ) as {
15
9
name : string ;
16
10
version : string ;
17
11
} ;
18
12
19
- const withInstabugPlugin : ConfigPlugin < PluginProps > = ( config , props = { } ) => {
13
+ const withInstabugPlugin : ConfigPlugin < PluginProps > = ( config , props : PluginProps = { } ) => {
20
14
const {
21
15
forceUploadSourceMaps = false ,
22
16
addScreenRecordingBugReportingPermission = false ,
Original file line number Diff line number Diff line change 1
1
import type { ConfigPlugin } from 'expo/config-plugins' ;
2
2
import { withAppBuildGradle , withAndroidManifest } from 'expo/config-plugins' ;
3
- import type { PluginProps } from './withInstabug ' ;
3
+ import type { PluginProps } from './pluginProps ' ;
4
4
5
5
export const withInstabugAndroid : ConfigPlugin < PluginProps > = ( config , props ) => {
6
6
config = withAppBuildGradle ( config , ( configAndroid ) => {
Original file line number Diff line number Diff line change 1
1
import type { ConfigPlugin , XcodeProject } from 'expo/config-plugins' ;
2
2
import { withXcodeProject , withInfoPlist } from 'expo/config-plugins' ;
3
- import type { PluginProps } from './withInstabug ' ;
3
+ import type { PluginProps } from './pluginProps ' ;
4
4
import * as path from 'path' ;
5
5
import * as fs from 'fs' ;
6
6
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments