Contributing Guide
I want to make contributing to this project as easy and transparent as possible. Hopefully this document makes the process for contributing clear and answers any questions you may have. If not, feel free to open an Issue.
Issues
Please ensure your bug description is clear and has sufficient instructions to be able to reproduce the issue. The best way is to provide a reduced test case as a Github repository.
Pull Requests
Your pull requests are always welcome and are greatly appreciated! Every little bit helps, and credit will always be given.
Getting Started
Fork this repo by using the "Fork" button in the upper-right
Check out your fork
git clone git@github.com:yournamehere/cordova-plugin-admob-free.git cd cordova-plugin-admob-free
Install all dependencies
npm install
Start coding! If you've added code, try add tests. If you've changed APIs, update any relevant documentation or tests. Ensure your work is committed within a feature branch.
Ensure all tests pass
npm test
Building Docs
Building the docs locally is extremely simple. First execute the following commands:
npm run docs
After this, you can open gh-pages/index.html
in your browser.
Keeping Fork Updated
Add git remote, call it upstream
:
git remote add upstream https://github.com/ratson/cordova-plugin-admob-free.git
Each time you want to update, from your local master
branch:
git fetch upstream
git rebase upstream/master
If you've rebased your branch onto upstream/master
you may need to
force the push in order to push it to your own forked repository on GitHub.
You'd do that with:
git push -f origin master
For more reference, read ESLint's excellent one.
For Collaborators
While collaborator is giving push access, it is better to send Pull Request, so otheres could review and comment.
Please note that generated code is not committed as it increases the repository size and need to rebuild frequently to be useful.
License
By contributing to cordova-plugin-admob-free
, you agree that
your contributions will be licensed under its MIT license.
Releases
Next
0.17.4 (2018-07-30)
- Fix mismatch doc. (@charlesverge in #267)
0.17.3 (2018-07-14)
0.17.2 (2018-06-25)
- Remove unused import. (@jcesarmobile in #254)
- Revert #234)
0.17.1 (2018-06-16)
- Fix iPhone X & iOs11 issues. (@tennist in #232)
- Fix onRewardedVideoCompleted error. (@Penny13692018 in #234)
0.17.0 (2018-05-22)
- Update
cordova-admob-sdk
to v0.17.0. (@rafaellop in #219)
0.16.1 (2018-05-13)
- Fix for iPhone X status bar improperly refreshed (@rafaellop in #218)
0.16.0 (2018-04-27)
- Update
cordova-admob-sdk
to v0.16.0. - Fix not showing production ads on iOS (@MBuchalik in #208)
- Fix crashes on Android (@tominou in #201)
0.15.0 (2018-03-25)
- Update
cordova-admob-sdk
to v0.15.1. - Implement
onRewardedVideoCompleted()
callback for Android. - Add space for non-overlapping bottom banners on iPhone X (@MBuchalik in #186)
- Add filenames to src attr to copy source-files. (@srikanth-wgl in #189)
0.14.0 (2018-02-09)
Breaking
- Update
cordova-admob-sdk
to v0.15.0.
0.13.0 (2017-12-10)
Breaking
- Update
cordova-admob-sdk
to v0.13.1. Nowcordova-android >=6.3.0
is required.
0.12.1 (2017-11-25)
Fixed
- Update Rewarded Video Test Ad ID. (@nicolasmoreira in #125)
0.12.0 (2017-11-19)
Breaking
- Update Google AdMob SDK for iOS to v7.26.0.
Fixed
- Fix banner size bug.
0.11.0 (2017-09-23)
Breaking
- Update Google AdMob SDK for iOS to v7.24.0.
- Update cordova-promise-polyfill to v0.0.2.
0.10.0 (2017-07-31)
Breaking
- Update Google AdMob SDK for iOS to v7.21.0.
Fixed
- Avoid webview redraws the background. (@warcry2000 in #95)
0.9.0 (2017-05-07)
Breaking
- Update Google AdMob SDK for iOS to v7.20.0.
0.8.0 (2017-03-22)
Breaking
- Update Google AdMob SDK for iOS to v7.19.0.
0.7.0 (2017-02-21)
Added
Breaking
- Update Google AdMob SDK for iOS to v7.17.0.
0.6.1 (2017-01-25)
Added
- Document events.
Fixed
0.6.0 (2017-01-16)
Introduce whole new set of API, which focus on consistency and conciseness. All old API should just work as before, but emit warnings, it is strongly recommended to migrate to new API and give feedback.
New API
window.admob
is introduced to replacewindow.AdMob
andwindow.plugins.AdMob
. Developer should no longer need to worry about missed upper-case causingAdmob is not defined
error.admob.banner.prepare()
is replacingcreateBannerView()
.admob.banner.show()
andadmob.banner.hide()
are replacingshowAd()
.admob.banner.remove()
is replacingdestroyBannerView()
.admob.interstitial.prepare()
is replacingprepareInterstitial()
admob.interstitial.show()
is replacingshowInterstitialAd()
Breaking
- Update Google AdMob SDK for iOS to v7.16.0.
Internal
prepareInterstitial
is now implemented natively, which should fix some race condition bugs.
Added
- Support Rewarded Video. (@warcry2000 in #35)
- Promise APIs.
- Events now have namespace.
- Add mediation example
0.5.1 (2016-12-08)
Fixed
- Add more Babel transforms for more compatible code.
0.5.0 (2016-12-08)
Breaking
- Drop support for WP8.
- Update Google AdMob SDK for iOS to v7.15.0.
Added
- Documentation page is available.
- Support Child-directed setting. (@Venkat-TTapp in #32)
Fixed
- Babel generated more compatible code.
- Separate autoShow for banner and interstitial. (@oangelo in #27)
0.4.1 (2016-11-22)
Fixed
- Remove duplicated
LARGE_BANNER
. (@warcry2000 in #28)
0.4.0 (2016-11-07)
Breaking
- Drop support for Cordova < 4.
- Update Google AdMob SDK for iOS to v7.14.0.
Added
- Add
FLUID
ad size support.
0.3.1 (2016-10-26)
Fixed
0.3.0 (2016-10-23)
Added
- Add
LARGE_BANNER
support.