diff --git a/packages/app-distribution/ios/RNFBAppDistribution/RNFBAppDistributionModule.m b/packages/app-distribution/ios/RNFBAppDistribution/RNFBAppDistributionModule.m index 904a626c72..3467b9cb4e 100644 --- a/packages/app-distribution/ios/RNFBAppDistribution/RNFBAppDistributionModule.m +++ b/packages/app-distribution/ios/RNFBAppDistribution/RNFBAppDistributionModule.m @@ -96,12 +96,10 @@ - (dispatch_queue_t)methodQueue { resolve(@{ @"displayVersion" : release.displayVersion, @"buildVersion" : release.buildVersion, - @"releaseNotes" : release.releaseNotes, + @"releaseNotes" : release.releaseNotes == nil ? [NSNull null] : release.releaseNotes, @"isExpired" : [NSNumber numberWithBool:release.isExpired], @"downloadURL" : release.downloadURL }); - - resolve([NSNull null]); // FIXME read the result into a map and return it! }]; }