firebase-admob

The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers should follow the instructions here:

梦想的初衷 提交于 2021-01-29 19:57:46
问题 Launching lib/main.dart on sdk gphone x86 arm in debug mode... Running Gradle task 'assembleDebug'... ✓ Built build/app/outputs/flutter-apk/app-debug.apk. Installing build/app/outputs/flutter-apk/app.apk... E/AndroidRuntime(11877): FATAL EXCEPTION: main E/AndroidRuntime(11877): Process: com.example.truthfxac, PID: 11877 E/AndroidRuntime(11877): java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException: E/AndroidRuntime

How to position Firebase Admob on the bottom after keyboard is closed in Flutter?

孤街醉人 提交于 2020-12-13 05:57:10
问题 I am using firebase_admob package. I use the following code and manage to make the Admob banner show on top of keyboard. @override Widget build(BuildContext context) { myBanner.show( anchorOffset: MediaQuery.of(context).viewInsets.bottom, anchorType: AnchorType.bottom) ); return Scaffold( //Other codes ); } However, when the keyboard is closed, the banner won't move to bottom. How to solve this? 回答1: Problem solved by using [admob_flutter] package which can simply add the banner as a widget

Android Google AdMob: Could not parse Event FE preflight response BUT I have correctly indicated the Publisher ID

笑着哭i 提交于 2020-07-23 08:51:10
问题 ConsentInformation consentInformation = ConsentInformation.getInstance(that); String[] publisherIds = {"pub-XYZYXYZYXYZYXYZXY"}; consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() { @Override public void onConsentInfoUpdated(ConsentStatus consentStatus) { Consent consent = new Consent(); if(!ConsentInformation.getInstance(that).isRequestLocationInEeaOrUnknown()) { consentCallback(that, new AdRequest.Builder().build()); } else { if(consentStatus ==

Android Google AdMob: Could not parse Event FE preflight response BUT I have correctly indicated the Publisher ID

孤人 提交于 2020-07-23 08:49:28
问题 ConsentInformation consentInformation = ConsentInformation.getInstance(that); String[] publisherIds = {"pub-XYZYXYZYXYZYXYZXY"}; consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() { @Override public void onConsentInfoUpdated(ConsentStatus consentStatus) { Consent consent = new Consent(); if(!ConsentInformation.getInstance(that).isRequestLocationInEeaOrUnknown()) { consentCallback(that, new AdRequest.Builder().build()); } else { if(consentStatus ==

Android Google AdMob: Could not parse Event FE preflight response BUT I have correctly indicated the Publisher ID

此生再无相见时 提交于 2020-07-23 08:49:07
问题 ConsentInformation consentInformation = ConsentInformation.getInstance(that); String[] publisherIds = {"pub-XYZYXYZYXYZYXYZXY"}; consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() { @Override public void onConsentInfoUpdated(ConsentStatus consentStatus) { Consent consent = new Consent(); if(!ConsentInformation.getInstance(that).isRequestLocationInEeaOrUnknown()) { consentCallback(that, new AdRequest.Builder().build()); } else { if(consentStatus ==

Android Google AdMob: Could not parse Event FE preflight response BUT I have correctly indicated the Publisher ID

爷,独闯天下 提交于 2020-07-23 08:48:06
问题 ConsentInformation consentInformation = ConsentInformation.getInstance(that); String[] publisherIds = {"pub-XYZYXYZYXYZYXYZXY"}; consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() { @Override public void onConsentInfoUpdated(ConsentStatus consentStatus) { Consent consent = new Consent(); if(!ConsentInformation.getInstance(that).isRequestLocationInEeaOrUnknown()) { consentCallback(that, new AdRequest.Builder().build()); } else { if(consentStatus ==

Flutter App Integrating AdColony with Mediation

て烟熏妆下的殇ゞ 提交于 2020-06-17 15:47:06
问题 When setting up AdMob Mediation With Flutter ( firebase_admob: ^0.9.3+2) I'm getting the following error Note: I have successfully set up the ADmob integration I follow all the steps mentioned here : Integrating AdColony with Mediation as per step 3, this is my app/build.gradle file dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation

Can't link admob with firebase iOS/Android project

夙愿已清 提交于 2020-05-25 05:20:21
问题 I have two accounts: "A" and "B": A is main account that hosts iOS/Android unity mobile game on Firebase. B is using for admob integrated to iOS/Android mobile game. I'm getting error when trying to link admob analytics to the Firebase project. I shared firebase project with B by granting permissions as "owner". So account B currently has all access to Firebase mobile app game. When I'm trying to link admob with Firebase in "App settings" next error appears: Can't link to this Firebase