Coder Social home page Coder Social logo

[firebase_admob] PlatformException(no_targeting_info, a null targetingInfo object was provided for rewarded video, null) about flutterfire HOT 4 CLOSED

firebase avatar firebase commented on August 26, 2024
[firebase_admob] PlatformException(no_targeting_info, a null targetingInfo object was provided for rewarded video, null)

from flutterfire.

Comments (4)

BondarenkoStas avatar BondarenkoStas commented on August 26, 2024

@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/.

from flutterfire.

iapicca avatar iapicca commented on August 26, 2024

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

from flutterfire.

bparrishMines avatar bparrishMines commented on August 26, 2024

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

from flutterfire.

russellwheatley avatar russellwheatley commented on August 26, 2024

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.

from flutterfire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.