mattermost-mobile-upstream/app
Mattermost Build 48fdbeec6a
replace react-native-incall-manager with @mattermost/calls-native for audio management (#9973) (#10044)
* replace react-native-incall-manager with @mattermost/calls-native for audio management

Removes react-native-incall-manager entirely and implements audio session
lifecycle, route selection, and ringtone playback directly in calls-native
on both iOS (AVAudioSession) and Android (AudioManager). Adds smart
priority-based auto-routing (BT > WiredHeadset > Earpiece) with user-intent
pinning. Unifies AudioDevice/AudioRoute types in calls-native as the single
source of truth.

* feedback review

* feedback on tests

* feedback review

* have callkit use the ringtone selected by the user

* feedback review

* destroy db after test

* route to wired headset on android

* Android bring back vibration

(cherry picked from commit 6edb76ec68)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2026-08-17 11:39:56 +03:00
..
actions Fix three causes of channels rendering blank (#9992) (#10000) 2026-08-05 08:10:11 +03:00
client Fix link to image proxy and correct padding in image sizing on blocks (#9976) (#9983) 2026-07-30 15:07:57 +03:00
components Fix three causes of channels rendering blank (#9992) (#10000) 2026-08-05 08:10:11 +03:00
constants replace react-native-incall-manager with @mattermost/calls-native for audio management (#9973) (#10044) 2026-08-17 11:39:56 +03:00
context Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
database Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
helpers Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
hooks Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
i18n Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00
init Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
keyboard resumes slide animation after stopping due to modal system dialog showing (#9792) 2026-05-29 06:50:57 +08:00
managers Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
products replace react-native-incall-manager with @mattermost/calls-native for audio management (#9973) (#10044) 2026-08-17 11:39:56 +03:00
queries Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
routes Route through usePropsFromParams for remaining stragglers (#9949) (#9952) 2026-07-20 08:55:51 +03:00
screens replace react-native-incall-manager with @mattermost/calls-native for audio management (#9973) (#10044) 2026-08-17 11:39:56 +03:00
store Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
utils Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00