Skip to content

A simple and robust library for creating & displaying Admob Native Advanced Ads in your React Native App using Native Views.

License

Notifications You must be signed in to change notification settings

ammarahm-ed/react-native-admob-native-ads

Repository files navigation

A simple and robust library for creating & displaying Admob Native Advanced Ads in your React Native App using Native Views.

If you are working on a React Native Application, you might feel limited when it comes to displaying ads that look beautiful and match your app's look and feel. Usually when you show ads in your app, they are loaded inside a WebView and that is why you cannot modify them except changing the width and height in some cases.

How is this library different?

We on the other hand do not load ads in a WebView. We use a more complex, Native Advanced ad format to display ads. We request Admob servers to send us the ad information such as images, headlines, videos etc. Then we send this information over the bridge to React Native and render it in React Native's View and Text components execpt a few exceptions where we use our own custom components.

Can I design the ads myself?

Yes absolutely you can! There are no limitations. You can design ads that look just like your App's design and colors.

I need other ad formats too, which library do you recommend?

There are a bunch of projects trying to figure out showing ads on react-native. Most are not maintained properly. I would recommend that you use react-native-admob/admob by @wjaykim. Banners, Interstitials, AdOpen and Rewarded, Rewarded Interstital ads are supported.

Features

  1. Admob Native Advanced Ads format
  2. Cross Platform (iOS and Android)
  3. Identical Working on both platforms
  4. You can create your ads from ground up as you desire, no limits.
  5. No need to manage any .xml or .xib layout files!
  6. AutoRefresh ad at specific intervals
  7. Support for Video Ads
  8. Ad Mediation (Especially Facebook Ads Mediation(Video & Banners))
  9. Ad Targeting
  10. Typescript definitions

Installation

Links

Old documentation

If you are looking for the documentation for version 0.3.9 and below, head here

Sponsor this project

It costs me alot of time to keep the library updated and address all the bugs & issues. If this library has helped you support me on patreon.

Contact & support

  • Add a ⭐️ star on GitHub to support the project!
  • Create a GitHub issue for bug reports, feature requests, or questions
  • Follow @ammarahm-ed for announcements

Contribute

That is awesome news! There is alot happening at a very fast pace in this library right now. Every little help is precious. You can contribute in many ways:

  • Suggest code improvements on native iOS and Android
  • If you have suggestion or idea you want to discuss, open an issue.
  • Open an issue if you want to make a pull request, and tell me what you want to improve or add so we can discuss
  • I am always open to new ideas

License

This library is licensed under the MIT license.

Copyright © Ammar Ahmed (@ammarahm-ed)

Notesnook Logo