File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,15 @@ - (dispatch_queue_t)methodQueue {
45
45
overAirVersion :(NSDictionary *)overAirVersion
46
46
) {
47
47
IBGInvocationEvent invocationEvents = 0 ;
48
-
48
+
49
49
for (NSNumber *boxedValue in invocationEventsArray) {
50
50
invocationEvents |= [boxedValue intValue ];
51
51
}
52
-
52
+
53
53
[Instabug setCodePushVersion: codePushVersion];
54
54
55
- IBGOverAirType service = [ArgsRegistry.overAirServices[overAirVersion[@" service" ]] intValue ];
56
- [Instabug setOverAirVersion: overAirVersion[@" version" ] withType: service];
57
-
55
+ [Instabug setOverAirVersion: overAirVersion[@" version" ] withType: [overAirVersion[@" service" ] intValue ]];
56
+
58
57
[RNInstabug initWithToken: token
59
58
invocationEvents: invocationEvents
60
59
debugLogsLevel: sdkDebugLogsLevel
@@ -66,8 +65,7 @@ - (dispatch_queue_t)methodQueue {
66
65
}
67
66
68
67
RCT_EXPORT_METHOD (setOverAirVersion:(NSDictionary *)overAirVersion) {
69
- IBGOverAirType service = [ArgsRegistry.overAirServices[overAirVersion[@" service" ]] intValue ];
70
- [Instabug setOverAirVersion: overAirVersion[@" version" ] withType: service];
68
+ [Instabug setOverAirVersion: overAirVersion[@" version" ] withType: [overAirVersion[@" service" ] intValue ]];
71
69
}
72
70
73
71
RCT_EXPORT_METHOD (setReproStepsConfig:(IBGUserStepsMode)bugMode :(IBGUserStepsMode)crashMode:(IBGUserStepsMode)sessionReplayMode) {
You can’t perform that action at this time.
0 commit comments