Android background handlers now receive BackgroundEvent objects (event.type + fields), matching the documented TypeScript API. Docs and a one-time iOS dev warning clarify how event delivery differs by platform.
Full notes: rntp.dev/changelog#5.3.0
Fixed
registerBackgroundEventHandler(Android) — Headless JS now normalizes native{ event, payload }intoBackgroundEventbefore calling your handler, soevent.typeand payload fields match TypeScript. Breaking if you relied on the raw Headless shape — switch toBackgroundEvent. (#2644)
Changed
registerBackgroundEventHandler(iOS) — logs a one-time__DEV__warning when called (still a no-op). UseaddEventListenerfor all events on iOS, including while audio plays in the background withUIBackgroundModesaudio.
Upgrade
npm install @rntp/player@5.3.0
# iOS
cd ios && pod install