[ios][config] Always resolve activated status
This commit is contained in:
parent
b70eb274ee
commit
69872fa5b9
|
@ -109,11 +109,7 @@ RCT_EXPORT_METHOD(activateFetched:(RCTPromiseResolveBlock)resolve
|
|||
rejecter:(RCTPromiseRejectBlock)reject)
|
||||
{
|
||||
BOOL status = [self.remoteConfig activateFetched];
|
||||
if (status) {
|
||||
resolve(@(status));
|
||||
} else {
|
||||
reject(@"activate_failed", @"Did not activate remote config", nil);
|
||||
}
|
||||
resolve(@(status));
|
||||
}
|
||||
|
||||
RCT_EXPORT_METHOD(configValueForKey:(NSString *)key
|
||||
|
|
Loading…
Reference in New Issue