Skip to content

Admob Flutter plugin that shows banner ads using native platform views.

License

Notifications You must be signed in to change notification settings

6ch/admob_flutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Announcement: I'm looking for a maintainer

I'm really sorry to announce this, but my schedules have been too tight for me the last months that I can't find good time to maintain this project. I'm looking for a possible maintainer to transfer this project to, someone who is sure to perfectly handle it and keep it updated. Please drop me a message on youssef.kbe@gmail.com.

admob_flutter

version version GitHub stars GitHub forks GitHub issues

Demo

A new Flutter plugin that uses native platform views to show Admob banner ads!

This plugin also has support for Interstitial and Reward ads.

This is an early version of the plugin, my primary goal was to overcome the banner ads positioning limitations by implementing a platform views solution, and keeping things simple and stupid because I'm still learning about many Flutter related stuff. I will actively work on adding missing features, improving, and refactoring the code in my free time.

Installation

  1. Depend on it Add this to your package's pubspec.yaml file:
dependencies:
  admob_flutter: "^0.3.1"
  1. Install it You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

  1. Import it Now in your Dart code, you can use:
import 'package:admob_flutter/admob_flutter.dart';

Supported Platforms

  • 0.3.0 >= iOS
  • 0.2.0 >= AndroidX
  • FlutterSdk >=2.1.0 < 3.0.0

Supported Admob features

  • Banner Ads
  • Interstitial Ads
  • Reward Ads
  • Native Ads (Coming soon)

View the rest of the documentation on the repository Wiki!

Pull Requests

I welcome and encourage all pull requests. Here are some basic rules to follow to ensure timely addition of your request:

  1. Match the document style as closely as possible.
  2. Please keep PR titles easy to read and descriptive of changes, this will make them easier to review/merge.
  3. Pull requests must be made against master branch for this repository.
  4. Check for existing issues first, before filing an issue.
  5. Have fun!

About

Admob Flutter plugin that shows banner ads using native platform views.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 37.6%
  • Dart 34.0%
  • Kotlin 18.5%
  • Ruby 5.9%
  • Objective-C 4.0%