expo-callkit-telecom 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +1 -9
  3. package/package.json +13 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,48 @@
1
+ # Changelog
2
+
3
+ All notable changes to `expo-callkit-telecom` are documented here.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.2.3] — 2026-05-16
9
+
10
+ ### Added
11
+ - `CHANGELOG.md`.
12
+ - `docs/vs-callkeep.md` — standalone migration / comparison guide.
13
+
14
+ ### Changed
15
+ - Tightened the npm description and expanded keywords for discoverability.
16
+ - Trimmed the README callkeep comparison; full side-by-side now lives at [`docs/vs-callkeep.md`](docs/vs-callkeep.md).
17
+
18
+ ## [0.2.2] — 2026-05-16
19
+
20
+ ### Changed
21
+ - Moved README badges below the intro for consistency with sibling repo.
22
+
23
+ ## [0.2.1] — 2026-05-16
24
+
25
+ ### Fixed
26
+ - Dropped `.svg` suffix from the license badge URL.
27
+
28
+ ### Changed
29
+ - Auto-create a GitHub release on publish; README polish.
30
+ - Applied `swift-format` and `ktfmt` across the native sources.
31
+
32
+ ## [0.2.0] — 2026-05-15
33
+
34
+ ### Added
35
+ - Initial public implementation:
36
+ - CallKit (iOS) + Jetpack `androidx.core:core-telecom` (Android) with a single typed `CallSession` and parity API (`request` / `report` / `fulfill`).
37
+ - Native VoIP push parsing: APNs VoIP (PushKit) on iOS, FCM data messages on Android — calls can be reported from a terminated state.
38
+ - System ringtone for incoming calls and looped dialtone (with fade-in) for outgoing calls; both configurable via the config plugin.
39
+ - Cross-platform audio session management with typed port types and live route-change events; integrates with WebRTC's `RTCAudioSession` for manual-audio stacks (LiveKit, plain WebRTC).
40
+ - Mute / hold / video / DTMF, both `app → system` and `system → app`.
41
+ - iOS call intents: Recents list and Siri ("call Jane").
42
+ - Config plugin: entitlements, background modes, microphone permission, ringtone/dialtone bundling, FCM service registration.
43
+ - CI: trusted publishing on Node 24 / npm 11.
44
+
45
+ [0.2.3]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.3
46
+ [0.2.2]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.2
47
+ [0.2.1]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.1
48
+ [0.2.0]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.0
package/README.md CHANGED
@@ -196,13 +196,5 @@ This module hands the OS a CallKit/Telecom call, which keeps the *process* alive
196
196
 
197
197
  ## 🆚 Comparison with `react-native-callkeep`
198
198
 
199
- [`react-native-callkeep`](https://github.com/react-native-webrtc/react-native-callkeep) is the long-standing option in this space. Here are some differences with this package:
200
-
201
- - **Android backend.** callkeep uses the classic `android.telecom.ConnectionService` (`minSdk 23`). This module uses Jetpack `androidx.core:core-telecom` (`minSdk 26`), the Google-recommended path going forward — it owns the foreground service, the incoming-call notification, and the full-screen intent, so you don't wire any of that up.
202
- - **Native language.** callkeep is Objective-C + Java. This module is Swift + Kotlin.
203
- - **VoIP push parsing.** callkeep doesn't parse pushes — you wire up `pushRegistry:didReceiveIncomingPushWithPayload:` (or `react-native-voip-push-notification`) and FCM data handling yourself. This module parses APNs VoIP and FCM payloads natively, before JS is running, so calls report correctly from a terminated state without app-side glue.
204
- - **Audio session.** callkeep manipulates `AVAudioSession` directly, leaving WebRTC's `RTCAudioSession` to be coordinated by the app. This module integrates with `RTCAudioSession` so manual-audio WebRTC stacks (LiveKit, plain WebRTC) work without extra wiring.
205
- - **API shape.** callkeep's options are split into `{ ios: {...}, android: {...} }` and several methods are platform-only. This module exposes one typed `CallSession` object and one set of verbs (`request` / `report` / `fulfill`) that work the same on both platforms.
206
- - **Expo support.** This module is an Expo Module with a config plugin that handles entitlements, background modes, permissions, ringtone bundling, and FCM service registration.
207
- - **Tested with.** iOS 26 / Android 15, on real devices, with LiveKit as the media transport.
199
+ Short version: this module targets Expo + modern Android (`androidx.core:core-telecom`, `minSdk 26`) + manual-audio WebRTC (LiveKit etc.), with native VoIP push parsing built in. Full side-by-side and migration notes: **[docs/vs-callkeep.md](docs/vs-callkeep.md)**.
208
200
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-callkit-telecom",
3
- "version": "0.2.2",
4
- "description": "Expo module wrapping CallKit (iOS) and Jetpack Core-Telecom (Android) with API parity",
3
+ "version": "0.2.3",
4
+ "description": "CallKit + Jetpack Core-Telecom for Expo / React Native native call UI, VoIP push, LiveKit-friendly audio. A modern react-native-callkeep alternative.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
7
7
  "scripts": {
@@ -19,11 +19,21 @@
19
19
  "keywords": [
20
20
  "react-native",
21
21
  "expo",
22
+ "expo-module",
22
23
  "callkit",
24
+ "callkeep",
23
25
  "telecom",
26
+ "core-telecom",
27
+ "jetpack",
24
28
  "voip",
25
29
  "calling",
26
- "webrtc"
30
+ "incoming-call",
31
+ "webrtc",
32
+ "livekit",
33
+ "pushkit",
34
+ "apns",
35
+ "fcm",
36
+ "push-notifications"
27
37
  ],
28
38
  "repository": {
29
39
  "type": "git",