diff --git a/ios/RNIapIos.m b/ios/RNIapIos.m index da17265cd..51399ca3a 100644 --- a/ios/RNIapIos.m +++ b/ios/RNIapIos.m @@ -236,8 +236,8 @@ -(NSDictionary*)getProductObject:(SKProduct *)product { @"price" : [product.price stringValue], @"currency" : currencyCode, @"type": itemType, - @"title" : product.localizedTitle, - @"description" : product.localizedDescription, + @"title" : product.localizedTitle ? product.localizedTitle : @"", + @"description" : product.localizedDescription ? product.localizedDescription : @"", @"localizedPrice" : localizedPrice }; }