Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 28f9cee

Browse files
author
Tom Auty
committed
Fix isRunningLive always returning false on device
1 parent 53dbcf3 commit 28f9cee

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)