Repository navigation
Release 4.3.0
Changes
Ringtone cleanup can interfere with an active call or a newer ringtone on Android. Audio focus, vibration, and delayed callbacks need to follow the same lifecycle so stopping one session does not affect another.
This PR tracks ringtone, call, and manual audio focus ownership separately, ignores stale callbacks, and keeps audio setup and cleanup in order. It also stops vibration with the ringtone, preserves ringtone mode when changing the speaker route, and replaces audio focus requests when their attributes change.
Adds lifecycle state tests, JS wrapper tests, and documentation for audio focus behavior.
⚠️ Potentially breaking change
Theoretically / Functionality not changed.
But due to refactored audio route / thread safe handling / atomic actions moved to native side, so should retest for your own projects and use cases.
What's Changed
Full Changelog: 4.2.2...4.3.0