Fix contentUrl in AdRequest on Android
This commit is contained in:
parent
5486f55da3
commit
2853d77935
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user