@zapiack/react-native 0.0.0-stage → 0.2.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 +14 -0
- package/LICENSE +21 -0
- package/README.md +171 -2
- package/android/build.gradle +48 -0
- package/android/src/main/AndroidManifest.xml +1 -0
- package/android/src/main/java/com/zapiack/reactnative/ZapiackPushModule.kt +113 -0
- package/android/src/main/java/com/zapiack/reactnative/ZapiackPushPackage.kt +12 -0
- package/dist/calls.d.mts +198 -0
- package/dist/calls.d.ts +198 -0
- package/dist/calls.js +793 -0
- package/dist/calls.mjs +406 -0
- package/dist/chunk-CCLICX3L.mjs +371 -0
- package/dist/index.d.mts +61 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.js +490 -0
- package/dist/index.mjs +100 -0
- package/dist/realtime-BAcafCSr.d.mts +173 -0
- package/dist/realtime-BAcafCSr.d.ts +173 -0
- package/ios/Zapiack/Api.swift +134 -0
- package/ios/Zapiack/EventQueue.swift +95 -0
- package/ios/Zapiack/ImageFile.swift +22 -0
- package/ios/Zapiack/LayoutModel.swift +128 -0
- package/ios/Zapiack/LayoutView.swift +206 -0
- package/ios/Zapiack/Models.swift +151 -0
- package/ios/Zapiack/Processing.swift +59 -0
- package/ios/Zapiack/PushClient.swift +140 -0
- package/ios/Zapiack/Storage.swift +86 -0
- package/ios/Zapiack/ZapiackLiveActivityWidget.swift +170 -0
- package/ios/Zapiack/ZapiackLiveAttributes.swift +78 -0
- package/ios/Zapiack/ZapiackPush.swift +146 -0
- package/ios/ZapiackPushModule.m +19 -0
- package/ios/ZapiackPushModule.swift +126 -0
- package/package.json +97 -4
- package/zapiack-react-native.podspec +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,99 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zapiack/react-native",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Push notifications, live messaging and voice & video calls for React Native with Zapiack.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Zapiack <support@zapiack.com>",
|
|
7
|
+
"homepage": "https://docs.zapiack.com/push/client-sdks",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/zapiack-hq/zapiack-react-native.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/zapiack-hq/zapiack-react-native/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"zapiack",
|
|
17
|
+
"react-native",
|
|
18
|
+
"push",
|
|
19
|
+
"notifications",
|
|
20
|
+
"fcm",
|
|
21
|
+
"apns",
|
|
22
|
+
"realtime",
|
|
23
|
+
"calls",
|
|
24
|
+
"webrtc",
|
|
25
|
+
"voice",
|
|
26
|
+
"video"
|
|
27
|
+
],
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"module": "./dist/index.mjs",
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/index.d.mts",
|
|
35
|
+
"default": "./dist/index.mjs"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"default": "./dist/index.js"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"./package.json": "./package.json",
|
|
43
|
+
"./calls": {
|
|
44
|
+
"import": {
|
|
45
|
+
"types": "./dist/calls.d.mts",
|
|
46
|
+
"default": "./dist/calls.mjs"
|
|
47
|
+
},
|
|
48
|
+
"require": {
|
|
49
|
+
"types": "./dist/calls.d.ts",
|
|
50
|
+
"default": "./dist/calls.js"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"dist",
|
|
56
|
+
"android",
|
|
57
|
+
"!android/build",
|
|
58
|
+
"!android/.gradle",
|
|
59
|
+
"ios",
|
|
60
|
+
"zapiack-react-native.podspec",
|
|
61
|
+
"README.md",
|
|
62
|
+
"CHANGELOG.md",
|
|
63
|
+
"LICENSE"
|
|
64
|
+
],
|
|
65
|
+
"sideEffects": false,
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "tsup",
|
|
68
|
+
"typecheck": "tsc --noEmit",
|
|
69
|
+
"test": "vitest run",
|
|
70
|
+
"sync-ios": "sh tool/sync-ios.sh",
|
|
71
|
+
"prepublishOnly": "npm run sync-ios && npm run typecheck && npm run build && npm test"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"react-native": ">=0.71.0",
|
|
75
|
+
"react-native-webrtc": ">=124.0.0",
|
|
76
|
+
"mediasoup-client": "^3.18.0"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@types/react": "^19.0.0",
|
|
80
|
+
"mediasoup-client": "^3.26.0",
|
|
81
|
+
"react": "^19.0.0",
|
|
82
|
+
"react-native": "^0.79.0",
|
|
83
|
+
"react-native-webrtc": "^124.0.8",
|
|
84
|
+
"tsup": "^9.0.0",
|
|
85
|
+
"typescript": "~5.9.0",
|
|
86
|
+
"vitest": "^5.0.5"
|
|
87
|
+
},
|
|
88
|
+
"publishConfig": {
|
|
89
|
+
"access": "public"
|
|
90
|
+
},
|
|
91
|
+
"peerDependenciesMeta": {
|
|
92
|
+
"react-native-webrtc": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"mediasoup-client": {
|
|
96
|
+
"optional": true
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
|
+
|
|
5
|
+
Pod::Spec.new do |s|
|
|
6
|
+
s.name = "zapiack-react-native"
|
|
7
|
+
s.version = package["version"]
|
|
8
|
+
s.summary = package["description"]
|
|
9
|
+
s.homepage = "https://zapiack.com"
|
|
10
|
+
s.license = { :type => "MIT", :file => "LICENSE" }
|
|
11
|
+
s.author = { "Zapiack" => "support@zapiack.com" }
|
|
12
|
+
s.platforms = { :ios => "13.0" }
|
|
13
|
+
s.source = { :git => "https://github.com/zapiack-hq/zapiack-react-native.git", :tag => "v#{s.version}" }
|
|
14
|
+
s.source_files = "ios/**/*.{h,m,swift}"
|
|
15
|
+
s.swift_version = "5.9"
|
|
16
|
+
s.dependency "React-Core"
|
|
17
|
+
end
|