react-native-notify-kit 10.4.3 → 10.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/android/build.gradle +17 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -433,7 +433,8 @@ This fork is a complete migration to React Native's **New Architecture**:
|
|
|
433
433
|
- **Android bridge rewritten in Kotlin** (original was Java)
|
|
434
434
|
- **iOS bridge uses Objective-C++** with `NativeNotifeeModuleSpecJSI` TurboModule conformance
|
|
435
435
|
- **Minimum React Native >=0.73**, development target **0.85.3**
|
|
436
|
-
- **Toolchain**: Yarn 4, Node 22+,
|
|
436
|
+
- **Toolchain**: Yarn 4, Node 22+, JDK 17+ for Android builds, library Android module compileSdk/targetSdk 35
|
|
437
|
+
- **Android JDK baseline**: JDK 17 and JDK 21 are the validated Android build baselines; newer JDKs are not blocked by NotifyKit but depend on the consumer Android toolchain
|
|
437
438
|
- **Single Android module** — the original Notifee shipped a pre-compiled AAR bundled inside the npm tarball under a frozen Maven coordinate; this fork compiles the core from source as part of the React Native bridge module on every consumer build. Eliminates the `FAIL_ON_PROJECT_REPOS` issue on RN 0.74+ and the Gradle cache staleness bug that could serve outdated bytecode after `yarn upgrade`.
|
|
438
439
|
- **Expo CNG development builds** — iOS FCM Mode NSE automation and Android foreground service manifest configuration are available through the config plugin. Android Expo FCM smoke validation uses RNFirebase data-only messages plus `notifee.handleFcmMessage`.
|
|
439
440
|
- **Core notification logic (NotifeeCore) is unchanged** — the public API is fully compatible with the original Notifee
|
package/android/build.gradle
CHANGED
|
@@ -25,16 +25,30 @@ plugins {
|
|
|
25
25
|
|
|
26
26
|
ext {
|
|
27
27
|
jvmVersion = Jvm.current().javaVersion.majorVersion
|
|
28
|
-
|
|
28
|
+
jvmMajorVersion = jvmVersion.toInteger()
|
|
29
|
+
if (jvmMajorVersion < 17) {
|
|
29
30
|
println "\n\n\n"
|
|
30
31
|
println "**************************************************************************************************************"
|
|
31
32
|
println "\n\n\n"
|
|
32
|
-
println "ERROR: Notifee
|
|
33
|
+
println "ERROR: Notifee requires JDK 17 or newer to build on Android."
|
|
34
|
+
println " Obsolete Java versions such as 8 and 11 are not supported."
|
|
33
35
|
println " Incompatible major version detected: '" + jvmVersion + "'"
|
|
34
36
|
println "\n\n\n"
|
|
35
37
|
println "**************************************************************************************************************"
|
|
36
38
|
println "\n\n\n"
|
|
37
|
-
|
|
39
|
+
throw new GradleException("Notifee requires JDK 17 or newer to build on Android. Detected Java major version '" + jvmVersion + "'.")
|
|
40
|
+
}
|
|
41
|
+
if (jvmMajorVersion != 17 && jvmMajorVersion != 21) {
|
|
42
|
+
println "\n\n\n"
|
|
43
|
+
println "**************************************************************************************************************"
|
|
44
|
+
println "\n\n\n"
|
|
45
|
+
println "WARNING: Notifee Android builds are validated with JDK 17 and JDK 21."
|
|
46
|
+
println " Detected Java major version: '" + jvmVersion + "'."
|
|
47
|
+
println " The build will continue, but compatibility depends on the consumer Gradle, AGP, Kotlin, and React Native toolchain."
|
|
48
|
+
println " Use JDK 17 or JDK 21 for a stable build baseline."
|
|
49
|
+
println "\n\n\n"
|
|
50
|
+
println "**************************************************************************************************************"
|
|
51
|
+
println "\n\n\n"
|
|
38
52
|
}
|
|
39
53
|
}
|
|
40
54
|
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "10.4.
|
|
1
|
+
export declare const version = "10.4.4";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-notify-kit",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.4",
|
|
4
4
|
"author": "Marco Crupi",
|
|
5
5
|
"description": "Maintained Notifee-compatible React Native notifications library for Android, iOS, FCM Mode, rich notifications, foreground services, and Expo CNG development builds.",
|
|
6
6
|
"main": "dist/index.js",
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '10.4.
|
|
2
|
+
export const version = '10.4.4';
|