Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

bdlukaa/native_admob_flutter

Repository files navigation

native_admob_flutter

Easy-to-make ads in Flutter with Google's AdMob SDK.\ English | [Português](README-PT.md)

⚠️ Deprecated

The project is now archived. Reasons are documented below:

  • Flutter Platform Views: This plugin will never be good enough if the flutter platform views don't work correctly: Virtual Display (AndroidView) should work fine, but the gestures are mapped and performed progamatically, which isn't allowed by the admob policy and can make your account be banned. Hybrid Composition, on the other hand, is unperformatic, buggy and can let to several crashes (by 03/2022) - see open issues. I know that several improvements are being done to Hybrid Composition, but it's currently not usable in production;
  • Google Mobile Ads: This plugin uses the same native implementation (Hybrid Composition) as google_mobile_ads - the ads plugin maintained by the Google Ads Team themselves -, which I believe they'll be able to maintain it better than me;
  • Poor iOS support: (#58) I don't have a macOS to be able to develop for iOS. All the current iOS implementation was done by the community itself. Hybrid Composition on iOS has the same issue as on Android - see open issues - as well, which makes your app unusable.

Get started

To get started with Native Ads for Flutter, read the documentation

✔️ Native Ads (Android-only)
✔️ Banner Ads
✔️ Interstitial Ads
✔️ Rewarded Ads
✔️ App Open Ads
✔️ Rewarded Intersitital Ads

AdMOB only supports ads on mobile. Web and desktop are out of reach

✔️ Android
✔️ iOS (Huge thanks to @clemortel)

Issues and feedback

Please file issues, bugs, or feature requests in our issue tracker.

To contribute a change to this plugin open a pull request.