Repository navigation
4.4.0
Includes everything tagged as 4.3.17 on 2026-09-10, which was never published to npm.
Added
- iOS:
RNCallKeep.continueUserActivity(_:), for apps with a scene life cycle, which iOS 27 requires: forward the scene delegate's user activities to it so calls started from Recents, Contacts or Siri still senddidReceiveStartCallAction. The pod now defines a module, so Swift code canimport RNCallKeep. The README explains the scene setup. - Docs: A new example app (
example/, React Native 0.87, TypeScript) runs every part of the library with simulated calls from this repository's code, and documents the native setup on both platforms. It replaces the unmaintained Expo 34 example. - Docs:
CONTRIBUTING.md(how to try a change in an app, what a pull request needs),SECURITY.md(private vulnerability reporting), this changelog, and every contributor inAUTHORS. - iOS: Privacy manifest (
PrivacyInfo.xcprivacy, UserDefaults reason CA92.1, no collected data) shipped through a CocoaPods resource bundle. The podspec now uses React Native's minimum iOS version when available. (#770, @ujeon, follow-up by @sboily)
Changed
- Releases are staged on npm by GitHub Actions, with provenance, when a tag named after the version is pushed (
4.4.0, novprefix), and published once a maintainer approves them. The podspec's source tag follows that format. - iOS: The library no longer sets a preferred sample rate (44.1 kHz) and IO buffer duration (5 ms) on the call's audio session. On an iPhone 15 Pro Max with iOS 27 the hardware rate stays 48 kHz either way, and the IO buffer goes from 5 ms to iOS's default (about 23 ms). If your audio stack needs a short buffer and doesn't set one itself, call
AVAudioSession.sharedInstance().setPreferredIOBufferDuration(_:)in your app. (#858, @fhilleriteau-fdi) - Docs:
didDeactivateAudioSession,didResetProviderandcreateIncomingConnectionFailedadded to the events table. (#804, @davidliu)
Fixed
- JS/Typings:
getAudioRoutes()is typed asPromise<AudioRoute[]>(it wasPromise<void>), andsetMutedCallis no longer documented as iOS-only: Android has it too. The README documents the returned array and itsselectedfield. (#838 found the return type, @palmtown) - iOS: Events received before the module is initialized (for example an incoming call reported from
AppDelegateon a VoIP push cold start) are no longer lost:_delayedEventsis now created when the singleton is allocated. (#877, @minhuwv) - iOS:
getAudioRoutes/getAudioInputsno longer activate the audio session, so they no longer interrupt other apps' audio, switch the output to the receiver, or bring up a hands-free (car) call after a call ends. Outside a call,selectednow reflects the route actually in use. (#863, @siebeg-ideal) - iOS:
setAudioRouteandgetAudioRoutesreject with the exception description (a string) instead of theNSExceptionitself, as React Native 0.79 requires. (#845, @KorotkovAlex) - Android: On Android 6 to 11,
displayIncomingCallandstartCallno longer hang with the call UI only showing after a reload (#824, #842). The call-state listener ranLooper.loop()on React Native's module thread; it now runs on aHandlerThreadand works from threads without a looper. (#825, @JoBolNex, follow-up by @sboily) - Android: Ending one of several calls no longer stops the foreground service while another call is still active, so the remaining call keeps its microphone in the background. (#826, @FedorZarubin)
- Android: Events raised before React is ready on a cold start (for example answer or end from the native call UI) are kept and replayed in order once a React instance and listeners exist, and
getInitialEvents()returns them. Before, they could be lost, or JS could be accessed before an instance existed. (#875, @sboily) - Android: Self-managed incoming calls (
selfManaged: true) no longer crash whenREAD_PHONE_NUMBERSis denied: the connection is flagged self-managed without looking up the phone account. (#876, @sboily) - Android:
stopForegroundServicepassesService.STOP_FOREGROUND_REMOVEtostopForeground(it passed the microphone foreground-service type by mistake), so the foreground notification is removed. (#742, @ramijarrar) - Android:
openPhoneAccounts()opens the phone-account settings directly on Oppo devices. (#751, @rimonhanna) - Android: Removed the three-argument overloads of
displayIncomingCallandstartCall, which React Native 0.76 rejects as duplicate method names. The JS API is unchanged. (#816, @Irfanwani) - Android: The Gradle
namespace(io.wazo.callkeep) is set, so the library builds with Android Gradle Plugin 8 (React Native 0.73). (#781, @gasolin) - Android:
@RequiresApi(S)added onCallStateListener(lint). (#741, @ramijarrar) - JS/Typings:
NativeEvents.onHasActiveCallnow holds the native event name'RNCallKeepHasActiveCall'(it was'onHasActiveCall'), so theInitialEventsentries for this event are typed correctly. - The npm package no longer ships the
tests/folder.