Skip to content

10.2.1

Choose a tag to compare

@marcocrupi marcocrupi released this 28 Apr 16:31
· 271 commits to main since this release
Immutable release. Only release title and notes can be modified.

Changed

  • Android: getPowerManagerInfo().activity now represents a known vendor-settings candidate rather than a PackageManager-prevalidated activity.
  • Android: openPowerManagerSettings() now attempts vendor settings intents directly and safely falls back or no-ops when Android cannot resolve or start the intent.

Fixed

  • Android: guarded notification posting on Android 13+ when POST_NOTIFICATIONS is not granted, avoiding uncontrolled SecurityException failures and DELIVERED events when notify() is not called.
  • Android: removed the protected BROADCAST_CLOSE_SYSTEM_DIALOGS permission from the library manifest so it is no longer propagated to consumer apps.
  • Android: made the legacy ACTION_CLOSE_SYSTEM_DIALOGS path best-effort and SecurityException-safe on Android 11 and lower.
  • Android: removed the ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS direct-request path from the Oppo/ColorOS power-manager fallback.
  • Android: removed package-visibility queries from the power-manager settings helpers; vendor settings now open best-effort without requiring consumer apps to inherit <queries> declarations.
  • Android: cleaned up owned lint warnings after the permission, policy, package-visibility, discouraged API, and obsolete SDK guard fixes.
  • iOS: made the notification display application-state check app-extension-safe so RNNotifeeCore can compile inside a Notification Service Extension target.
  • CLI/iOS: updated init-nse Podfile patching to avoid an Xcode build cycle between an embedded NotifyKitNSE.appex and React Native Firebase's [RNFB] Core Configuration phase.

Docs

  • Docs: made reference generation self-contained by generating src/version.ts before TypeDoc.
  • Docs: guarded reference generation against running without Git metadata, preventing degraded Defined in links.
  • Docs: upgraded TypeDoc reference tooling for TypeScript 5.9 compatibility.
  • Docs: included previously missing referenced API types in the generated reference: ModuleWithStatics and WebNotificationSettings.
  • Docs: formatted manual MDX documentation pages.

Tests

  • Tests: added an iOS/NSE hardware automation script for init-nse, pod install, RNFB cycle checks, iOS builds, FCM scenario sending, logs, reports, and cleanup.
  • Tests: validated Android hardware E2E, including foreground/background FCM, killed rerun without force-stop, tap PRESS, action buttons, and BigPicture notifications.
  • Tests: validated iOS/NSE hardware E2E on physical device, including foreground/background/killed FCM, NSE processing, attachment handling, and tap flow.
  • Smoke app: cleaned up Android manifest lint warnings for redundant labels and data extraction rules.

📦 npm: https://www.npmjs.com/package/react-native-notify-kit/v/10.2.1