14.2.3 (2024-08-23)
14.2.2 (2024-08-09)
- hotfix building without an app.json file (fe0f4f2)
14.2.1 (2024-07-26)
- expo managed project detection (79acdc2)
14.2.0 (2024-07-23)
- video: add support for video ad volume control (c1d821d)
14.1.0 (2024-07-16)
- deps: mobile ads sdk upgrade - ios 11.7.0 android 23.2.0 (5f0486f)
14.0.1 (2024-07-12)
- android: replace deprecated onCatalystInstanceDestroy method (816c269)
14.0.0 (2024-07-12)
- Add expo config plugin
- Add expo config plugin (848348f)
13.6.1 (2024-07-04)
- android: commands mapped incorrectly (cf9ee6e)
13.6.0 (2024-07-04)
- make reloading a banner on foreground easier with a hook (af5ca02)
- types: update react-native dev dep, forward-port typings (dbb0208)
- ci: avoid big globs in hashFiles (3093345)
13.5.0 (2024-05-21)
- add method to reload banner ad (2a57487)
13.4.0 (2024-05-20)
- deps: mobile ads sdk upgrade - ios 11.5.0 android 23.1.0 (a34c7ba)
13.3.1 (2024-05-19)
13.3.0 (2024-05-13)
- android: Add support for ArrayList (7303730)
13.2.1 (2024-05-02)
13.2.0 (2024-04-03)
- add FLUID size support (c09a326)
- android build error 'onAdLoaded' overrides nothing (bd52c12)
13.1.0 (2024-03-26)
- deps: mobile ads sdk upgrade - ios 11.2.0 android 23.0.0 (099add4)
13.0.2 (2024-03-05)
- TestIds.ADAPTIVE_BANNER undefined type error (ffbc7b1)
13.0.1 (2024-02-22)
- to support app privacy manifests, cocoapods has to be at >= 1.12.0 (ac8e06e)
13.0.0 (2024-02-22)
- deps: mobile ads sdk upgrade - ios 11.0.1, ump sdk 2.2.0
- deps: mobile ads sdk upgrade - ios 11.0.1, ump sdk 2.2.0 (d924586)
12.11.0 (2024-02-19)
- consent: the package returns the wrong value for consent for 'Create a personalized content profile' purpose (7aef863)
12.10.0 (2024-01-11)
- add method to check if consent for purpose 1 was given (8fcee30)
12.9.0 (2024-01-09)
- Revert "chore(docs): update gathering consent info" (a82412b)
12.8.0 (2024-01-03)
- add method to check if gdpr applies (011d68d)
12.7.1 (2023-12-31)
- banners not properly destroyed (ef85d87)
12.7.0 (2023-12-30)
- initialize sdk in parallel (3a427ee)
12.6.0 (2023-12-05)
- collapsible banner ads (beta) (345aaae)
- remove redundant requestPersonalizedAdsOnly from docs (replaced by UMP) (79468a7)
12.5.1 (2023-12-05)
- update demo ad ids (324c213)
12.5.0 (2023-12-05)
- deps: mobile ads sdk upgrade - ios 10.14.0 android 22.5.0 (f3a8146)
12.4.0 (2023-11-10)
- exposes impression-level ad revenue events (969dbfa)
12.3.0 (2023-10-08)
- deps, ios: mobile ads sdk upgrade - ios 10.12.0 (6c86072)
12.2.0 (2023-09-25)
- deps: mobile ads sdk upgrade - ios 10.10.0 android 22.4.0 (96b2450)
12.1.2 (2023-09-11)
- android: crash when activity context not available (7c89579)
- android: race condition getting current activity (b3a09e1)
12.1.1 (2023-09-01)
- missing events of type GAMAdEventType in addAdEventListener (073cc21)
12.1.0 (2023-08-29)
- consent: expose the new loadAndShowConsentFormIfRequired method (509f9b7)
12.0.0 (2023-08-13)
- Alters the return types of two methods
- return consent info whenever it changes (f04ac01)
11.7.0 (2023-08-07)
- deps, ios: mobile ads sdk upgrade - 10.9.0 (cb682f3)
11.6.5 (2023-08-05)
- banner ad not showing when requestoptions absent (e0f7982)
11.6.4 (2023-08-04)
- ios: support new arch in rn 0.70 (589a0fa)
11.6.3 (2023-08-01)
- kotlin version (fc26606)
11.6.2 (2023-07-31)
- export AdsConsentPrivacyOptionsRequirementStatus (43988a3)
11.6.1 (2023-07-28)
- android: race condition getting current activity (5a8788b)
11.6.0 (2023-07-27)
- expose showPrivacyOptionsForm method (284b2f3)
- ios: Build support on both architectures (2eac953)
11.5.0 (2023-07-25)
- google ump sdk upgrade - 2.1.0 (848986d)
- android: example app gradle plugin location (57ec80c)
11.4.1 (2023-07-25)
- ios: incompatible integer to pointer conversion (e25113d)
11.4.0 (2023-07-24)
- deps: mobile ads sdk upgrade - ios 10.8.0 android 22.2.0 (fa0ca9e)
11.3.0 (2023-07-24)
- ios: sdk methods and banners on new architecture (3ee9d02)
11.2.0 (2023-07-18)
11.1.1 (2023-06-16)
- android: android build error issue fixed for RN 0.72 "Cannot set the value of read-only property 'force' " (16ad8ec)
11.1.0 (2023-06-08)
- deps: mobile ads sdk upgrade - ios 10.6.0 (fe8ed90)
11.0.0 (2023-05-30)
- Updated minimum supported Xcode version to 14.1.
- armv7 is not supported in Xcode 14 and has been removed from the SDK.
- The minimum deployment target has been increased to iOS 11.0.
- deps: mobile ads sdk upgrade - ios 10.5.0 android 22.1.0 (37e5e7d)
10.3.2 (2023-05-03)
- ios: no command found (91ffad4)
10.3.1 (2023-04-19)
- ios: incompatibility with react-native-version (5ead5f0)
10.3.0 (2023-04-18)
- ios: add SKAdNetwork identifiers trough app.json (7ccbb6b)
10.2.0 (2023-04-14)
- deps: mobile ads sdk upgrade - ios 10.3.0 / android 22.0.0 (61bee9a)
10.1.3 (2023-04-13)
10.1.2 (2023-04-12)
- android-debug: use activity for GAM (984247f)
10.1.1 (2023-04-09)
- Revert "fix(android banner): debug menu opening" (19b7e5a)
10.1.0 (2023-04-04)
- ads-module: open debug menu programmatically (3480f1b)
10.0.1 (2023-03-22)
- android banner: debug menu opening (3b1f34c)
10.0.0 (2023-03-07)
- deps: - Ads are no longer served on iOS 11. iOS 12 is required to retrieve ads, though iOS 10 is still supported.
- Building with bitcode is no longer supported. Disabling bitcode in your mobile apps is now required to integrate the Google Mobile Ads SDK (iOS).
- deps: mobile ads sdk upgrade - ios 10.2.0 / android 21.5.0 (feb7eb3)
9.1.2 (2023-02-22)
- banner, android: support props for multiple view instances (8c61e8b)
9.1.1 (2023-01-22)
- banner, ios: Fix not able to receive banner app event on iOS (e9ff699)
9.1.0 (2023-01-13)
- deps: mobile ads SDK upgrade - iOS 9.14.0 / android 21.4.0 (c81eeb6)
9.0.0 (2023-01-10)
- move GAM-exclusive FLUID type to new GAMBanner const
- move GAM-exclusive FLUID type to new GAMBanner const (85545f6)
8.2.3 (2023-01-10)
- ios: adaptive banner should take safe areas into account (c34fe1a)
- type: fixed mobileAds initialize response status type #515 (e0a7d29)
8.2.2 (2022-11-27)
- ios: use fully-specified path to required head utility (fe69aa4)
8.2.1 (2022-10-30)
- deps: android sdk 21.3.0 / ios sdk 9.12.0 (dbb9ed3)
8.2.0 (2022-10-15)
- allow load to be called again after error (066986c)
8.1.2 (2022-10-12)
- android, release: rewrite helper to avoid reflection / proguard issues (58839ce)
8.1.1 (2022-09-29)
- ios, config: fix typo in ios_app_id error message (f0fe8e8), closes #219
- ios: correctly handle utf-8 chars in ios-config.sh (d2e1d44), closes #194
8.1.0 (2022-09-16)
- deps: native admob SDK bumps - iOS 9.10.0 / android 21.2.0 (b6b5c6f)
8.0.1 (2022-09-07)
- android: robustly handle full-screen load exceptions (fa79d87)
- deps: android sdk 21.1.0 / ios sdk 9.9.0 (3778a89)
8.0.0 (2022-09-06)
- hooks:
isLoaded
becomes false after a fullscreen ad was shown.
7.0.1 (2022-06-26)
- android, build: correct kotlin plugin dependency (d3e41e9)
7.0.0 (2022-06-24)
- android, sdk: your android app must have minSdkVersion of 19 or higher to use this version
- ios, sdk: your Xcode version must be 13.2.1 or higher to use this version
- android, sdk: adopt native sdk v21, minSdkVersion now 19 (1f17e15)
- android: init/load optimization toggles, default true, override in app.json (05cbc7a)
- build-time error if app.json not configured correctly (9139bd8), closes #84
- ios, sdk: use google-mobile-ads-sdk 9.6.0 (5ef755b)
6.3.0 (2022-05-31)
6.2.5 (2022-05-14)
- fix ad inspector callback error (c652d5e)
- fix false error in rewarded interstitial with valid event type value (#148) (7ee21bf)
6.2.4 (2022-05-12)
- android: send ad size before ad loads (3049ea3)
6.2.3 (2022-05-12)
- ios: use python3, fixes issues on macOS 12.3+ (df4acef)
6.2.2 (2022-05-10)
6.2.1 (2022-05-06)
- ios: already presenting another view controller (138df47)
6.2.0 (2022-05-04)
- add inline adaptive banners support (b0f084e)
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)