6.1.0 (2022-04-29)
- add rewarded interstitial ad (10c6770)
6.0.1 (2022-04-28)
6.0.0 (2022-04-27)
- Event Listeners work differently now (#110)
There is a migration doc! The migration doc has code samples with the changes necessary, we hope it is easy - it is supposed to be easy https://github.com/invertase/react-native-google-mobile-ads/blob/main/docs/migrating-to-v6.mdx
- add Ad Inspector (#116) (dd36436)
- add addAdEventListener method (#110) (e842477)
- Add Google Ad Manager support (#105) (48f77da)
- android, sdk: update to google mobile ads sdk 20.6.0 (26ef269), closes #114
- ios, sdk: migrate to mobile ads sdk v9 (36a440a), closes #113
- fix wrong hook return type omit (8bbc0ad)
5.1.1 (2022-04-19)
- ios: avoid crash on ios < 14 without AppTrackingTransparency (d03f45a)
5.1.0 (2022-04-16)
- consent: add method that returns consent choices (be967bd)
- hooks for all full screen ad types (#100) (0bd7ce8)
5.0.1 (2022-04-01)
- android: use ApplicationContext so mediation adapter init works (d340943)
5.0.0 (2022-03-03)
- consent: migrate to UMP SDK (#82)
- android version and app keys (bab67ff)
4.2.0 (2022-02-14)
- custom targeting (02b3ce4)
4.1.3 (2022-02-10)
- adRequestOptions ignored (e15809a)
4.1.2 (2022-02-07)
- CHANGELOG: remove duplicate changelog chunk (d5e59e3)
4.0.0 (2022-02-07)
- typescript rewrite (#41)
- android: no banner ads loaded in the first render (3154579)
- Block descendant focus requests (835bdec), closes /github.com/facebook/react-native/issues/32649#issuecomment-990968256
- CHANGELOG: remove duplicate changelog chunk (d5e59e3)
- point to the right native module (df30e7b)
- release: allow semantic-release on beta branch (106ce63)
- typo in native event type (fcb911a)
4.1.1 (2022-01-27)
- point to the right native module (e1d7715)
4.1.0 (2022-01-26)
- Rename from
@invertase/react-native-google-ads
toreact-native-google-mobile-ads
to more accurately reflect underlying SDK names (#62)- Please change
package.json
to use the new package name - Please update all imports to new package name
- Please change
app.json
key with app ids fromreact-native-google-ads
toreact-native-google-mobile-ads
(and runpod install
)
- Please change
- app open ads (f145716)
4.0.2 (2022-01-24)
- Block descendant focus requests (e39a5fd), closes /github.com/facebook/react-native/issues/32649#issuecomment-990968256
- typo in native event type (3cfc1ff)
4.0.1 (2022-01-24)
- android: no banner ads loaded in the first render (3dc74cf)
4.0.0 (2022-01-06)
- typescript rewrite (#41)
- release: allow semantic-release on beta branch (b2d1381)
3.4.0 (2021-12-29)
3.3.0 (2021-12-29)
3.2.1 (2021-12-28)
- adUnitId in sendAdevent is nil on error (d633340)
3.2.0 (2021-12-13)
3.1.0 (2021-12-13)
3.0.0 (2021-12-12)
Please refer to upstream guides for suggestions on new usage. https://developers.google.com/admob/ios/migration and https://developers.google.com/admob/android/migration
- compileSdkVersion now 31, change your app android build.gradle to 31 if you have not already. Note that JDK11 is required for stable compilation on compileSdkVersion 31, JDK8 has internal compiler errors with SDK31
- onAdLeftApplication removed from the underlying SDK, use react-native built in AppState to determine app went to background
- Smart banner ads removed; use adaptive banner ads. Set height/width explicitly taking into account device size
- android SDK updated to underlying SDK 20
- android SDK updated to underlying SDK 20 (56c6058)
- android, sdks: update to the latest v20 android admob sdk (#32) (291e504)
2.0.1 (2021-12-12)
2.0.0 (2021-12-11)
- feat(ios)!: Google Mobile Ads SDK 8 w/new testDeviceIdentifiers vs testDevices (#30) (bac264d), closes #30
- "testDevices" property no longer exists. You must use "testDeviceIdentifiers". The testDeviceIdentifiers property applies to all ad requests, while the old testDevices property was set per-request.
1.0.2 (2021-12-09)
- incorrect rn config path (41a8eca)
1.0.1 (2021-12-08)
- package is org-scoped, but public, allow npm publish (cd8fbb1)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
@react-native-firebase/admob has finally moved to react-native-google-ads 🎉! As AdMob isn't part anymore of RNFB, a lot of changes where necessary to extract it completely. Therefore keep in mind to test everything thoroughly as it's the first release.
- config: Add your AdMob app id's (iOS/Android) to app.json and this package will take care of injecting the required entries in your Info.plist (during
pod install
run) & AndroidManifest.xml (during gradle build time). - docs: Improved documentation using the new docs.page
- android app id from app.json works, example has detox integrated and working in android (24f83b2)
- android: use correct module name for banner ads (#17) (7c7c8b5)
- displaying banner ads, config in docs (#14) (21e4f42)
- incorrect module naming (#10) (79f86b9)
- interstitials and rewarded ads (#18) (9569b98)
- ios: add ios config scripts missed in previous commit (227ca7c)
- ios: ios app.json --> Info.plist auto-config works now (6c1f4d4)
- ios: missing dollar signs in podspec version override (#8) (5984288)
- release: remove npm config and git config as well (8139e88)
- release: semantic release does not need the ssh key agent config (930bc03)
- remove incorrect git branch ref in publish workflow, clean changelog (aec5b84)
- test: link to jet package via named branch vs commit hash (#7) (151f6aa)