We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20527d4 commit 818c88dCopy full SHA for 818c88d
ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeModule.mm
@@ -215,7 +215,7 @@ - (void)adLoader:(nonnull GADAdLoader *)adLoader
215
_nativeAd.delegate = self;
216
_nativeAd.paidEventHandler = ^(GADAdValue *_Nonnull adValue) {
217
NSDictionary *revenueData = @{
218
- @"value" : [adValue.value doubleValue],
+ @"value" : @([adValue.value doubleValue]),
219
@"precision" : @(adValue.precision),
220
@"currency" : adValue.currencyCode ?: @""
221
};
0 commit comments