expo-callkit-telecom 0.2.3 → 0.2.5
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.
- package/CHANGELOG.md +19 -0
- package/README.md +18 -1
- package/build/Calls.d.ts +34 -26
- package/build/Calls.d.ts.map +1 -1
- package/build/Calls.js +34 -26
- package/build/Calls.js.map +1 -1
- package/build/Calls.types.d.ts +193 -3
- package/build/Calls.types.d.ts.map +1 -1
- package/build/Calls.types.js.map +1 -1
- package/build/hooks/useVoIPPushToken.d.ts +2 -0
- package/build/hooks/useVoIPPushToken.d.ts.map +1 -1
- package/build/hooks/useVoIPPushToken.js +2 -0
- package/build/hooks/useVoIPPushToken.js.map +1 -1
- package/package.json +11 -4
- package/src/Calls.ts +34 -26
- package/src/Calls.types.ts +225 -15
- package/src/hooks/useVoIPPushToken.ts +2 -0
- package/typedoc.json +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ All notable changes to `expo-callkit-telecom` are documented here.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.5] — 2026-05-16
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- API reference page now groups items into 12 themed sections (Sessions, Requests, Reporters, Fulfillers, Call Events, Audio, Audio Events, Capture, VoIP Push, Permissions, Hooks, Core). Added `@category` tags to all exports in `src/Calls.ts` and `src/Calls.types.ts`, including the previously-uncategorized session functions and every type alias.
|
|
12
|
+
- Every interface and type alias now carries a one-line summary, replacing the empty placeholders and the repeated "Base type for all native events with metadata" inherited descriptions on event interfaces.
|
|
13
|
+
|
|
14
|
+
## [0.2.4] — 2026-05-16
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- Documentation site at https://mfairley.github.io/expo-callkit-telecom/ — VitePress with auto-generated typedoc API reference, deployed via a GitHub Actions workflow on push to `main`.
|
|
18
|
+
- "Verified against" matrix in the README and docs site, listing the iOS / Android / Expo SDK / React Native / New Architecture / media-transport versions exercised end-to-end on real devices in each release.
|
|
19
|
+
- `docs:dev` / `docs:build` / `docs:preview` / `docs:api` scripts.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- Reframed the `react-native-callkeep` comparison around architectural choices (Jetpack `androidx.core:core-telecom`, Swift + Kotlin, Expo Modules API, `RTCAudioSession` manual-audio coordination, native VoIP push parsing) — framing tied to platform recommendations rather than to any other library's release cadence.
|
|
23
|
+
- `docs/` and `marketing/` excluded from the npm tarball.
|
|
24
|
+
|
|
8
25
|
## [0.2.3] — 2026-05-16
|
|
9
26
|
|
|
10
27
|
### Added
|
|
@@ -42,6 +59,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
42
59
|
- Config plugin: entitlements, background modes, microphone permission, ringtone/dialtone bundling, FCM service registration.
|
|
43
60
|
- CI: trusted publishing on Node 24 / npm 11.
|
|
44
61
|
|
|
62
|
+
[0.2.5]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.5
|
|
63
|
+
[0.2.4]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.4
|
|
45
64
|
[0.2.3]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.3
|
|
46
65
|
[0.2.2]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.2
|
|
47
66
|
[0.2.1]: https://github.com/mfairley/expo-callkit-telecom/releases/tag/v0.2.1
|
package/README.md
CHANGED
|
@@ -23,6 +23,21 @@ The module is opinionated about *system integration* and unopinionated about *me
|
|
|
23
23
|
- 🗣️ **Call intents on iOS** — Recents list, Siri ("call Jane")
|
|
24
24
|
- 🧩 **Typed TypeScript API** with a single `CallSession` object that tracks state across the call lifecycle
|
|
25
25
|
|
|
26
|
+
## 🧪 Verified against
|
|
27
|
+
|
|
28
|
+
This release is exercised end-to-end on real devices via the runnable `example/` app.
|
|
29
|
+
|
|
30
|
+
| | Tested against |
|
|
31
|
+
| --- | --- |
|
|
32
|
+
| iOS | 26 (minimum 15.1) |
|
|
33
|
+
| Android | 15 (minimum API 26) |
|
|
34
|
+
| Expo SDK | 55 |
|
|
35
|
+
| React Native | 0.83 |
|
|
36
|
+
| New Architecture | Yes |
|
|
37
|
+
| Media transport | LiveKit RN SDK |
|
|
38
|
+
|
|
39
|
+
Each release updates this table — so the recency signal is the version number on npm, not a promise in prose.
|
|
40
|
+
|
|
26
41
|
## 📦 Install
|
|
27
42
|
|
|
28
43
|
```sh
|
|
@@ -196,5 +211,7 @@ This module hands the OS a CallKit/Telecom call, which keeps the *process* alive
|
|
|
196
211
|
|
|
197
212
|
## 🆚 Comparison with `react-native-callkeep`
|
|
198
213
|
|
|
199
|
-
|
|
214
|
+
[`react-native-callkeep`](https://github.com/react-native-webrtc/react-native-callkeep) is the long-standing React Native library in this space. `expo-callkit-telecom` solves the same problem but is built on the current generation of platform APIs: Jetpack `androidx.core:core-telecom` on Android, Swift + Kotlin, the Expo Modules API with a config plugin, and `RTCAudioSession` coordination for manual-audio WebRTC stacks like LiveKit. It also parses APNs VoIP and FCM data payloads natively, so the cold-start incoming-call case works without app-side glue.
|
|
215
|
+
|
|
216
|
+
Full side-by-side, compatibility matrix, and migration notes: **[docs/vs-callkeep.md](docs/vs-callkeep.md)**.
|
|
200
217
|
|
package/build/Calls.d.ts
CHANGED
|
@@ -62,6 +62,8 @@ import type { AudioRouteChangedEvent, AudioSession, AudioSessionActivatedEvent,
|
|
|
62
62
|
* console.log('Active call with:', session.remoteParticipants[0]?.displayName);
|
|
63
63
|
* }
|
|
64
64
|
* ```
|
|
65
|
+
*
|
|
66
|
+
* @category Sessions
|
|
65
67
|
*/
|
|
66
68
|
export declare function getActiveCallSession(): Promise<CallSession | null>;
|
|
67
69
|
/**
|
|
@@ -82,6 +84,8 @@ export declare function getActiveCallSession(): Promise<CallSession | null>;
|
|
|
82
84
|
* // Later, to unsubscribe:
|
|
83
85
|
* subscription.remove();
|
|
84
86
|
* ```
|
|
87
|
+
*
|
|
88
|
+
* @category Sessions
|
|
85
89
|
*/
|
|
86
90
|
export declare function addCallSessionAddedListener(listener: (event: CallSessionAddedEvent) => void): EventSubscription;
|
|
87
91
|
/**
|
|
@@ -91,6 +95,8 @@ export declare function addCallSessionAddedListener(listener: (event: CallSessio
|
|
|
91
95
|
*
|
|
92
96
|
* @param listener - Callback invoked when a session is updated.
|
|
93
97
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
98
|
+
*
|
|
99
|
+
* @category Sessions
|
|
94
100
|
*/
|
|
95
101
|
export declare function addCallSessionUpdatedListener(listener: (event: CallSessionUpdatedEvent) => void): EventSubscription;
|
|
96
102
|
/**
|
|
@@ -100,6 +106,8 @@ export declare function addCallSessionUpdatedListener(listener: (event: CallSess
|
|
|
100
106
|
*
|
|
101
107
|
* @param listener - Callback invoked when a session is removed.
|
|
102
108
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
109
|
+
*
|
|
110
|
+
* @category Sessions
|
|
103
111
|
*/
|
|
104
112
|
export declare function addCallSessionRemovedListener(listener: (event: CallSessionRemovedEvent) => void): EventSubscription;
|
|
105
113
|
/**
|
|
@@ -179,7 +187,7 @@ export declare function setAudioSessionPortOverride(enabled: boolean): void;
|
|
|
179
187
|
* @param listener - Callback invoked when audio session activates.
|
|
180
188
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
181
189
|
*
|
|
182
|
-
* @category Audio
|
|
190
|
+
* @category Audio Events
|
|
183
191
|
*/
|
|
184
192
|
export declare function addAudioSessionActivatedListener(listener: (event: AudioSessionActivatedEvent) => void): EventSubscription;
|
|
185
193
|
/**
|
|
@@ -190,7 +198,7 @@ export declare function addAudioSessionActivatedListener(listener: (event: Audio
|
|
|
190
198
|
* @param listener - Callback invoked when audio session deactivates.
|
|
191
199
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
192
200
|
*
|
|
193
|
-
* @category Audio
|
|
201
|
+
* @category Audio Events
|
|
194
202
|
*/
|
|
195
203
|
export declare function addAudioSessionDeactivatedListener(listener: (event: AudioSessionDeactivatedEvent) => void): EventSubscription;
|
|
196
204
|
/**
|
|
@@ -202,7 +210,7 @@ export declare function addAudioSessionDeactivatedListener(listener: (event: Aud
|
|
|
202
210
|
* @param listener - Callback invoked when audio route changes.
|
|
203
211
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
204
212
|
*
|
|
205
|
-
* @category Audio
|
|
213
|
+
* @category Audio Events
|
|
206
214
|
*/
|
|
207
215
|
export declare function addAudioRouteChangedListener(listener: (event: AudioRouteChangedEvent) => void): EventSubscription;
|
|
208
216
|
/**
|
|
@@ -218,7 +226,7 @@ export declare function addAudioRouteChangedListener(listener: (event: AudioRout
|
|
|
218
226
|
* @param listener - Callback invoked when a call intent is received.
|
|
219
227
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
220
228
|
*
|
|
221
|
-
* @category
|
|
229
|
+
* @category Call Events
|
|
222
230
|
*/
|
|
223
231
|
export declare function addCallIntentReceivedListener(listener: (event: CallIntentReceivedEvent) => void): EventSubscription;
|
|
224
232
|
/**
|
|
@@ -240,7 +248,7 @@ export declare function addCallIntentReceivedListener(listener: (event: CallInte
|
|
|
240
248
|
* );
|
|
241
249
|
* ```
|
|
242
250
|
*
|
|
243
|
-
* @category
|
|
251
|
+
* @category Requests
|
|
244
252
|
*/
|
|
245
253
|
export declare function startOutgoingCall(recipient: CallParticipant, options: CallOptions): Promise<string>;
|
|
246
254
|
/**
|
|
@@ -253,7 +261,7 @@ export declare function startOutgoingCall(recipient: CallParticipant, options: C
|
|
|
253
261
|
* @param listener - Callback invoked when an outgoing call starts.
|
|
254
262
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
255
263
|
*
|
|
256
|
-
* @category
|
|
264
|
+
* @category Call Events
|
|
257
265
|
*/
|
|
258
266
|
export declare function addOutgoingCallStartedListener(listener: (event: OutgoingCallStartedEvent) => void): EventSubscription;
|
|
259
267
|
/**
|
|
@@ -278,7 +286,7 @@ export declare function addOutgoingCallStartedListener(listener: (event: Outgoin
|
|
|
278
286
|
* });
|
|
279
287
|
* ```
|
|
280
288
|
*
|
|
281
|
-
* @category
|
|
289
|
+
* @category Reporters
|
|
282
290
|
*/
|
|
283
291
|
export declare function reportIncomingCall(event: IncomingCallEvent): Promise<void>;
|
|
284
292
|
/**
|
|
@@ -291,7 +299,7 @@ export declare function reportIncomingCall(event: IncomingCallEvent): Promise<vo
|
|
|
291
299
|
* @param listener - Callback invoked when an incoming call is reported.
|
|
292
300
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
293
301
|
*
|
|
294
|
-
* @category
|
|
302
|
+
* @category Call Events
|
|
295
303
|
*/
|
|
296
304
|
export declare function addIncomingCallReportedListener(listener: (event: IncomingCallReportedEvent) => void): EventSubscription;
|
|
297
305
|
/**
|
|
@@ -302,7 +310,7 @@ export declare function addIncomingCallReportedListener(listener: (event: Incomi
|
|
|
302
310
|
*
|
|
303
311
|
* @param id - The call session ID to answer.
|
|
304
312
|
*
|
|
305
|
-
* @category
|
|
313
|
+
* @category Requests
|
|
306
314
|
*/
|
|
307
315
|
export declare function answerCall(id: string): Promise<void>;
|
|
308
316
|
/**
|
|
@@ -314,7 +322,7 @@ export declare function answerCall(id: string): Promise<void>;
|
|
|
314
322
|
* @param listener - Callback invoked when a call is answered.
|
|
315
323
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
316
324
|
*
|
|
317
|
-
* @category
|
|
325
|
+
* @category Call Events
|
|
318
326
|
*/
|
|
319
327
|
export declare function addCallAnsweredListener(listener: (event: CallAnsweredEvent) => void): EventSubscription;
|
|
320
328
|
/**
|
|
@@ -325,7 +333,7 @@ export declare function addCallAnsweredListener(listener: (event: CallAnsweredEv
|
|
|
325
333
|
*
|
|
326
334
|
* @param requestId - The request ID from the CallAnsweredEvent.
|
|
327
335
|
*
|
|
328
|
-
* @category
|
|
336
|
+
* @category Fulfillers
|
|
329
337
|
*/
|
|
330
338
|
export declare function fulfillIncomingCallConnected(requestId: string): Promise<void>;
|
|
331
339
|
/**
|
|
@@ -340,7 +348,7 @@ export declare function fulfillIncomingCallConnected(requestId: string): Promise
|
|
|
340
348
|
* @param id - The call session ID.
|
|
341
349
|
* @param requestId - The request ID from the CallAnsweredEvent.
|
|
342
350
|
*
|
|
343
|
-
* @category
|
|
351
|
+
* @category Fulfillers
|
|
344
352
|
*/
|
|
345
353
|
export declare function failIncomingCallConnected(id: string, requestId: string): Promise<void>;
|
|
346
354
|
/**
|
|
@@ -351,7 +359,7 @@ export declare function failIncomingCallConnected(id: string, requestId: string)
|
|
|
351
359
|
*
|
|
352
360
|
* @param id - The call session ID.
|
|
353
361
|
*
|
|
354
|
-
* @category
|
|
362
|
+
* @category Reporters
|
|
355
363
|
*/
|
|
356
364
|
export declare function reportOutgoingCallConnected(id: string): Promise<void>;
|
|
357
365
|
/**
|
|
@@ -363,7 +371,7 @@ export declare function reportOutgoingCallConnected(id: string): Promise<void>;
|
|
|
363
371
|
*
|
|
364
372
|
* @param id - The call session ID to end.
|
|
365
373
|
*
|
|
366
|
-
* @category
|
|
374
|
+
* @category Requests
|
|
367
375
|
*/
|
|
368
376
|
export declare function endCall(id: string): Promise<void>;
|
|
369
377
|
/**
|
|
@@ -375,7 +383,7 @@ export declare function endCall(id: string): Promise<void>;
|
|
|
375
383
|
* @param listener - Callback invoked when a call ends.
|
|
376
384
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
377
385
|
*
|
|
378
|
-
* @category
|
|
386
|
+
* @category Call Events
|
|
379
387
|
*/
|
|
380
388
|
export declare function addCallEndedListener(listener: (event: CallEndedEvent) => void): EventSubscription;
|
|
381
389
|
/**
|
|
@@ -396,7 +404,7 @@ export declare function addCallEndedListener(listener: (event: CallEndedEvent) =
|
|
|
396
404
|
* await reportCallEnded(callId, 'failed');
|
|
397
405
|
* ```
|
|
398
406
|
*
|
|
399
|
-
* @category
|
|
407
|
+
* @category Reporters
|
|
400
408
|
*/
|
|
401
409
|
export declare function reportCallEnded(id: string, reason: CallEndedReason): Promise<void>;
|
|
402
410
|
/**
|
|
@@ -408,7 +416,7 @@ export declare function reportCallEnded(id: string, reason: CallEndedReason): Pr
|
|
|
408
416
|
* @param listener - Callback invoked when a call end is reported.
|
|
409
417
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
410
418
|
*
|
|
411
|
-
* @category
|
|
419
|
+
* @category Call Events
|
|
412
420
|
*/
|
|
413
421
|
export declare function addReportedCallEndedListener(listener: (event: CallReportedEnded) => void): EventSubscription;
|
|
414
422
|
/**
|
|
@@ -420,7 +428,7 @@ export declare function addReportedCallEndedListener(listener: (event: CallRepor
|
|
|
420
428
|
* @param id - The call session ID.
|
|
421
429
|
* @param muted - Whether the microphone should be muted.
|
|
422
430
|
*
|
|
423
|
-
* @category
|
|
431
|
+
* @category Requests
|
|
424
432
|
*/
|
|
425
433
|
export declare function setMuted(id: string, muted: boolean): Promise<void>;
|
|
426
434
|
/**
|
|
@@ -432,7 +440,7 @@ export declare function setMuted(id: string, muted: boolean): Promise<void>;
|
|
|
432
440
|
* @param listener - Callback invoked when set muted action is requested.
|
|
433
441
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
434
442
|
*
|
|
435
|
-
* @category
|
|
443
|
+
* @category Call Events
|
|
436
444
|
*/
|
|
437
445
|
export declare function addSetMutedActionListener(listener: (event: SetMutedActionEvent) => void): EventSubscription;
|
|
438
446
|
/**
|
|
@@ -443,7 +451,7 @@ export declare function addSetMutedActionListener(listener: (event: SetMutedActi
|
|
|
443
451
|
* @param id - The call session ID.
|
|
444
452
|
* @param enabled - Whether video is enabled.
|
|
445
453
|
*
|
|
446
|
-
* @category
|
|
454
|
+
* @category Reporters
|
|
447
455
|
*/
|
|
448
456
|
export declare function reportVideo(id: string, enabled: boolean): Promise<void>;
|
|
449
457
|
/**
|
|
@@ -454,7 +462,7 @@ export declare function reportVideo(id: string, enabled: boolean): Promise<void>
|
|
|
454
462
|
* @param listener - Callback invoked when video state changes.
|
|
455
463
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
456
464
|
*
|
|
457
|
-
* @category
|
|
465
|
+
* @category Call Events
|
|
458
466
|
*/
|
|
459
467
|
export declare function addVideoChangedListener(listener: (event: VideoChangedEvent) => void): EventSubscription;
|
|
460
468
|
/**
|
|
@@ -466,7 +474,7 @@ export declare function addVideoChangedListener(listener: (event: VideoChangedEv
|
|
|
466
474
|
* @param id - The call session ID.
|
|
467
475
|
* @param onHold - Whether the call should be on hold.
|
|
468
476
|
*
|
|
469
|
-
* @category
|
|
477
|
+
* @category Requests
|
|
470
478
|
*/
|
|
471
479
|
export declare function setHeld(id: string, onHold: boolean): Promise<void>;
|
|
472
480
|
/**
|
|
@@ -478,7 +486,7 @@ export declare function setHeld(id: string, onHold: boolean): Promise<void>;
|
|
|
478
486
|
* @param listener - Callback invoked when set held action is requested.
|
|
479
487
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
480
488
|
*
|
|
481
|
-
* @category
|
|
489
|
+
* @category Call Events
|
|
482
490
|
*/
|
|
483
491
|
export declare function addSetHeldActionListener(listener: (event: SetHeldActionEvent) => void): EventSubscription;
|
|
484
492
|
/**
|
|
@@ -490,7 +498,7 @@ export declare function addSetHeldActionListener(listener: (event: SetHeldAction
|
|
|
490
498
|
* @param id - The call session ID.
|
|
491
499
|
* @param digits - The DTMF digits to play (0-9, *, #).
|
|
492
500
|
*
|
|
493
|
-
* @category
|
|
501
|
+
* @category Requests
|
|
494
502
|
*/
|
|
495
503
|
export declare function playDTMF(id: string, digits: string): Promise<void>;
|
|
496
504
|
/**
|
|
@@ -502,7 +510,7 @@ export declare function playDTMF(id: string, digits: string): Promise<void>;
|
|
|
502
510
|
* @param listener - Callback invoked when DTMF tones should be played.
|
|
503
511
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
504
512
|
*
|
|
505
|
-
* @category
|
|
513
|
+
* @category Call Events
|
|
506
514
|
*/
|
|
507
515
|
export declare function addDTMFListener(listener: (event: DTMFEvent) => void): EventSubscription;
|
|
508
516
|
/**
|
|
@@ -571,7 +579,7 @@ export declare function getVoIPPushToken(): VoIPPushToken | null;
|
|
|
571
579
|
* });
|
|
572
580
|
* ```
|
|
573
581
|
*
|
|
574
|
-
* @category VoIP Push
|
|
582
|
+
* @category VoIP Push
|
|
575
583
|
*/
|
|
576
584
|
export declare function addVoIPPushTokenUpdatedListener(listener: (event: VoIPPushTokenUpdatedEvent) => void): EventSubscription;
|
|
577
585
|
//# sourceMappingURL=Calls.d.ts.map
|
package/build/Calls.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calls.d.ts","sourceRoot":"","sources":["../src/Calls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EACV,sBAAsB,EACtB,YAAY,EACZ,0BAA0B,EAC1B,4BAA4B,EAC5B,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,cAAc,EACd,SAAS,EACT,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,yBAAyB,EAC1B,MAAM,eAAe,CAAC;AAQvB
|
|
1
|
+
{"version":3,"file":"Calls.d.ts","sourceRoot":"","sources":["../src/Calls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,KAAK,EACV,s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AAC,CAE7E;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,GAC3C,iBAAiB,CAEnB;AAMD;;;;;;;;;;GAUG;AACH,wBAAsB,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAExE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,GAC5C,iBAAiB,CAEnB;AAMD;;;;;;;;;;GAUG;AACH,wBAAsB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAExE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,GACnC,iBAAiB,CAEnB;AAMD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,GAAG,IAAI,CAOvD;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,GACnD,iBAAiB,CAEnB"}
|
package/build/Calls.js
CHANGED
|
@@ -65,6 +65,8 @@ import ExpoCallKitTelecomModule from "./ExpoCallKitTelecomModule";
|
|
|
65
65
|
* console.log('Active call with:', session.remoteParticipants[0]?.displayName);
|
|
66
66
|
* }
|
|
67
67
|
* ```
|
|
68
|
+
*
|
|
69
|
+
* @category Sessions
|
|
68
70
|
*/
|
|
69
71
|
export async function getActiveCallSession() {
|
|
70
72
|
const session = await ExpoCallKitTelecomModule.getActiveCallSession();
|
|
@@ -90,6 +92,8 @@ export async function getActiveCallSession() {
|
|
|
90
92
|
* // Later, to unsubscribe:
|
|
91
93
|
* subscription.remove();
|
|
92
94
|
* ```
|
|
95
|
+
*
|
|
96
|
+
* @category Sessions
|
|
93
97
|
*/
|
|
94
98
|
export function addCallSessionAddedListener(listener) {
|
|
95
99
|
return ExpoCallKitTelecomModule.addListener("onCallSessionAdded", (event) => {
|
|
@@ -103,6 +107,8 @@ export function addCallSessionAddedListener(listener) {
|
|
|
103
107
|
*
|
|
104
108
|
* @param listener - Callback invoked when a session is updated.
|
|
105
109
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
110
|
+
*
|
|
111
|
+
* @category Sessions
|
|
106
112
|
*/
|
|
107
113
|
export function addCallSessionUpdatedListener(listener) {
|
|
108
114
|
return ExpoCallKitTelecomModule.addListener("onCallSessionUpdated", (event) => {
|
|
@@ -116,6 +122,8 @@ export function addCallSessionUpdatedListener(listener) {
|
|
|
116
122
|
*
|
|
117
123
|
* @param listener - Callback invoked when a session is removed.
|
|
118
124
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
125
|
+
*
|
|
126
|
+
* @category Sessions
|
|
119
127
|
*/
|
|
120
128
|
export function addCallSessionRemovedListener(listener) {
|
|
121
129
|
return ExpoCallKitTelecomModule.addListener("onCallSessionRemoved", listener);
|
|
@@ -214,7 +222,7 @@ export function setAudioSessionPortOverride(enabled) {
|
|
|
214
222
|
* @param listener - Callback invoked when audio session activates.
|
|
215
223
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
216
224
|
*
|
|
217
|
-
* @category Audio
|
|
225
|
+
* @category Audio Events
|
|
218
226
|
*/
|
|
219
227
|
export function addAudioSessionActivatedListener(listener) {
|
|
220
228
|
return ExpoCallKitTelecomModule.addListener("onAudioSessionActivated", listener);
|
|
@@ -227,7 +235,7 @@ export function addAudioSessionActivatedListener(listener) {
|
|
|
227
235
|
* @param listener - Callback invoked when audio session deactivates.
|
|
228
236
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
229
237
|
*
|
|
230
|
-
* @category Audio
|
|
238
|
+
* @category Audio Events
|
|
231
239
|
*/
|
|
232
240
|
export function addAudioSessionDeactivatedListener(listener) {
|
|
233
241
|
return ExpoCallKitTelecomModule.addListener("onAudioSessionDeactivated", listener);
|
|
@@ -241,7 +249,7 @@ export function addAudioSessionDeactivatedListener(listener) {
|
|
|
241
249
|
* @param listener - Callback invoked when audio route changes.
|
|
242
250
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
243
251
|
*
|
|
244
|
-
* @category Audio
|
|
252
|
+
* @category Audio Events
|
|
245
253
|
*/
|
|
246
254
|
export function addAudioRouteChangedListener(listener) {
|
|
247
255
|
return ExpoCallKitTelecomModule.addListener("onAudioRouteChanged", listener);
|
|
@@ -262,7 +270,7 @@ export function addAudioRouteChangedListener(listener) {
|
|
|
262
270
|
* @param listener - Callback invoked when a call intent is received.
|
|
263
271
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
264
272
|
*
|
|
265
|
-
* @category
|
|
273
|
+
* @category Call Events
|
|
266
274
|
*/
|
|
267
275
|
export function addCallIntentReceivedListener(listener) {
|
|
268
276
|
return ExpoCallKitTelecomModule.addListener("onCallIntentReceived", listener);
|
|
@@ -289,7 +297,7 @@ export function addCallIntentReceivedListener(listener) {
|
|
|
289
297
|
* );
|
|
290
298
|
* ```
|
|
291
299
|
*
|
|
292
|
-
* @category
|
|
300
|
+
* @category Requests
|
|
293
301
|
*/
|
|
294
302
|
export async function startOutgoingCall(recipient, options) {
|
|
295
303
|
return await ExpoCallKitTelecomModule.startOutgoingCall(recipient, options);
|
|
@@ -304,7 +312,7 @@ export async function startOutgoingCall(recipient, options) {
|
|
|
304
312
|
* @param listener - Callback invoked when an outgoing call starts.
|
|
305
313
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
306
314
|
*
|
|
307
|
-
* @category
|
|
315
|
+
* @category Call Events
|
|
308
316
|
*/
|
|
309
317
|
export function addOutgoingCallStartedListener(listener) {
|
|
310
318
|
return ExpoCallKitTelecomModule.addListener("onOutgoingCallStarted", listener);
|
|
@@ -334,7 +342,7 @@ export function addOutgoingCallStartedListener(listener) {
|
|
|
334
342
|
* });
|
|
335
343
|
* ```
|
|
336
344
|
*
|
|
337
|
-
* @category
|
|
345
|
+
* @category Reporters
|
|
338
346
|
*/
|
|
339
347
|
export async function reportIncomingCall(event) {
|
|
340
348
|
await ExpoCallKitTelecomModule.reportIncomingCall(event);
|
|
@@ -349,7 +357,7 @@ export async function reportIncomingCall(event) {
|
|
|
349
357
|
* @param listener - Callback invoked when an incoming call is reported.
|
|
350
358
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
351
359
|
*
|
|
352
|
-
* @category
|
|
360
|
+
* @category Call Events
|
|
353
361
|
*/
|
|
354
362
|
export function addIncomingCallReportedListener(listener) {
|
|
355
363
|
return ExpoCallKitTelecomModule.addListener("onIncomingCallReported", listener);
|
|
@@ -365,7 +373,7 @@ export function addIncomingCallReportedListener(listener) {
|
|
|
365
373
|
*
|
|
366
374
|
* @param id - The call session ID to answer.
|
|
367
375
|
*
|
|
368
|
-
* @category
|
|
376
|
+
* @category Requests
|
|
369
377
|
*/
|
|
370
378
|
export async function answerCall(id) {
|
|
371
379
|
await ExpoCallKitTelecomModule.answerCall(id);
|
|
@@ -379,7 +387,7 @@ export async function answerCall(id) {
|
|
|
379
387
|
* @param listener - Callback invoked when a call is answered.
|
|
380
388
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
381
389
|
*
|
|
382
|
-
* @category
|
|
390
|
+
* @category Call Events
|
|
383
391
|
*/
|
|
384
392
|
export function addCallAnsweredListener(listener) {
|
|
385
393
|
return ExpoCallKitTelecomModule.addListener("onCallAnswered", listener);
|
|
@@ -395,7 +403,7 @@ export function addCallAnsweredListener(listener) {
|
|
|
395
403
|
*
|
|
396
404
|
* @param requestId - The request ID from the CallAnsweredEvent.
|
|
397
405
|
*
|
|
398
|
-
* @category
|
|
406
|
+
* @category Fulfillers
|
|
399
407
|
*/
|
|
400
408
|
export async function fulfillIncomingCallConnected(requestId) {
|
|
401
409
|
await ExpoCallKitTelecomModule.fulfillIncomingCallAnswered(requestId);
|
|
@@ -412,7 +420,7 @@ export async function fulfillIncomingCallConnected(requestId) {
|
|
|
412
420
|
* @param id - The call session ID.
|
|
413
421
|
* @param requestId - The request ID from the CallAnsweredEvent.
|
|
414
422
|
*
|
|
415
|
-
* @category
|
|
423
|
+
* @category Fulfillers
|
|
416
424
|
*/
|
|
417
425
|
export async function failIncomingCallConnected(id, requestId) {
|
|
418
426
|
if (Platform.OS === "ios") {
|
|
@@ -433,7 +441,7 @@ export async function failIncomingCallConnected(id, requestId) {
|
|
|
433
441
|
*
|
|
434
442
|
* @param id - The call session ID.
|
|
435
443
|
*
|
|
436
|
-
* @category
|
|
444
|
+
* @category Reporters
|
|
437
445
|
*/
|
|
438
446
|
export async function reportOutgoingCallConnected(id) {
|
|
439
447
|
await ExpoCallKitTelecomModule.reportOutgoingCallConnected(id);
|
|
@@ -450,7 +458,7 @@ export async function reportOutgoingCallConnected(id) {
|
|
|
450
458
|
*
|
|
451
459
|
* @param id - The call session ID to end.
|
|
452
460
|
*
|
|
453
|
-
* @category
|
|
461
|
+
* @category Requests
|
|
454
462
|
*/
|
|
455
463
|
export async function endCall(id) {
|
|
456
464
|
await ExpoCallKitTelecomModule.endCall(id);
|
|
@@ -464,7 +472,7 @@ export async function endCall(id) {
|
|
|
464
472
|
* @param listener - Callback invoked when a call ends.
|
|
465
473
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
466
474
|
*
|
|
467
|
-
* @category
|
|
475
|
+
* @category Call Events
|
|
468
476
|
*/
|
|
469
477
|
export function addCallEndedListener(listener) {
|
|
470
478
|
return ExpoCallKitTelecomModule.addListener("onCallEnded", listener);
|
|
@@ -487,7 +495,7 @@ export function addCallEndedListener(listener) {
|
|
|
487
495
|
* await reportCallEnded(callId, 'failed');
|
|
488
496
|
* ```
|
|
489
497
|
*
|
|
490
|
-
* @category
|
|
498
|
+
* @category Reporters
|
|
491
499
|
*/
|
|
492
500
|
export async function reportCallEnded(id, reason) {
|
|
493
501
|
await ExpoCallKitTelecomModule.reportCallEnded(id, reason);
|
|
@@ -501,7 +509,7 @@ export async function reportCallEnded(id, reason) {
|
|
|
501
509
|
* @param listener - Callback invoked when a call end is reported.
|
|
502
510
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
503
511
|
*
|
|
504
|
-
* @category
|
|
512
|
+
* @category Call Events
|
|
505
513
|
*/
|
|
506
514
|
export function addReportedCallEndedListener(listener) {
|
|
507
515
|
return ExpoCallKitTelecomModule.addListener("onCallReportedEnded", listener);
|
|
@@ -518,7 +526,7 @@ export function addReportedCallEndedListener(listener) {
|
|
|
518
526
|
* @param id - The call session ID.
|
|
519
527
|
* @param muted - Whether the microphone should be muted.
|
|
520
528
|
*
|
|
521
|
-
* @category
|
|
529
|
+
* @category Requests
|
|
522
530
|
*/
|
|
523
531
|
export async function setMuted(id, muted) {
|
|
524
532
|
await ExpoCallKitTelecomModule.setMuted(id, muted);
|
|
@@ -532,7 +540,7 @@ export async function setMuted(id, muted) {
|
|
|
532
540
|
* @param listener - Callback invoked when set muted action is requested.
|
|
533
541
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
534
542
|
*
|
|
535
|
-
* @category
|
|
543
|
+
* @category Call Events
|
|
536
544
|
*/
|
|
537
545
|
export function addSetMutedActionListener(listener) {
|
|
538
546
|
return ExpoCallKitTelecomModule.addListener("onSetMutedAction", listener);
|
|
@@ -548,7 +556,7 @@ export function addSetMutedActionListener(listener) {
|
|
|
548
556
|
* @param id - The call session ID.
|
|
549
557
|
* @param enabled - Whether video is enabled.
|
|
550
558
|
*
|
|
551
|
-
* @category
|
|
559
|
+
* @category Reporters
|
|
552
560
|
*/
|
|
553
561
|
export async function reportVideo(id, enabled) {
|
|
554
562
|
await ExpoCallKitTelecomModule.reportVideo(id, enabled);
|
|
@@ -561,7 +569,7 @@ export async function reportVideo(id, enabled) {
|
|
|
561
569
|
* @param listener - Callback invoked when video state changes.
|
|
562
570
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
563
571
|
*
|
|
564
|
-
* @category
|
|
572
|
+
* @category Call Events
|
|
565
573
|
*/
|
|
566
574
|
export function addVideoChangedListener(listener) {
|
|
567
575
|
return ExpoCallKitTelecomModule.addListener("onVideoChanged", listener);
|
|
@@ -578,7 +586,7 @@ export function addVideoChangedListener(listener) {
|
|
|
578
586
|
* @param id - The call session ID.
|
|
579
587
|
* @param onHold - Whether the call should be on hold.
|
|
580
588
|
*
|
|
581
|
-
* @category
|
|
589
|
+
* @category Requests
|
|
582
590
|
*/
|
|
583
591
|
export async function setHeld(id, onHold) {
|
|
584
592
|
await ExpoCallKitTelecomModule.setHeld(id, onHold);
|
|
@@ -592,7 +600,7 @@ export async function setHeld(id, onHold) {
|
|
|
592
600
|
* @param listener - Callback invoked when set held action is requested.
|
|
593
601
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
594
602
|
*
|
|
595
|
-
* @category
|
|
603
|
+
* @category Call Events
|
|
596
604
|
*/
|
|
597
605
|
export function addSetHeldActionListener(listener) {
|
|
598
606
|
return ExpoCallKitTelecomModule.addListener("onSetHeldAction", listener);
|
|
@@ -609,7 +617,7 @@ export function addSetHeldActionListener(listener) {
|
|
|
609
617
|
* @param id - The call session ID.
|
|
610
618
|
* @param digits - The DTMF digits to play (0-9, *, #).
|
|
611
619
|
*
|
|
612
|
-
* @category
|
|
620
|
+
* @category Requests
|
|
613
621
|
*/
|
|
614
622
|
export async function playDTMF(id, digits) {
|
|
615
623
|
await ExpoCallKitTelecomModule.playDTMF(id, digits);
|
|
@@ -623,7 +631,7 @@ export async function playDTMF(id, digits) {
|
|
|
623
631
|
* @param listener - Callback invoked when DTMF tones should be played.
|
|
624
632
|
* @returns A subscription that can be removed by calling `.remove()`.
|
|
625
633
|
*
|
|
626
|
-
* @category
|
|
634
|
+
* @category Call Events
|
|
627
635
|
*/
|
|
628
636
|
export function addDTMFListener(listener) {
|
|
629
637
|
return ExpoCallKitTelecomModule.addListener("onDTMF", listener);
|
|
@@ -707,7 +715,7 @@ export function getVoIPPushToken() {
|
|
|
707
715
|
* });
|
|
708
716
|
* ```
|
|
709
717
|
*
|
|
710
|
-
* @category VoIP Push
|
|
718
|
+
* @category VoIP Push
|
|
711
719
|
*/
|
|
712
720
|
export function addVoIPPushTokenUpdatedListener(listener) {
|
|
713
721
|
return ExpoCallKitTelecomModule.addListener("onVoIPPushTokenUpdated", listener);
|