@poolse/native 3.2.0-dev.5 → 3.3.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
@@ -2,6 +2,17 @@
2
2
 
3
3
  Formerly `@poolse/react-native-calls` (0.x).
4
4
 
5
+ ## 3.3.0 — 2026-11-20
6
+
7
+ - No changes; released with the other `@poolse/*` packages at 3.3.0.
8
+
9
+ ## 3.2.0 — 2026-11-17
10
+
11
+ - Stable release of everything in the 3.2.0 prereleases below (streaming agent replies, screen sharing, full screen, the redesigned call screen, screen sharing from iOS).
12
+ - Screen sharing's config plugin now gives the `PoolseBroadcast` Podfile
13
+ target the app's `use_frameworks!` setting, so apps with
14
+ `ios.useFrameworks` (e.g. `"static"`) pass `pod install`.
15
+
5
16
  ## 3.2.0-dev.5 — 2026-11-17 (prerelease, npm tag `dev`)
6
17
 
7
18
  - Screen sharing from iOS. Add `"screenShare": true` to the config plugin's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolse/native",
3
- "version": "3.2.0-dev.5",
3
+ "version": "3.3.0",
4
4
  "description": "Native call core for poolse — Kotlin/Swift calling engine with a thin React Native bridge. Ring, answer and carry audio with the app killed and the phone locked.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -1 +1,3 @@
1
- { "type": "commonjs" }
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -30,7 +30,11 @@ function copyIntoProject(config, file) {
30
30
  return withDangerousMod(config, [
31
31
  'ios',
32
32
  (cfg) => {
33
- const target = path.join(cfg.modRequest.platformProjectRoot, cfg.modRequest.projectName, path.basename(file));
33
+ const target = path.join(
34
+ cfg.modRequest.platformProjectRoot,
35
+ cfg.modRequest.projectName,
36
+ path.basename(file),
37
+ );
34
38
  fs.copyFileSync(sourceOf(cfg, file), target);
35
39
  return cfg;
36
40
  },
@@ -66,7 +70,14 @@ function copyIntoAndroidRes(config, file) {
66
70
  return withDangerousMod(config, [
67
71
  'android',
68
72
  (cfg) => {
69
- const rawDir = path.join(cfg.modRequest.platformProjectRoot, 'app', 'src', 'main', 'res', 'raw');
73
+ const rawDir = path.join(
74
+ cfg.modRequest.platformProjectRoot,
75
+ 'app',
76
+ 'src',
77
+ 'main',
78
+ 'res',
79
+ 'raw',
80
+ );
70
81
  fs.mkdirSync(rawDir, { recursive: true });
71
82
  fs.copyFileSync(sourceOf(cfg, file), path.join(rawDir, path.basename(file)));
72
83
  return cfg;
@@ -138,11 +138,16 @@ function withExtensionFiles(config, appGroup) {
138
138
  // LiveKit in the extension: the same pod (and so the same version)
139
139
  // the app already resolves through @poolse/native.
140
140
  const podfile = path.join(root, 'Podfile');
141
+ // CocoaPods refuses an extension target whose use_frameworks!
142
+ // differs from the app's, so repeat the app's (Expo's template).
143
+ const linkage =
144
+ " use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if defined?(podfile_properties) && podfile_properties['ios.useFrameworks']\n" +
145
+ " use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS']\n";
141
146
  const text = fs.readFileSync(podfile, 'utf8');
142
147
  if (!text.includes(`target '${TARGET}'`)) {
143
148
  fs.writeFileSync(
144
149
  podfile,
145
- `${text.trimEnd()}\n\n# @poolse/native: the screen-sharing broadcast extension.\ntarget '${TARGET}' do\n pod 'LiveKitClient'\nend\n`,
150
+ `${text.trimEnd()}\n\n# @poolse/native: the screen-sharing broadcast extension.\ntarget '${TARGET}' do\n${linkage} pod 'LiveKitClient'\nend\n`,
146
151
  );
147
152
  }
148
153
  return c;
@@ -10,7 +10,11 @@ declare module 'react' {
10
10
  key: string | null;
11
11
  }
12
12
  export type ComponentType<P = object> = (props: P) => ReactElement | null;
13
- export function createElement(type: unknown, props?: unknown, ...children: unknown[]): ReactElement;
13
+ export function createElement(
14
+ type: unknown,
15
+ props?: unknown,
16
+ ...children: unknown[]
17
+ ): ReactElement;
14
18
  }
15
19
 
16
20
  declare module 'react-native' {