Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[firebase_admob] PlatformException(no_targeting_info, a null targetingInfo object was provided for rewarded video, null) #44

Closed
GooSync opened this issue Aug 27, 2019 · 4 comments
Labels
impact: customer A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3) plugin: admob type: bug Something isn't working

Comments

@GooSync
Copy link

GooSync commented Aug 27, 2019

It's not a required property

@BondarenkoStas
Copy link

@gbixahue Please provide a small self-contained app that demonstrates the problem. You can include small examples inline if they're enclosed by backticks, or just provide a public link to a github "gist" - https://gist.github.com/.

@iapicca
Copy link

iapicca commented Oct 24, 2019

Hi @gbixahue
I'm closing this issue for inactivity.
If you disagree please write in the comments
and I will reopen it.
Thank you

@bparrishMines
Copy link
Contributor

Reopening since this issue is not solved. We throw a platform exception when targeting info is null for RewardedAds, but not Banner/Interstitial/Native. This can be solved by testing whether RewardedAds actually requires this parameter and removing the null check if not.

Line for reference:
https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_admob/android/src/main/java/io/flutter/plugins/firebaseadmob/FirebaseAdMobPlugin.java#L346

@bparrishMines bparrishMines reopened this Mar 11, 2020
@bparrishMines bparrishMines added the type: bug Something isn't working label Mar 11, 2020
@helenaford helenaford added plugin: admob impact: customer A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3) labels Apr 27, 2020
@russellwheatley
Copy link
Member

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.

@firebase firebase locked and limited conversation to collaborators Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
impact: customer A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3) plugin: admob type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants