Skip to content

4.4.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 18:00
· 64 commits to master since this release
448f5af

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 send didReceiveStartCallAction. The pod now defines a module, so Swift code can import 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 in AUTHORS.
  • 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, no v prefix), 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, didResetProvider and createIncomingConnectionFailed added to the events table. (#804, @davidliu)

Fixed

  • JS/Typings: getAudioRoutes() is typed as Promise<AudioRoute[]> (it was Promise<void>), and setMutedCall is no longer documented as iOS-only: Android has it too. The README documents the returned array and its selected field. (#838 found the return type, @palmtown)
  • iOS: Events received before the module is initialized (for example an incoming call reported from AppDelegate on a VoIP push cold start) are no longer lost: _delayedEvents is now created when the singleton is allocated. (#877, @minhuwv)
  • iOS: getAudioRoutes/getAudioInputs no 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, selected now reflects the route actually in use. (#863, @siebeg-ideal)
  • iOS: setAudioRoute and getAudioRoutes reject with the exception description (a string) instead of the NSException itself, as React Native 0.79 requires. (#845, @KorotkovAlex)
  • Android: On Android 6 to 11, displayIncomingCall and startCall no longer hang with the call UI only showing after a reload (#824, #842). The call-state listener ran Looper.loop() on React Native's module thread; it now runs on a HandlerThread and 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 when READ_PHONE_NUMBERS is denied: the connection is flagged self-managed without looking up the phone account. (#876, @sboily)
  • Android: stopForegroundService passes Service.STOP_FOREGROUND_REMOVE to stopForeground (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 displayIncomingCall and startCall, 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 on CallStateListener (lint). (#741, @ramijarrar)
  • JS/Typings: NativeEvents.onHasActiveCall now holds the native event name 'RNCallKeepHasActiveCall' (it was 'onHasActiveCall'), so the InitialEvents entries for this event are typed correctly.
  • The npm package no longer ships the tests/ folder.