Skip to content

Commit 96467f8

Browse files
tomautyHeshamMegid
authored andcommitted
Fix isRunningLive always returning true on device (#210)
1 parent 53dbcf3 commit 96467f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ios/RNInstabug/InstabugReactBridge.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,9 @@ - (dispatch_queue_t)methodQueue {
583583
if (isRunningTestFlightBeta || hasEmbeddedMobileProvision)
584584
{
585585
result = NO;
586+
} else {
587+
result = YES;
586588
}
587-
result = YES;
588589
#endif
589590
callback(@[[NSNumber numberWithBool:result]]);
590591
}

0 commit comments

Comments
 (0)