init Instabug & fix TestFairy check [iOS]

This commit is contained in:
Roman Volosovskyi 2017-08-11 10:10:11 +03:00
parent 13dcf9dafe
commit dabaa0ae1c
1 changed files with 2 additions and 2 deletions

View File

@ -39,10 +39,10 @@
[self.window makeKeyAndVisible];
[SplashScreen show];
NSString *testfairyEnabled = [ReactNativeConfig envFor:@"TESTFAIRY_ENABLED"];
if([testfairyEnabled isEqualToString:@"q"]){
if([testfairyEnabled isEqualToString:@"1"]){
[TestFairy begin:@"969f6c921cb435cea1d41d1ea3f5b247d6026d55"];
//[Instabug startWithToken:@"5534212f4a44f477c9ab270ab5cd2062" invocationEvent:IBGInvocationEventShake];
}
[Instabug startWithToken:@"5534212f4a44f477c9ab270ab5cd2062" invocationEvent:IBGInvocationEventShake];
return YES;
}