Skip to content

Latest commit

 

History

History
984 lines (456 loc) · 48.7 KB

CHANGELOG.md

File metadata and controls

984 lines (456 loc) · 48.7 KB

14.4.0 (2024-11-15)

Features

  • gather consent method to make user consent easier (#654) (9a9e5e5)

14.3.1 (2024-11-13)

Bug Fixes

  • android: disable coalescing of native events (#646) (fce51b1)

14.3.0 (2024-11-12)

Features

14.2.5 (2024-10-08)

Bug Fixes

  • type tests were messing with type generation (#643) (63bbb54)

14.2.4 (2024-10-07)

Bug Fixes

  • android: fixup java->kotlin transition from 622 (e62bcb4)
  • jest setup was voiding custom turbo mocks (#636) (8866d8a)

14.2.3 (2024-08-23)

Bug Fixes

14.2.2 (2024-08-09)

Bug Fixes

  • hotfix building without an app.json file (fe0f4f2)

14.2.1 (2024-07-26)

Bug Fixes

  • expo managed project detection (79acdc2)

14.2.0 (2024-07-23)

Features

  • video: add support for video ad volume control (c1d821d)

14.1.0 (2024-07-16)

Features

  • deps: mobile ads sdk upgrade - ios 11.7.0 android 23.2.0 (5f0486f)

14.0.1 (2024-07-12)

Bug Fixes

  • android: replace deprecated onCatalystInstanceDestroy method (816c269)

14.0.0 (2024-07-12)

⚠ BREAKING CHANGES

  • Add expo config plugin

Features

13.6.1 (2024-07-04)

Bug Fixes

  • android: commands mapped incorrectly (cf9ee6e)

13.6.0 (2024-07-04)

Features

  • make reloading a banner on foreground easier with a hook (af5ca02)

Bug Fixes

  • types: update react-native dev dep, forward-port typings (dbb0208)

Performance Improvements

  • ci: avoid big globs in hashFiles (3093345)

13.5.0 (2024-05-21)

Features

  • add method to reload banner ad (2a57487)

13.4.0 (2024-05-20)

Features

  • deps: mobile ads sdk upgrade - ios 11.5.0 android 23.1.0 (a34c7ba)

13.3.1 (2024-05-19)

Bug Fixes

  • topNative name changed to topNativeEvent. (b4cbea3)
  • Typescript error in the docs (4ad8bc7)

13.3.0 (2024-05-13)

Features

  • android: Add support for ArrayList (7303730)

13.2.1 (2024-05-02)

Bug Fixes

  • banner, ios: banner not destroyed in new arch (2d8bdb5)
  • banner, ios: fixed memory leak (5cbf0e9)

13.2.0 (2024-04-03)

Features

Bug Fixes

  • android build error 'onAdLoaded' overrides nothing (bd52c12)

13.1.0 (2024-03-26)

Features

  • deps: mobile ads sdk upgrade - ios 11.2.0 android 23.0.0 (099add4)

13.0.2 (2024-03-05)

Bug Fixes

  • TestIds.ADAPTIVE_BANNER undefined type error (ffbc7b1)

13.0.1 (2024-02-22)

Bug Fixes

  • to support app privacy manifests, cocoapods has to be at >= 1.12.0 (ac8e06e)

13.0.0 (2024-02-22)

⚠ BREAKING CHANGES

  • deps: mobile ads sdk upgrade - ios 11.0.1, ump sdk 2.2.0

Features

  • deps: mobile ads sdk upgrade - ios 11.0.1, ump sdk 2.2.0 (d924586)

12.11.0 (2024-02-19)

Features

  • android: potentially improves mediation performance for banners (#527) (32f550a)

Bug Fixes

  • consent: the package returns the wrong value for consent for 'Create a personalized content profile' purpose (7aef863)

12.10.0 (2024-01-11)

Features

  • add method to check if consent for purpose 1 was given (8fcee30)

12.9.0 (2024-01-09)

Features

  • ios, android: Add support for app.config.js (#517) (be39d5a)

Reverts

  • Revert "chore(docs): update gathering consent info" (a82412b)

12.8.0 (2024-01-03)

Features

  • add method to check if gdpr applies (011d68d)

12.7.1 (2023-12-31)

Bug Fixes

  • banners not properly destroyed (ef85d87)

12.7.0 (2023-12-30)

Features

  • initialize sdk in parallel (3a427ee)

12.6.0 (2023-12-05)

Features

  • collapsible banner ads (beta) (345aaae)

Bug Fixes

  • remove redundant requestPersonalizedAdsOnly from docs (replaced by UMP) (79468a7)

12.5.1 (2023-12-05)

Bug Fixes

12.5.0 (2023-12-05)

Features

  • deps: mobile ads sdk upgrade - ios 10.14.0 android 22.5.0 (f3a8146)

12.4.0 (2023-11-10)

Features

  • exposes impression-level ad revenue events (969dbfa)

12.3.0 (2023-10-08)

Features

  • deps, ios: mobile ads sdk upgrade - ios 10.12.0 (6c86072)

12.2.0 (2023-09-25)

Features

  • deps: mobile ads sdk upgrade - ios 10.10.0 android 22.4.0 (96b2450)

12.1.2 (2023-09-11)

Bug Fixes

  • android: crash when activity context not available (7c89579)
  • android: race condition getting current activity (b3a09e1)

12.1.1 (2023-09-01)

Bug Fixes

  • missing events of type GAMAdEventType in addAdEventListener (073cc21)

12.1.0 (2023-08-29)

Features

  • consent: expose the new loadAndShowConsentFormIfRequired method (509f9b7)

12.0.0 (2023-08-13)

⚠ BREAKING CHANGES

  • Alters the return types of two methods

Features

  • return consent info whenever it changes (f04ac01)

11.7.0 (2023-08-07)

Features

  • deps, ios: mobile ads sdk upgrade - 10.9.0 (cb682f3)

11.6.5 (2023-08-05)

Bug Fixes

  • banner ad not showing when requestoptions absent (e0f7982)

11.6.4 (2023-08-04)

Bug Fixes

  • ios: support new arch in rn 0.70 (589a0fa)

11.6.3 (2023-08-01)

Bug Fixes

11.6.2 (2023-07-31)

Bug Fixes

  • export AdsConsentPrivacyOptionsRequirementStatus (43988a3)

11.6.1 (2023-07-28)

Bug Fixes

  • android: race condition getting current activity (5a8788b)

11.6.0 (2023-07-27)

Features

  • expose showPrivacyOptionsForm method (284b2f3)

Bug Fixes

  • ios: Build support on both architectures (2eac953)

11.5.0 (2023-07-25)

Features

  • google ump sdk upgrade - 2.1.0 (848986d)

Bug Fixes

  • android: example app gradle plugin location (57ec80c)

11.4.1 (2023-07-25)

Bug Fixes

  • ios: incompatible integer to pointer conversion (e25113d)

11.4.0 (2023-07-24)

Features

  • deps: mobile ads sdk upgrade - ios 10.8.0 android 22.2.0 (fa0ca9e)

11.3.0 (2023-07-24)

Features

  • ios: sdk methods and banners on new architecture (3ee9d02)

11.2.0 (2023-07-18)

Features

  • catalyst: support building on catalyst, though ads will not work (#389) (ab55792)

11.1.1 (2023-06-16)

Bug Fixes

  • 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)

Features

  • deps: mobile ads sdk upgrade - ios 10.6.0 (fe8ed90)

11.0.0 (2023-05-30)

⚠ BREAKING CHANGES

  • 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.

Features

  • deps: mobile ads sdk upgrade - ios 10.5.0 android 22.1.0 (37e5e7d)

10.3.2 (2023-05-03)

Bug Fixes

10.3.1 (2023-04-19)

Bug Fixes

  • ios: incompatibility with react-native-version (5ead5f0)

10.3.0 (2023-04-18)

Features

  • ios: add SKAdNetwork identifiers trough app.json (7ccbb6b)

10.2.0 (2023-04-14)

Features

  • deps: mobile ads sdk upgrade - ios 10.3.0 / android 22.0.0 (61bee9a)

10.1.3 (2023-04-13)

Bug Fixes

  • Solved issue with method recordManualImpression for GAMBannerAd (#363) (a7dbc74)

10.1.2 (2023-04-12)

Bug Fixes

  • android-debug: use activity for GAM (984247f)

10.1.1 (2023-04-09)

Reverts

  • Revert "fix(android banner): debug menu opening" (19b7e5a)

10.1.0 (2023-04-04)

Features

  • ads-module: open debug menu programmatically (3480f1b)

10.0.1 (2023-03-22)

Bug Fixes

  • android banner: debug menu opening (3b1f34c)

10.0.0 (2023-03-07)

⚠ BREAKING CHANGES

  • 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).

Features

  • deps: mobile ads sdk upgrade - ios 10.2.0 / android 21.5.0 (feb7eb3)

9.1.2 (2023-02-22)

Bug Fixes

  • banner, android: support props for multiple view instances (8c61e8b)

9.1.1 (2023-01-22)

Bug Fixes

  • banner, ios: Fix not able to receive banner app event on iOS (e9ff699)

9.1.0 (2023-01-13)

Features

  • deps: mobile ads SDK upgrade - iOS 9.14.0 / android 21.4.0 (c81eeb6)

9.0.0 (2023-01-10)

⚠ BREAKING CHANGES

  • move GAM-exclusive FLUID type to new GAMBanner const

Bug Fixes

  • move GAM-exclusive FLUID type to new GAMBanner const (85545f6)

8.2.3 (2023-01-10)

Bug Fixes

  • 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)

Bug Fixes

  • ios: use fully-specified path to required head utility (fe69aa4)

8.2.1 (2022-10-30)

Bug Fixes

  • deps: android sdk 21.3.0 / ios sdk 9.12.0 (dbb9ed3)

8.2.0 (2022-10-15)

Features

  • allow load to be called again after error (066986c)

8.1.2 (2022-10-12)

Bug Fixes

  • android, release: rewrite helper to avoid reflection / proguard issues (58839ce)

8.1.1 (2022-09-29)

Bug Fixes

  • 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)

Features

  • deps: native admob SDK bumps - iOS 9.10.0 / android 21.2.0 (b6b5c6f)

8.0.1 (2022-09-07)

Bug Fixes

  • 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)

⚠ BREAKING CHANGES

  • hooks: isLoaded becomes false after a fullscreen ad was shown.

Features

  • hooks: automatically set isLoaded to false (#199) (9d0ecac)

7.0.1 (2022-06-26)

Bug Fixes

  • android, build: correct kotlin plugin dependency (d3e41e9)

7.0.0 (2022-06-24)

⚠ BREAKING CHANGES

  • 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

Features

  • 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)

Features

6.2.5 (2022-05-14)

Bug Fixes

  • 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)

Bug Fixes

  • android: send ad size before ad loads (3049ea3)

6.2.3 (2022-05-12)

Bug Fixes

  • ios: use python3, fixes issues on macOS 12.3+ (df4acef)

6.2.2 (2022-05-10)

Bug Fixes

  • allow undefined configuration properties (#138) (6a083fd)
  • batch banner ad prop update (c6aea8b)

6.2.1 (2022-05-06)

Bug Fixes

  • ios: already presenting another view controller (138df47)

6.2.0 (2022-05-04)

Features

  • add inline adaptive banners support (b0f084e)

6.1.0 (2022-04-29)

Features

  • add rewarded interstitial ad (10c6770)

6.0.1 (2022-04-28)

Bug Fixes

  • types: openAdInspector returns Promise, not function (#123) (ccbf881)

6.0.0 (2022-04-27)

⚠ BREAKING CHANGES

  • 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

Features

Bug Fixes

  • fix wrong hook return type omit (8bbc0ad)

5.1.1 (2022-04-19)

Bug Fixes

  • ios: avoid crash on ios < 14 without AppTrackingTransparency (d03f45a)

5.1.0 (2022-04-16)

Features

  • consent: add method that returns consent choices (be967bd)
  • hooks for all full screen ad types (#100) (0bd7ce8)

5.0.1 (2022-04-01)

Bug Fixes

  • android: use ApplicationContext so mediation adapter init works (d340943)

5.0.0 (2022-03-03)

⚠ BREAKING CHANGES

  • consent: migrate to UMP SDK (#82)

Features

Bug Fixes

  • android version and app keys (bab67ff)

4.2.0 (2022-02-14)

Features

4.1.3 (2022-02-10)

Bug Fixes

  • adRequestOptions ignored (e15809a)

4.1.2 (2022-02-07)

Bug Fixes

  • CHANGELOG: remove duplicate changelog chunk (d5e59e3)

4.0.0 (2022-02-07)

⚠ BREAKING CHANGES

  • typescript rewrite (#41)

Features

Bug Fixes

4.1.1 (2022-01-27)

Bug Fixes

  • point to the right native module (e1d7715)

4.1.0 (2022-01-26)

⚠ BREAKING CHANGES

  • Rename from @invertase/react-native-google-ads to react-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 from react-native-google-ads to react-native-google-mobile-ads (and run pod install)

Features

4.0.2 (2022-01-24)

Bug Fixes

4.0.1 (2022-01-24)

Bug Fixes

  • android: no banner ads loaded in the first render (3dc74cf)

4.0.0 (2022-01-06)

⚠ BREAKING CHANGES

  • typescript rewrite (#41)

Features

Bug Fixes

  • release: allow semantic-release on beta branch (b2d1381)

3.4.0 (2021-12-29)

Features

3.3.0 (2021-12-29)

Features

3.2.1 (2021-12-28)

Bug Fixes

  • adUnitId in sendAdevent is nil on error (d633340)

3.2.0 (2021-12-13)

Features

  • expose native SDK initialize methods as new initialize API (#40) (3689b1f)

3.1.0 (2021-12-13)

Features

  • ios, banner: replace v7 methods with v8 methods (#37) (c53c657)

3.0.0 (2021-12-12)

⚠ BREAKING CHANGES

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

Features

  • 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)

Bug Fixes

  • rewarded ads crash & request configuration (#31) (382f146)

2.0.0 (2021-12-11)

  • feat(ios)!: Google Mobile Ads SDK 8 w/new testDeviceIdentifiers vs testDevices (#30) (bac264d), closes #30

BREAKING CHANGES

  • "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)

Bug Fixes

  • incorrect rn config path (41a8eca)

1.0.1 (2021-12-08)

Bug Fixes

  • package is org-scoped, but public, allow npm publish (cd8fbb1)

1.0.0 (2021-12-08)

Change Log

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

Bug Fixes

  • 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)

Features

  • example test in new test harness works (2041fa2)
  • native: native code extraction is complete and passes static type check (02c2af6)