Skip to content

v9.1.15

Choose a tag to compare

@marcocrupi marcocrupi released this 06 Apr 20:41
· 507 commits to main since this release

Changed

  • Android: Update Room 2.5.0→2.8.4, WorkManager 2.8.0→2.11.1, Guava 33.3.1→33.5.0
  • Android: Cleaned up ProGuard rules — removed redundant entries, consolidated keep rules, suppressed pre-existing build warnings with targeted @SuppressWarnings annotations
  • Android: Fixed raw Class type usage in NotificationManager (now Class<?>)
  • iOS: Align NotifeeCore Xcode project deployment target from iOS 10.0 to iOS 15.1, matching the podspec

Fixed

  • Android: Fixed ProGuard keep rules using { <init>(...); } (constructor-only) instead of { *; } (all members) — classes annotated with @Keep or @KeepForSdk could have non-constructor members stripped by R8
  • Android: Fixed WakeLock leak in PowerManagerUtils.lightUpScreenIfNeeded — acquire() without timeout or release() prevented the device from sleeping; now uses acquire(3000L)
  • Android: Fixed potential NPE in NotificationAndroidModel.getDefaults when the defaults array is present but empty — auto-unboxing null Integer caused a crash
  • Android: Added -keeppackagenames app.notifee.core.** to ProGuard rules to prevent -repackageclasses from relocating InitProvider and sub-package classes, which could cause ClassNotFoundException at runtime
  • Android: Fixed missing return after null context check in IntentUtils.startActivityOnUiThread — the lambda was still posted to the UI thread, causing NPE

Full Changelog: https://github.com/marcocrupi/react-native-notify-kit/blob/main/CHANGELOG.md

yarn add react-native-notify-kit@9.1.15