Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Revert "fix(react-native-sdk): Export JitsiMeeting component" (#17215)

Calinteodor751d1fae368a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 26716c38b6..c1f09afda9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -208,6 +208,24 @@ jobs:
-framework ios/sdk/out/ios-device.xcarchive/Products/Library/Frameworks/JitsiMeetSDK.framework \
-output ios/sdk/out/JitsiMeetSDK.xcframework
- run: ls -lR ios/sdk/out
+ react-native-sdk-build:
+ name: Build mobile SDK (React Native)
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
+ - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f #v6.3.0
+ with:
+ node-version-file: '.nvmrc'
+ cache: 'npm'
+ - name: Check Node / npm versions
+ run: |
+ node -v
+ npm -v
+ - run: npm install
+ - run: |
+ cd react-native-sdk
+ node update_sdk_dependencies.js
+ npm install
debian-build:
name: Test Debian packages build
runs-on: ubuntu-latest
diff --git a/react-native-sdk/.npmignore b/react-native-sdk/.npmignore
index c0e97de785..aa1ec1ea06 100644
--- a/react-native-sdk/.npmignore
+++ b/react-native-sdk/.npmignore
@@ -1,6 +1 @@
*.tgz
-tsconfig.json
-.npmrc
-.git
-.gitignore
-node_modules
diff --git a/react-native-sdk/package.json b/react-native-sdk/package.json
index c368908cfe..c2219de23b 100644
--- a/react-native-sdk/package.json
+++ b/react-native-sdk/package.json
@@ -2,8 +2,7 @@
"name": "@jitsi/react-native-sdk",
"version": "0.0.0",
"description": "React Native SDK for Jitsi Meet.",
- "main": "dist/index.js",
- "types": "dist/index.d.ts",
+ "main": "index.tsx",
"license": "Apache-2.0",
"author": "",
"homepage": "https://jitsi.org",
@@ -93,27 +92,9 @@
"@babel/plugin-proposal-optional-chaining": "0.0.0"
},
"scripts": {
- "build": "tsc -p tsconfig.json",
"postinstall": "node sdk_instructions.js",
- "prepare": "node prepare_sdk.js && npm run build"
+ "prepare": "node prepare_sdk.js"
},
- "files": [
- "dist",
- "android",
- "ios",
- "index.tsx",
- "jitsi-meet-rnsdk.podspec",
- "prepare_sdk.js",
- "sdk_instructions.js",
- "update_dependencies.js",
- "update_sdk_dependencies.js",
- "README.md",
- "images",
- "sounds",
- "lang",
- "modules",
- "react"
- ],
"bugs": {
"url": "https://github.com/jitsi/jitsi-meet/issues"
},
diff --git a/react-native-sdk/tsconfig.json b/react-native-sdk/tsconfig.json
deleted file mode 100644
index 79887ff4f0..0000000000
--- a/react-native-sdk/tsconfig.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "extends": "../tsconfig.native.json",
- "compilerOptions": {
- "outDir": "./dist",
- "declaration": true,
- "declarationMap": true,
- "sourceMap": true,
- "emitDeclarationOnly": false
- },
- "include": [
- "index.tsx"
- ],
- "exclude": [
- "node_modules",
- "dist"
- ]
-}