@cometchat/calls-sdk-react-native 5.0.0-beta.8 → 5.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometchat/calls-sdk-react-native",
3
- "version": "5.0.0-beta.8",
3
+ "version": "5.0.0",
4
4
  "description": "CometChat Calls SDK for React Native provides voice and video calling capabilities for React Native applications.",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "promise.allsettled": "^1.0.7",
22
22
  "text-encoding": "^0.7.0",
23
23
  "valibot": "^1.2.0",
24
- "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1790.0.0+311766e3/lib-jitsi-meet.tgz",
24
+ "@cometchat/calls-lib-webrtc": "https://dl.cloudsmith.io/public/cometchat/cometchat/raw/files/cometchat-calls-lib-webrtc-346a46ff.tgz",
25
25
  "zustand": "^5.0.4"
26
26
  },
27
27
  "engines": {
@@ -1,29 +0,0 @@
1
- package com.cometchat.calls;
2
-
3
- import android.widget.Toast;
4
- import androidx.annotation.NonNull;
5
-
6
- import com.facebook.react.bridge.ReactApplicationContext;
7
- import com.facebook.react.bridge.ReactContextBaseJavaModule;
8
- import com.facebook.react.bridge.ReactMethod;
9
-
10
- public class ToastModule extends ReactContextBaseJavaModule {
11
-
12
- private final ReactApplicationContext reactContext;
13
-
14
- public ToastModule(ReactApplicationContext reactContext) {
15
- super(reactContext);
16
- this.reactContext = reactContext;
17
- }
18
-
19
- @NonNull
20
- @Override
21
- public String getName() {
22
- return "ToastModule";
23
- }
24
-
25
- @ReactMethod
26
- public void showToast(String message) {
27
- Toast.makeText(reactContext, message, Toast.LENGTH_SHORT).show();
28
- }
29
- }