@zoom/meetingsdk-react-native 0.0.1 → 6.4.10

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.
@@ -30,7 +30,7 @@ android {
30
30
  compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
31
31
  buildToolsVersion getExtOrDefault('buildToolsVersion')
32
32
  defaultConfig {
33
- minSdkVersion 23
33
+ minSdkVersion 26
34
34
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
35
35
  versionCode 1
36
36
  versionName "1.0"
@@ -38,6 +38,10 @@ android {
38
38
 
39
39
  }
40
40
 
41
+ viewBinding {
42
+ enabled = true
43
+ }
44
+
41
45
  buildTypes {
42
46
  release {
43
47
  minifyEnabled false
@@ -128,56 +132,54 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
128
132
  dependencies {
129
133
  // noinspection GradleDynamicVersion
130
134
  api 'com.facebook.react:react-android:+'
131
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
132
-
133
135
  implementation "androidx.security:security-crypto:1.1.0-alpha05"
134
136
  implementation "com.google.crypto.tink:tink-android:1.7.0"
135
137
  implementation "com.google.android.exoplayer:exoplayer-core:2.17.1"
136
138
  implementation "com.google.android.exoplayer:exoplayer-ui:2.17.1"
137
139
  implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
138
-
139
- implementation "androidx.appcompat:appcompat:1.3.1"
140
+ implementation "androidx.appcompat:appcompat:1.6.1"
140
141
  implementation "androidx.constraintlayout:constraintlayout:2.1.0"
141
- implementation "com.google.android.material:material:1.8.0"
142
- implementation "com.google.android.flexbox:flexbox:3.0.0"
142
+ implementation "com.google.android.material:material:1.11.0"
143
143
  implementation "androidx.multidex:multidex:2.0.1"
144
- implementation "com.google.code.gson:gson:2.9.1"
144
+ implementation "com.google.code.gson:gson:2.11.0"
145
145
  implementation "com.github.bumptech.glide:annotations:4.11.0"
146
146
  implementation "com.github.bumptech.glide:glide:4.11.0"
147
- implementation "org.greenrobot:eventbus:3.1.1"
148
-
149
147
  implementation "androidx.recyclerview:recyclerview:1.2.1"
150
148
  implementation "com.airbnb.android:lottie:4.0.0"
151
-
152
- implementation "androidx.window:window:1.0.0"
153
-
154
- implementation "androidx.window:window-java:1.0.0"
155
-
156
- implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.20"
157
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20"
158
-
149
+ implementation "androidx.window:window:1.1.0"
150
+ implementation "androidx.window:window-java:1.1.0"
151
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.20"
152
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20"
159
153
  implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2"
160
154
  implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
161
155
  implementation "androidx.core:core-ktx:1.8.0"
162
- implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"
163
- implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.1"
164
-
156
+ implementation "androidx.core:core:1.13.0"
157
+ implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2"
158
+ implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.2"
165
159
  implementation "androidx.fragment:fragment-ktx:1.4.1"
166
- implementation "io.reactivex.rxjava2:rxandroid:2.1.1"
167
- implementation "org.greenrobot:eventbus:3.1.1"
168
160
  implementation "com.davemorrissey.labs:subsampling-scale-image-view:3.10.0"
169
161
  implementation "androidx.core:core-splashscreen:1.0.1"
170
- implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.6.1"
171
- implementation "androidx.databinding:viewbinding:7.1.2"
162
+ implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.6.2"
172
163
  implementation "io.reactivex.rxjava3:rxandroid:3.0.2"
173
-
174
- implementation "androidx.compose.material3:material3:1.1.1"
175
- implementation "androidx.compose.ui:ui-tooling-preview:1.4.1"
164
+ implementation "androidx.compose.material3:material3:1.2.1"
165
+ implementation "androidx.compose.material3:material3-window-size-class:1.2.1"
166
+ implementation "androidx.compose.ui:ui-tooling-preview:1.6.0"
176
167
  implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
177
168
  implementation "androidx.activity:activity-compose:1.6.1"
178
- implementation "androidx.lifecycle:lifecycle-runtime-compose:2.6.1"
179
- implementation "androidx.navigation:navigation-compose:2.6.0"
169
+ implementation "androidx.lifecycle:lifecycle-runtime-compose:2.6.2"
170
+ implementation "androidx.navigation:navigation-compose:2.7.7"
180
171
  implementation "io.coil-kt:coil-compose:2.3.0"
181
-
182
- implementation project(':mobilertc')
172
+ implementation "androidx.webkit:webkit:1.9.0"
173
+ implementation "org.jetbrains:annotations:23.0.0"
174
+ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1"
175
+ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.7.1"
176
+ implementation "androidx.camera:camera-core:1.4.1"
177
+ implementation "androidx.camera:camera-camera2:1.4.1"
178
+ implementation "androidx.camera:camera-lifecycle:1.4.1"
179
+ implementation "androidx.camera:camera-lifecycle:1.4.1"
180
+ implementation "androidx.camera:camera-view:1.4.1"
181
+ implementation "com.google.mlkit:text-recognition:16.0.1"
182
+ implementation "com.blueparrott:blueparrottsdk:4.8.2"
183
+
184
+ implementation 'us.zoom.meetingsdk:zoomsdk:6.4.10'
183
185
  }
@@ -1,4 +1,4 @@
1
- ZoomMeetingSDK_kotlinVersion=1.7.20
2
- ZoomMeetingSDK_compileSdkVersion=33
1
+ ZoomMeetingSDK_kotlinVersion=2.0.21
2
+ ZoomMeetingSDK_compileSdkVersion=35
3
3
  ZoomMeetingSDK_buildToolsVersion=30.0.2
4
- ZoomMeetingSDK_targetSdkVersion=30
4
+ ZoomMeetingSDK_targetSdkVersion=35
@@ -217,6 +217,7 @@ public class RNZoomSDKModule extends ReactContextBaseJavaModule implements ZoomS
217
217
  JoinMeetingParam4WithoutLogin params = new JoinMeetingParam4WithoutLogin();
218
218
  params.displayName = config.getString("userName");
219
219
  params.meetingNo = config.getString("meetingNumber");
220
+ if (config.hasKey("userType")) params.userType = config.getInt("userType");
220
221
  if (config.hasKey("password")) params.password = config.getString("password");
221
222
  if (config.hasKey("zoomAccessToken")) params.zoomAccessToken = config.getString("zoomAccessToken");
222
223
  if (config.hasKey("vanityID")) params.vanityID = config.getString("vanityID");
@@ -227,9 +228,18 @@ public class RNZoomSDKModule extends ReactContextBaseJavaModule implements ZoomS
227
228
  if (config.hasKey("isAudioRawDataStereo")) params.isAudioRawDataStereo = config.getBoolean("isAudioRawDataStereo");
228
229
 
229
230
  int joinMeetingResult = meetingService.joinMeetingWithParams(reactContext.getCurrentActivity(), params, joinOptions);
231
+
230
232
  promise.resolve(joinMeetingResult);
231
233
 
234
+ if (joinMeetingResult == 0) {
235
+ Log.d(DEBUG_TAG, "Join meeting success");
236
+ } else {
237
+ Log.d(DEBUG_TAG, "Join meeting failed, error code = " + joinMeetingResult);
238
+ }
239
+
232
240
  } catch(Exception e) {
241
+ Log.d(DEBUG_TAG, "Join meeting failed");
242
+
233
243
  promise.reject("joinMeeting_failure", "Join meeting failed", (WritableMap) null);
234
244
  }
235
245
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_validation","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","RNZoomSDK","NativeModules","ZoomSDK","constructor","updateMeetingSetting","isInitialized","initSDK","config","validateNonEmptyStringProp","validateBooleanProp","joinMeeting","startMeeting","exports"],"sources":["ZoomSDK.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport {\n validateNonEmptyStringProp,\n validateBooleanProp,\n} from '../utils/validation';\n\nconst { RNZoomSDK } = NativeModules;\n\nexport type InitConfig = {\n jwtToken?: string;\n domain?: string;\n enableLog?: boolean;\n logSize?: number; //Android only\n bundleResPath?: string; //iOS only\n appGroupId?: string; //iOS only\n replaykitBundleIdentifier?: string; //iOS only\n};\n\nexport type MeetingSettingsConfig = {\n disableVideoPreview?: boolean;\n enableCustomizedMeetingUI?: boolean;\n disableClearWebKitCache?: boolean;\n language?: string;\n};\n\nexport type JoinMeetingConfig = {\n userName: string;\n meetingNumber: string;\n password?: string;\n zoomAccessToken?: string;\n vanityID?: string;\n webinarToken?: string;\n joinToken?: string;\n appPrivilegeToken?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n};\n\nexport type StartMeetingConfig = {\n userName: string;\n meetingNumber?: string;\n userType?: number;\n inviteContactId?: string;\n zoomAccessToken: string;\n vanityID?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n};\n\nexport type ZoomSDKType = {\n // Methods\n initSDK: (config: InitConfig) => Promise<boolean>;\n joinMeeting: (config: JoinMeetingConfig) => Promise<number>;\n startMeeting: (config: StartMeetingConfig) => Promise<number>;\n updateMeetingSetting: (config: MeetingSettingsConfig) => void;\n isInitialized: () => Promise<boolean>;\n};\n\nexport class ZoomSDK implements ZoomSDKType {\n initSDK(config: InitConfig) {\n validateNonEmptyStringProp(config, 'initConfig', 'domain');\n validateBooleanProp(config, 'initConfig', 'enableLog');\n return RNZoomSDK.initSDK(config);\n }\n\n joinMeeting(config: JoinMeetingConfig) {\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'meetingNumber');\n return RNZoomSDK.joinMeeting(config);\n }\n\n startMeeting(config: StartMeetingConfig) {\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'zoomAccessToken');\n return RNZoomSDK.startMeeting(config);\n }\n\n updateMeetingSetting = RNZoomSDK.updateMeetingSetting;\n isInitialized = RNZoomSDK.isInitialized;\n}"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAG6B,SAAAE,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAE7B,MAAM;EAAEgB;AAAU,CAAC,GAAGC,0BAAa;AA4F5B,MAAMC,OAAO,CAAwB;EAAAC,YAAA;IAAAtB,eAAA,+BAmBnBmB,SAAS,CAACI,oBAAoB;IAAAvB,eAAA,wBACrCmB,SAAS,CAACK,aAAa;EAAA;EAnBvCC,OAAOA,CAACC,MAAkB,EAAE;IAC1B,IAAAC,sCAA0B,EAACD,MAAM,EAAE,YAAY,EAAE,QAAQ,CAAC;IAC1D,IAAAE,+BAAmB,EAACF,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC;IACtD,OAAOP,SAAS,CAACM,OAAO,CAACC,MAAM,CAAC;EAClC;EAEAG,WAAWA,CAACH,MAAyB,EAAE;IACrC,IAAAC,sCAA0B,EAACD,MAAM,EAAE,mBAAmB,EAAE,UAAU,CAAC;IACnE,IAAAC,sCAA0B,EAACD,MAAM,EAAE,mBAAmB,EAAE,eAAe,CAAC;IACxE,OAAOP,SAAS,CAACU,WAAW,CAACH,MAAM,CAAC;EACtC;EAEAI,YAAYA,CAACJ,MAA0B,EAAE;IACvC,IAAAC,sCAA0B,EAACD,MAAM,EAAE,oBAAoB,EAAE,UAAU,CAAC;IACpE,IAAAC,sCAA0B,EAACD,MAAM,EAAE,oBAAoB,EAAE,iBAAiB,CAAC;IAC3E,OAAOP,SAAS,CAACW,YAAY,CAACJ,MAAM,CAAC;EACvC;AAIF;AAACK,OAAA,CAAAV,OAAA,GAAAA,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_validation","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","RNZoomSDK","NativeModules","ZoomSDK","constructor","updateMeetingSetting","isInitialized","initSDK","config","validateNonEmptyStringProp","validateBooleanProp","joinMeeting","startMeeting","exports"],"sources":["ZoomSDK.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport {\n validateNonEmptyStringProp,\n validateBooleanProp,\n} from '../utils/validation';\n\nconst { RNZoomSDK } = NativeModules;\n\nexport type InitConfig = {\n jwtToken?: string;\n domain?: string;\n enableLog?: boolean;\n logSize?: number; //Android only\n bundleResPath?: string; //iOS only\n appGroupId?: string; //iOS only\n replaykitBundleIdentifier?: string; //iOS only\n};\n\nexport type MeetingSettingsConfig = {\n disableVideoPreview?: boolean;\n enableCustomizedMeetingUI?: boolean;\n disableClearWebKitCache?: boolean;\n language?: string;\n};\n\nexport type JoinMeetingConfig = {\n userName: string;\n meetingNumber: string;\n password?: string;\n zoomAccessToken?: string;\n vanityID?: string;\n webinarToken?: string;\n joinToken?: string;\n appPrivilegeToken?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n userType?: number;\n};\n\nexport type StartMeetingConfig = {\n userName: string;\n meetingNumber?: string;\n userType?: number;\n inviteContactId?: string;\n zoomAccessToken: string;\n vanityID?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n};\n\nexport type ZoomSDKType = {\n // Methods\n initSDK: (config: InitConfig) => Promise<boolean>;\n joinMeeting: (config: JoinMeetingConfig) => Promise<number>;\n startMeeting: (config: StartMeetingConfig) => Promise<number>;\n updateMeetingSetting: (config: MeetingSettingsConfig) => void;\n isInitialized: () => Promise<boolean>;\n};\n\nexport class ZoomSDK implements ZoomSDKType {\n initSDK(config: InitConfig) {\n validateNonEmptyStringProp(config, 'initConfig', 'domain');\n validateBooleanProp(config, 'initConfig', 'enableLog');\n return RNZoomSDK.initSDK(config);\n }\n\n joinMeeting(config: JoinMeetingConfig) {\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'meetingNumber');\n return RNZoomSDK.joinMeeting(config);\n }\n\n startMeeting(config: StartMeetingConfig) {\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'zoomAccessToken');\n return RNZoomSDK.startMeeting(config);\n }\n\n updateMeetingSetting = RNZoomSDK.updateMeetingSetting;\n isInitialized = RNZoomSDK.isInitialized;\n}"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAG6B,SAAAE,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAE7B,MAAM;EAAEgB;AAAU,CAAC,GAAGC,0BAAa;AA6F5B,MAAMC,OAAO,CAAwB;EAAAC,YAAA;IAAAtB,eAAA,+BAmBnBmB,SAAS,CAACI,oBAAoB;IAAAvB,eAAA,wBACrCmB,SAAS,CAACK,aAAa;EAAA;EAnBvCC,OAAOA,CAACC,MAAkB,EAAE;IAC1B,IAAAC,sCAA0B,EAACD,MAAM,EAAE,YAAY,EAAE,QAAQ,CAAC;IAC1D,IAAAE,+BAAmB,EAACF,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC;IACtD,OAAOP,SAAS,CAACM,OAAO,CAACC,MAAM,CAAC;EAClC;EAEAG,WAAWA,CAACH,MAAyB,EAAE;IACrC,IAAAC,sCAA0B,EAACD,MAAM,EAAE,mBAAmB,EAAE,UAAU,CAAC;IACnE,IAAAC,sCAA0B,EAACD,MAAM,EAAE,mBAAmB,EAAE,eAAe,CAAC;IACxE,OAAOP,SAAS,CAACU,WAAW,CAACH,MAAM,CAAC;EACtC;EAEAI,YAAYA,CAACJ,MAA0B,EAAE;IACvC,IAAAC,sCAA0B,EAACD,MAAM,EAAE,oBAAoB,EAAE,UAAU,CAAC;IACpE,IAAAC,sCAA0B,EAACD,MAAM,EAAE,oBAAoB,EAAE,iBAAiB,CAAC;IAC3E,OAAOP,SAAS,CAACW,YAAY,CAACJ,MAAM,CAAC;EACvC;AAIF;AAACK,OAAA,CAAAV,OAAA,GAAAA,OAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["NativeModules","validateNonEmptyStringProp","validateBooleanProp","RNZoomSDK","ZoomSDK","constructor","_defineProperty","updateMeetingSetting","isInitialized","initSDK","config","joinMeeting","startMeeting"],"sources":["ZoomSDK.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport {\n validateNonEmptyStringProp,\n validateBooleanProp,\n} from '../utils/validation';\n\nconst { RNZoomSDK } = NativeModules;\n\nexport type InitConfig = {\n jwtToken?: string;\n domain?: string;\n enableLog?: boolean;\n logSize?: number; //Android only\n bundleResPath?: string; //iOS only\n appGroupId?: string; //iOS only\n replaykitBundleIdentifier?: string; //iOS only\n};\n\nexport type MeetingSettingsConfig = {\n disableVideoPreview?: boolean;\n enableCustomizedMeetingUI?: boolean;\n disableClearWebKitCache?: boolean;\n language?: string;\n};\n\nexport type JoinMeetingConfig = {\n userName: string;\n meetingNumber: string;\n password?: string;\n zoomAccessToken?: string;\n vanityID?: string;\n webinarToken?: string;\n joinToken?: string;\n appPrivilegeToken?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n};\n\nexport type StartMeetingConfig = {\n userName: string;\n meetingNumber?: string;\n userType?: number;\n inviteContactId?: string;\n zoomAccessToken: string;\n vanityID?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n};\n\nexport type ZoomSDKType = {\n // Methods\n initSDK: (config: InitConfig) => Promise<boolean>;\n joinMeeting: (config: JoinMeetingConfig) => Promise<number>;\n startMeeting: (config: StartMeetingConfig) => Promise<number>;\n updateMeetingSetting: (config: MeetingSettingsConfig) => void;\n isInitialized: () => Promise<boolean>;\n};\n\nexport class ZoomSDK implements ZoomSDKType {\n initSDK(config: InitConfig) {\n validateNonEmptyStringProp(config, 'initConfig', 'domain');\n validateBooleanProp(config, 'initConfig', 'enableLog');\n return RNZoomSDK.initSDK(config);\n }\n\n joinMeeting(config: JoinMeetingConfig) {\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'meetingNumber');\n return RNZoomSDK.joinMeeting(config);\n }\n\n startMeeting(config: StartMeetingConfig) {\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'zoomAccessToken');\n return RNZoomSDK.startMeeting(config);\n }\n\n updateMeetingSetting = RNZoomSDK.updateMeetingSetting;\n isInitialized = RNZoomSDK.isInitialized;\n}"],"mappings":";;;AAAA,SAASA,aAAa,QAAQ,cAAc;AAC5C,SACEC,0BAA0B,EAC1BC,mBAAmB,QACd,qBAAqB;AAE5B,MAAM;EAAEC;AAAU,CAAC,GAAGH,aAAa;AA4FnC,OAAO,MAAMI,OAAO,CAAwB;EAAAC,YAAA;IAAAC,eAAA,+BAmBnBH,SAAS,CAACI,oBAAoB;IAAAD,eAAA,wBACrCH,SAAS,CAACK,aAAa;EAAA;EAnBvCC,OAAOA,CAACC,MAAkB,EAAE;IAC1BT,0BAA0B,CAACS,MAAM,EAAE,YAAY,EAAE,QAAQ,CAAC;IAC1DR,mBAAmB,CAACQ,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC;IACtD,OAAOP,SAAS,CAACM,OAAO,CAACC,MAAM,CAAC;EAClC;EAEAC,WAAWA,CAACD,MAAyB,EAAE;IACrCT,0BAA0B,CAACS,MAAM,EAAE,mBAAmB,EAAE,UAAU,CAAC;IACnET,0BAA0B,CAACS,MAAM,EAAE,mBAAmB,EAAE,eAAe,CAAC;IACxE,OAAOP,SAAS,CAACQ,WAAW,CAACD,MAAM,CAAC;EACtC;EAEAE,YAAYA,CAACF,MAA0B,EAAE;IACvCT,0BAA0B,CAACS,MAAM,EAAE,oBAAoB,EAAE,UAAU,CAAC;IACpET,0BAA0B,CAACS,MAAM,EAAE,oBAAoB,EAAE,iBAAiB,CAAC;IAC3E,OAAOP,SAAS,CAACS,YAAY,CAACF,MAAM,CAAC;EACvC;AAIF","ignoreList":[]}
1
+ {"version":3,"names":["NativeModules","validateNonEmptyStringProp","validateBooleanProp","RNZoomSDK","ZoomSDK","constructor","_defineProperty","updateMeetingSetting","isInitialized","initSDK","config","joinMeeting","startMeeting"],"sources":["ZoomSDK.ts"],"sourcesContent":["import { NativeModules } from 'react-native';\nimport {\n validateNonEmptyStringProp,\n validateBooleanProp,\n} from '../utils/validation';\n\nconst { RNZoomSDK } = NativeModules;\n\nexport type InitConfig = {\n jwtToken?: string;\n domain?: string;\n enableLog?: boolean;\n logSize?: number; //Android only\n bundleResPath?: string; //iOS only\n appGroupId?: string; //iOS only\n replaykitBundleIdentifier?: string; //iOS only\n};\n\nexport type MeetingSettingsConfig = {\n disableVideoPreview?: boolean;\n enableCustomizedMeetingUI?: boolean;\n disableClearWebKitCache?: boolean;\n language?: string;\n};\n\nexport type JoinMeetingConfig = {\n userName: string;\n meetingNumber: string;\n password?: string;\n zoomAccessToken?: string;\n vanityID?: string;\n webinarToken?: string;\n joinToken?: string;\n appPrivilegeToken?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n userType?: number;\n};\n\nexport type StartMeetingConfig = {\n userName: string;\n meetingNumber?: string;\n userType?: number;\n inviteContactId?: string;\n zoomAccessToken: string;\n vanityID?: string;\n isMyVoiceInMix?: boolean;\n isAudioRawDataStereo?: boolean;\n\n noDrivingMode?: boolean;\n noInvite?: boolean;\n noMeetingEndMessage?: boolean;\n noMeetingErrorMessage?: boolean;\n noTitleBar?: boolean;\n noBottomToolbar?: boolean;\n noPhoneDialIn?: boolean;\n noPhoneDialOut?: boolean;\n noRecord?: boolean;\n noShare?: boolean;\n noVideo?: boolean;\n inviteOptions?: number;\n customerKey?: string;\n customMeetingId?: string;\n noUnmuteConfirmDialog?: boolean;\n noWebinarRegisterDialog?: boolean;\n noChatMsgToast?: boolean;\n noAudio?: boolean;\n meetingViewsOptions?: string;\n};\n\nexport type ZoomSDKType = {\n // Methods\n initSDK: (config: InitConfig) => Promise<boolean>;\n joinMeeting: (config: JoinMeetingConfig) => Promise<number>;\n startMeeting: (config: StartMeetingConfig) => Promise<number>;\n updateMeetingSetting: (config: MeetingSettingsConfig) => void;\n isInitialized: () => Promise<boolean>;\n};\n\nexport class ZoomSDK implements ZoomSDKType {\n initSDK(config: InitConfig) {\n validateNonEmptyStringProp(config, 'initConfig', 'domain');\n validateBooleanProp(config, 'initConfig', 'enableLog');\n return RNZoomSDK.initSDK(config);\n }\n\n joinMeeting(config: JoinMeetingConfig) {\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'JoinMeetingConfig', 'meetingNumber');\n return RNZoomSDK.joinMeeting(config);\n }\n\n startMeeting(config: StartMeetingConfig) {\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'userName');\n validateNonEmptyStringProp(config, 'StartMeetingConfig', 'zoomAccessToken');\n return RNZoomSDK.startMeeting(config);\n }\n\n updateMeetingSetting = RNZoomSDK.updateMeetingSetting;\n isInitialized = RNZoomSDK.isInitialized;\n}"],"mappings":";;;AAAA,SAASA,aAAa,QAAQ,cAAc;AAC5C,SACEC,0BAA0B,EAC1BC,mBAAmB,QACd,qBAAqB;AAE5B,MAAM;EAAEC;AAAU,CAAC,GAAGH,aAAa;AA6FnC,OAAO,MAAMI,OAAO,CAAwB;EAAAC,YAAA;IAAAC,eAAA,+BAmBnBH,SAAS,CAACI,oBAAoB;IAAAD,eAAA,wBACrCH,SAAS,CAACK,aAAa;EAAA;EAnBvCC,OAAOA,CAACC,MAAkB,EAAE;IAC1BT,0BAA0B,CAACS,MAAM,EAAE,YAAY,EAAE,QAAQ,CAAC;IAC1DR,mBAAmB,CAACQ,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC;IACtD,OAAOP,SAAS,CAACM,OAAO,CAACC,MAAM,CAAC;EAClC;EAEAC,WAAWA,CAACD,MAAyB,EAAE;IACrCT,0BAA0B,CAACS,MAAM,EAAE,mBAAmB,EAAE,UAAU,CAAC;IACnET,0BAA0B,CAACS,MAAM,EAAE,mBAAmB,EAAE,eAAe,CAAC;IACxE,OAAOP,SAAS,CAACQ,WAAW,CAACD,MAAM,CAAC;EACtC;EAEAE,YAAYA,CAACF,MAA0B,EAAE;IACvCT,0BAA0B,CAACS,MAAM,EAAE,oBAAoB,EAAE,UAAU,CAAC;IACpET,0BAA0B,CAACS,MAAM,EAAE,oBAAoB,EAAE,iBAAiB,CAAC;IAC3E,OAAOP,SAAS,CAACS,YAAY,CAACF,MAAM,CAAC;EACvC;AAIF","ignoreList":[]}
@@ -43,6 +43,7 @@ export declare type JoinMeetingConfig = {
43
43
  noChatMsgToast?: boolean;
44
44
  noAudio?: boolean;
45
45
  meetingViewsOptions?: string;
46
+ userType?: number;
46
47
  };
47
48
  export declare type StartMeetingConfig = {
48
49
  userName: string;
@@ -14,6 +14,10 @@ Pod::Spec.new do |s|
14
14
  s.source = { :git => "https://marketplace.zoom.us", :tag => "#{s.version}" }
15
15
 
16
16
  s.source_files = "ios/**/*.{h,m,mm}"
17
-
18
17
  s.dependency "React-Core"
18
+
19
+ s.dependency "ZoomMeetingSDK", '6.4.10'
20
+
21
+ s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
22
+ s.preserve_paths = ['MobileRTC.xcframework/**/*', 'zoomcml.xcframework/**/*']
19
23
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoom/meetingsdk-react-native",
3
- "version": "0.0.1",
3
+ "version": "6.4.10",
4
4
  "description": "A react-native wrapper for Zoom Meeting SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -54,6 +54,7 @@ export type JoinMeetingConfig = {
54
54
  noChatMsgToast?: boolean;
55
55
  noAudio?: boolean;
56
56
  meetingViewsOptions?: string;
57
+ userType?: number;
57
58
  };
58
59
 
59
60
  export type StartMeetingConfig = {