@poolse/react-native 2.16.2 → 2.17.0

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 CHANGED
@@ -4,6 +4,31 @@ All notable changes to `@poolse/react-native` are documented here.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
5
5
  versions follow [semver](https://semver.org).
6
6
 
7
+ ## [2.17.0] — 2026-08-24
8
+
9
+ ### Fixed
10
+
11
+ - **Ringback played an iPhone ringtone.** On iOS the library resolves
12
+ `startRingback("_DEFAULT_")` to `/Library/Ringtones/Marimba.m4r`, so
13
+ the caller heard the sound the callee's phone makes. `_DTMF_` is
14
+ remapped to `_DEFAULT_`, so the only correct option is to ship a tone:
15
+ `CallScreen` now asks for `_BUNDLE_`, and the app supplies
16
+ `incallmanager_ringback.mp3`. If it is absent the library falls back
17
+ to the ringtone, which is no worse than before.
18
+
19
+ ## [2.16.3] — 2026-08-24
20
+
21
+ ### Fixed
22
+
23
+ - `RingToneModule` is loose again, like `LiveKitModule`. Spelling the
24
+ real signatures out made `react-native-incall-manager` unassignable —
25
+ function parameters are contravariant, so any difference at all (an
26
+ argument required rather than optional, `number | number[]` rather
27
+ than `number[]`) means no app can pass the module in, and it breaks
28
+ again on the next upstream change. Narrowed at the point of use.
29
+
30
+ 2.16.1 and 2.16.2 both attempted this and shipped without it.
31
+
7
32
  ## [2.16.2] — 2026-08-24
8
33
 
9
34
  ### Fixed
package/dist/index.cjs CHANGED
@@ -5902,8 +5902,8 @@ function CallScreen({
5902
5902
  const ringing = calls.phase === "ringing-out";
5903
5903
  if (!ringing && !showingIncoming) return;
5904
5904
  try {
5905
- if (ringing) inCallManager?.startRingback?.("_DEFAULT_");
5906
- else inCallManager?.startRingtone?.("_DEFAULT_");
5905
+ const start = ringing ? inCallManager?.startRingback : inCallManager?.startRingtone;
5906
+ start?.("_DEFAULT_");
5907
5907
  } catch {
5908
5908
  }
5909
5909
  return () => {