Repository navigation
10.2.1
·
271 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changed
- Android:
getPowerManagerInfo().activitynow represents a known vendor-settings candidate rather than aPackageManager-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_NOTIFICATIONSis not granted, avoiding uncontrolledSecurityExceptionfailures andDELIVEREDevents whennotify()is not called. - Android: removed the protected
BROADCAST_CLOSE_SYSTEM_DIALOGSpermission from the library manifest so it is no longer propagated to consumer apps. - Android: made the legacy
ACTION_CLOSE_SYSTEM_DIALOGSpath best-effort andSecurityException-safe on Android 11 and lower. - Android: removed the
ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONSdirect-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
RNNotifeeCorecan compile inside a Notification Service Extension target. - CLI/iOS: updated
init-nsePodfile patching to avoid an Xcode build cycle between an embeddedNotifyKitNSE.appexand React Native Firebase's[RNFB] Core Configurationphase.
Docs
- Docs: made reference generation self-contained by generating
src/version.tsbefore TypeDoc. - Docs: guarded reference generation against running without Git metadata, preventing degraded
Defined inlinks. - Docs: upgraded TypeDoc reference tooling for TypeScript 5.9 compatibility.
- Docs: included previously missing referenced API types in the generated reference:
ModuleWithStaticsandWebNotificationSettings. - 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