Skip to content

Commit

Permalink
fix(remote-config, ios): avoid double-resolve when setting custom sig…
Browse files Browse the repository at this point in the history
…nals (#8312)
  • Loading branch information
mikehardy authored Feb 11, 2025
1 parent fa0b28a commit 16bad75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/remote-config/ios/RNFBConfig/RNFBConfigModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,9 @@ - (void)invalidate {
if (error != nil) {
[RNFBSharedUtils rejectPromiseWithNSError:reject error:error];
} else {
resolve(nil);
resolve([self resultWithConstants:[NSNull null] firebaseApp:firebaseApp]);
}
}];

resolve([self resultWithConstants:[NSNull null] firebaseApp:firebaseApp]);
}

#pragma mark -
Expand Down

0 comments on commit 16bad75

Please sign in to comment.