2
0
mirror of synced 2025-01-19 18:59:09 +00:00

Fix contentUrl in AdRequest on Android

This commit is contained in:
Jimmy Mayoukou 2018-04-10 11:03:51 +02:00
parent 5486f55da3
commit 2853d77935

View File

@ -58,7 +58,7 @@ class RNFirebaseAdMobUtils {
} }
if (request.hasKey("contentUrl")) { if (request.hasKey("contentUrl")) {
requestBuilder.setContentUrl(request.getString("setContentUrl")); requestBuilder.setContentUrl(request.getString("contentUrl"));
} }
if (request.hasKey("requestAgent")) { if (request.hasKey("requestAgent")) {
@ -143,7 +143,7 @@ class RNFirebaseAdMobUtils {
case "SMART_BANNER": case "SMART_BANNER":
return AdSize.SMART_BANNER; return AdSize.SMART_BANNER;
case "SMART_BANNER_LANDSCAPE": case "SMART_BANNER_LANDSCAPE":
return AdSize.SMART_BANNER; return AdSize.SMART_BANNER;
} }
} }
} }