Code Monkey home page Code Monkey logo

mauimtadmob's Introduction

MauiMTAdmob

Package name: Plugin.MauiMTAdmob

Latest version: 1.1.0

The licensed version unlocks the mandatory Consent required by Google since the 16th of January. If you like, you can use the unlicensed version of the plugin and implement your choice of Certified CMP. The license will help me to continue updating and supporting this plugin adding all the newer features that Google implements.

If you are looking for the Xamarin version of this plugin, you can visit: MTAdmob

Current Status (Version 1.1.0)

Android iOS Windows Mac
Banner ✔️ ✔️
Interstitial ✔️ ✔️
Rewarded ✔️ ✔️
Rewarded Interstitial ✔️ ❌*

*They are implemented but currently, they are not working. Probably something in the Admob SDK. I'm investigating it.

Methods

Banner Interstitial Rewarded Rewarded Interstitial
LoadAd LoadInterstitial LoadRewarded LoadRewardedInterstitial
ShowInterstitial ShowRewarded ShowRewardedInterstitial
IsInterstitialLoaded IsRewardedLoaded IsRewardedInterstitialLoaded

Events

Banner Interstitial Rewarded Rewarded Interstitial
AdsLoaded OnInterstitialLoaded OnRewardedLoaded OnRewardedLoaded
AdsFailedToLoad OnInterstitialFailedToLoad OnRewardedFailedToLoad OnRewardedFailedToLoad
AdsImpression OnInterstitialImpression OnRewardedImpression OnRewardedImpression
AdsClicked OnInterstitialOpened OnRewardedOpened OnRewardedOpened
AdsOpened OnInterstitialFailedToShow OnRewardedFailedToShow OnRewardedFailedToShow
AdsClosed OnInterstitialClosed OnRewardedClosed OnRewardedClosed
AdsSwiped OnInterstitialClicked* OnRewardedClicked* OnRewardedClicked*
OnUserEarnedReward OnUserEarnedReward

*Only supported on iOS

Important for Android

if you are receiving some errors about UMP while compiling your projects, add the following code to your csproj file:

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">		
	<AndroidLibrary Include="Dependencies\user-messaging-platform-2.0.0.aar" Bind="false" />
</ItemGroup>

Now, follow these steps:

  • Create a folder "Dependencies" in your project
  • download the file user-messaging-platform-2.0.0.aar from internet or from this repository.
  • Copy the file in this folder
  • Build your project and everything will compile correctly

This might not be required anymore since version 1.0.1

Xamarin.Firebase.iOS.Core 8.10.0.1

If you encounter this error while using this plugin, you can solve it following this comment: xamarin/GoogleApisForiOSComponents#555 (comment)

mauimtadmob's People

Contributors

marcojak avatar

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.