@poolse/native 3.2.0 → 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 +4 -0
- package/package.json +6 -7
- package/plugin/package.json +3 -1
- package/plugin/withRingback.js +13 -2
- package/src/react-shims.d.ts +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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
|
+
|
|
5
9
|
## 3.2.0 — 2026-11-17
|
|
6
10
|
|
|
7
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).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolse/native",
|
|
3
|
-
"version": "3.
|
|
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",
|
|
@@ -37,11 +37,6 @@
|
|
|
37
37
|
"LICENSE",
|
|
38
38
|
"CHANGELOG.md"
|
|
39
39
|
],
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "tsup",
|
|
42
|
-
"prepublishOnly": "tsup",
|
|
43
|
-
"typecheck": "tsc --noEmit"
|
|
44
|
-
},
|
|
45
40
|
"peerDependencies": {
|
|
46
41
|
"expo": "*",
|
|
47
42
|
"expo-notifications": "*",
|
|
@@ -52,5 +47,9 @@
|
|
|
52
47
|
"expo-modules-core": "*",
|
|
53
48
|
"tsup": "^8.3.5",
|
|
54
49
|
"typescript": "^5.6.0"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "tsup",
|
|
53
|
+
"typecheck": "tsc --noEmit"
|
|
55
54
|
}
|
|
56
|
-
}
|
|
55
|
+
}
|
package/plugin/package.json
CHANGED
package/plugin/withRingback.js
CHANGED
|
@@ -30,7 +30,11 @@ function copyIntoProject(config, file) {
|
|
|
30
30
|
return withDangerousMod(config, [
|
|
31
31
|
'ios',
|
|
32
32
|
(cfg) => {
|
|
33
|
-
const target = path.join(
|
|
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(
|
|
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;
|
package/src/react-shims.d.ts
CHANGED
|
@@ -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(
|
|
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' {
|