All Projects → floatinghotpot → Cordova Plugin Admob

floatinghotpot / Cordova Plugin Admob

Licence: mit
Basic Cordova Plugin for AdMob

Projects that are alternatives of or similar to Cordova Plugin Admob

Admob Plus
Trustable AdMob Plugin for Cordova, Capacitor, Ionic
Stars: ✭ 195 (-25.86%)
Mutual labels:  admob, plugin, cordova
Cordova Plugin Document Viewer
A Document Viewer cordova/phonegap plugin for iOS, Android and Windows
Stars: ✭ 168 (-36.12%)
Mutual labels:  plugin, cordova
Unityionicintegration
A guide to integrating Unity 3D content into an Ionic app and sending messages between them (for Android & iOS)(tested with Vuforia plugin)
Stars: ✭ 94 (-64.26%)
Mutual labels:  plugin, cordova
Godot Android Admob Plugin
Android AdMob plugin for Godot Game Engine 3.2 or higher
Stars: ✭ 292 (+11.03%)
Mutual labels:  admob, plugin
Cordova Plugin Nativeaudio
The low latency audio plugin is designed to enable low latency and polyphonic audio from Cordova/PhoneGap applications, using a very simple and basic API.
Stars: ✭ 220 (-16.35%)
Mutual labels:  plugin, cordova
Framework7 Plugin 3d Panels
Framework7 plugin to add 3d effect for side panels
Stars: ✭ 56 (-78.71%)
Mutual labels:  plugin, cordova
Cordovacn
Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. (Apache Cordova是一个开放源代码的移动开发框架,它允许你使用web技术如:JavaScript,HTML,CSS进行跨平台开发,避免使用原生开发。)
Stars: ✭ 240 (-8.75%)
Mutual labels:  plugin, cordova
Cordova Httpd
Embed tiny web server into Cordova with a plugin
Stars: ✭ 271 (+3.04%)
Mutual labels:  plugin, cordova
Cordova Plugin Admob Free
Cordova AdMob Plugin
Stars: ✭ 508 (+93.16%)
Mutual labels:  admob, cordova
Cordova Admob Pro
🔥 Cordova Plugin for Google AdMob, DFP, ADX. Easy monetization using mobile Ad, with single line of JavaScript. Compatible with Cordova CLI, Inoic, PhoneGap Build, etc.
Stars: ✭ 690 (+162.36%)
Mutual labels:  admob, cordova
Admob Unity Plugin
👾 An extension for Unity3d to place AdMob banners in your Android games.
Stars: ✭ 86 (-67.3%)
Mutual labels:  admob, plugin
Admob flutter
Admob Flutter plugin that shows banner ads using native platform views.
Stars: ✭ 390 (+48.29%)
Mutual labels:  admob, plugin
Coding To Monetization
📖 From Coding to Monetization:Programmer's Financial Freedom Approach
Stars: ✭ 152 (-42.21%)
Mutual labels:  admob, cordova
Qtfirebase
An effort to bring Google's Firebase C++ API to Qt + QML
Stars: ✭ 208 (-20.91%)
Mutual labels:  admob, plugin
scanbot-sdk-example-ionic
Scanbot scanner SDK example app for Ionic with Cordova.
Stars: ✭ 24 (-90.87%)
Mutual labels:  cordova
Damnwebscanner
Another web vulnerabilities scanner, this extension works on Chrome and Opera
Stars: ✭ 254 (-3.42%)
Mutual labels:  plugin
ionic-native-sms-retriever-plugin-master
Cross-platform plugin for Cordova / PhoneGap to Retrieve SMS. Available for Android.
Stars: ✭ 16 (-93.92%)
Mutual labels:  cordova
cordova-plugin-today-widget
Add a today widget app extension target to your cordova project.
Stars: ✭ 51 (-80.61%)
Mutual labels:  cordova
Runtimeunityeditor
In-game inspector and debugging tools for applications made with Unity3D game engine
Stars: ✭ 254 (-3.42%)
Mutual labels:  plugin
Cathook
Training Software for the game Team Fortress 2
Stars: ✭ 256 (-2.66%)
Mutual labels:  plugin

Cordova Plugin for AdMob, Open Source Project

The FASTEST and EASIEST TO USE Cordova Admob plugin for Android, iOS and Windows phone.

Simple and easy plugin to monetize your HTML5 hybrid apps and games.

Usage:

  • Create your app
cordova create hallo com.example.hello HelloWorld
cd hallo
cordova platform add android
  • Add the plugin
cordova plugin add cordova-plugin-admob

OR

cordova plugin add https://github.com/floatinghotpot/cordova-plugin-admob

Example Code:

        window.plugins.AdMob.setOptions( {
          publisherId: admobid.banner,
          interstitialAdId: admobid.interstitial,
          bannerAtTop: false, // set to true, to put banner at top
          overlap: false, // set to true, to allow banner overlap webview
          offsetTopBar: false, // set to true to avoid ios7 status bar overlap
          isTesting: false, // receiving test ad
          autoShow: true // auto show interstitial ad when loaded
        });
        // display the banner at startup
        window.plugins.AdMob.createBannerView();
        
        // create interstitial ad
        window.plugins.AdMob.createInterstitialView();
        window.plugins.AdMob.showInterstitialAd(
          true, 
          function(){},
          function(e){alert(JSON.stringify(e));}
        );

See full index.html: https://github.com/floatinghotpot/cordova-plugin-admob/blob/master/test/index.html

Note: This plugin is quite stable, and will not be evolved any more, except upgrade AdMob SDK.

Additional Android Manifest Configuration

Recent versions of the Android Google Mobile Ads SDK require to add the AdMob app ID into the Android manifest file.

This can be accomplished by extending your Cordova config.xml as follows:

<widget ...>
    [...]
    <platform name="android">
        [...]
        <config-file parent="/manifest/application" target="AndroidManifest.xml">
            <!-- TODO: Replace with your real AdMob app ID -->
            <meta-data
                android:name="com.google.android.gms.ads.APPLICATION_ID"
                android:value="ca-app-pub-################~##########"/>
        </config-file>
    </platform>
    [...]
</widget>

When using Google Ad Manager, use instead:

            <meta-data
                android:name="com.google.android.gms.ads.AD_MANAGER_APP"
                android:value="true" />

AdMob Basic vs Pro

If you want to use more powerful and new features, please use the pro version instead. The totoally re-designed AdMob PluginPro is proved much better and more than welcome by Cordova APP/game developers.

As announced by Cordova team, the plugins registry is being migrated to npm, you can find all plugins by Raymond here.

ScreenShot

Credits

This plugin was mainly maintained by Raymond Xie, and also thanks to following contributors:

This project is fully open source, and no ad traffic sharing any more.

More

More free projects by Raymond Xie, find them on npm: https://www.npmjs.com/~floatinghotpot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].