diff --git a/docs-react-native/react-native/docs/release-notes.md b/docs-react-native/react-native/docs/release-notes.md index e6ae553d..4fbb1066 100644 --- a/docs-react-native/react-native/docs/release-notes.md +++ b/docs-react-native/react-native/docs/release-notes.md @@ -5,6 +5,37 @@ next: /react-native/docs/usage previous: /react-native/docs/installation --- +## 9.0.0 + +BREAKING CHANGES! + +Android 14+ requires two changes to avoid crashes or Play Store rejection + +1) The USE_FULL_SCREEN_INTENT permission is not longer included by default as most apps do not need it. If you need it you must now manually add the permission to AndroidManifest.xml + +2) Foreground Service Types are a strict requirement for Android 14 and require Play Store approval. You must use compileSdk 34 or higher for this release. If you need foreground service types you will need to specify the exact foreground service type permissions in your AndroidManifest.xml and you must replace the service definition in AndroidManifest.xml and you must use the new optional foregroundServiceTypes parameter in the foreground service API call + +Thanks to all the contributors that proposed these fixes so that Notifee continues to work well on Android 14 - handling the platform security changes as Google makes new releases is not easy, and they *always* change the Nofitication API surface API. Notifee would not work without the community contributions. + +Note, v8.0.0 was published 2 years ago as an alpha on npmjs.com but is unused. However, the version number was consumed by that alpha publish so we have skipped to v9. + +- fix(android)!: Remove USE_FULL_SCREEN_INTENT permission from package manifest for Android 14 compat (#1027) +- feat(android)!: allow adding foreground service types dynamically +- feat(android): add Android 15 FOREGROUND_SERVICE_TYPE_MEDIA_PROCESSING +- fix(types): add cancelAllNotifications optional android tag property (#1087) +- build(android): minimal set of changes for compileSdk 34 +- test(lint): check native code formatting in CI +- style(lint): result of auto-formatting `yarn format:all` +- style(lint): constrain formatting globs, add formatting check run scripts +- docs(android): note apps must now manually add USE_FULL_SCREEN_INTENT if needed + +## 8.0.0 + +Unreleased + +alpha publish from 2022, never made non-alpha, never in use, but version number +consumed + ## 7.9.0 - feat: group support to communication push [#1017](https://github.com/invertase/notifee/issues/1017) diff --git a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar index c3c5ae97..6bba3f8b 100644 Binary files a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar and b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar differ diff --git a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.md5 b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.md5 index cbfd6845..0b926be4 100644 --- a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.md5 +++ b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.md5 @@ -1 +1 @@ -938722ca4dd24fe2e2fcfc4b904782bd \ No newline at end of file +577b8138a9466fc4cfb809edd84395ef \ No newline at end of file diff --git a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha1 b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha1 index d8d573c5..eb75f8b2 100644 --- a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha1 +++ b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha1 @@ -1 +1 @@ -b322788e15893197c2f4724ef90398c5086cb4e3 \ No newline at end of file +8f742476977183c365454cef316f96929b65faeb \ No newline at end of file diff --git a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha256 b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha256 index 399557f4..493c1cf8 100644 --- a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha256 +++ b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha256 @@ -1 +1 @@ -3d77f30c1378bdfffb76cb9d425aa605e23b3aa4548e0d92c64c1c8217e465c9 \ No newline at end of file +3ff8460ede0c6f184e50f2e911bc928b09f412bba71ceae34e60cd5d22d7205e \ No newline at end of file diff --git a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha512 b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha512 index 84db1fdc..738d81f1 100644 --- a/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha512 +++ b/packages/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.aar.sha512 @@ -1 +1 @@ -7f41da1920efca13adce21120ffe1db9d3dff1880f5b291fc74f4f9d9ccdd1b916ab2cc3653f876475d0014ae47bbfcb00441712d26e2829543601f405c7d557 \ No newline at end of file +4aabd99b2e67dcfb72cc04a9e42f03991daeea185588767433a1324c78d46a04811c88833c8c60070b03f13b7339d5e273fff1a180fbd9f16b93b595a79da07f \ No newline at end of file diff --git a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml index 4af333fb..bb8551cc 100644 --- a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml +++ b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml @@ -8,6 +8,6 @@ 202108261754 - 20240911140431 + 20240911193610 diff --git a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.md5 b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.md5 index 8c780c06..122a42c2 100644 --- a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.md5 +++ b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.md5 @@ -1 +1 @@ -d3c8f28110703d92e991ec9972d51330 \ No newline at end of file +1c093d37839cd2cc7ca5fc4ef58e7dff \ No newline at end of file diff --git a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha1 b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha1 index ef038953..2de51163 100644 --- a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha1 +++ b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha1 @@ -1 +1 @@ -52975078ce862d02326568666679c35fdf1a260d \ No newline at end of file +bb9e472e684e56b185cbd00a14f4e1555afff88a \ No newline at end of file diff --git a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha256 b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha256 index 29037a3d..4e01513e 100644 --- a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha256 +++ b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha256 @@ -1 +1 @@ -594d43ad99670b3c32852cfe577b99559e4e3d5360863a3b690484a834b6ca39 \ No newline at end of file +3886569a1144f94b5c90f4f1d7e29b346bfa266e3530846c67feee4bb0fc9acb \ No newline at end of file diff --git a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha512 b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha512 index fada3233..52510268 100644 --- a/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha512 +++ b/packages/react-native/android/libs/app/notifee/core/maven-metadata.xml.sha512 @@ -1 +1 @@ -1c05200d776f106c61ae0908b243fe20d123d04e6a13d72c7fe8f0e3ff7acaa3fa9a26f7a111dfe9c6fb16b60b04e87f7b4d34671733d80f0af60813e76fc4f7 \ No newline at end of file +c55736cf153faf20c33b974f74f2f2658066bc736659da990cf8e31f59e324b929dd8504ed46b508ba3805b242b97f6f02992aa993845a3681789ea7c6b297de \ No newline at end of file diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 1d63eda9..5c2a1874 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@notifee/react-native", - "version": "7.9.0", + "version": "9.0.0", "author": "Invertase (http://invertase.io)", "description": "Notifee - a feature rich notifications library for React Native.", "main": "dist/index.js",