- You should remove a local repository from build.gradle:
flatDir {
dirs "$rootDir/../node_modules/react-native-zoom-us/android/libs"
}-
Set
pickFirstrules -
In your
MainApplication.javainside ofonCreateaddSoLoader.loadLibrary("zoom"); -
ZoomSDk now uses exoplayer. So you can experience problems if it already exists in project. You can try to disable it:
implementation (project(':react-native-zoom-us')) {
exclude group: 'com.google.android.exoplayer'
}or check troubleshooting docs for extra options
You can check notes there: #31
Methods requires objects now, so you have to update them. Check next methods:
before:
await ZoomUs.initialize(
config.zoom.appKey,
config.zoom.appSecret,
config.zoom.domain
);after:
await ZoomUs.initialize({
clientKey: '...',
clientSecret: '...',
domain: 'zoom.us',
})before:
await ZoomUs.startMeeting(
displayName,
meetingNo,
userId,
userType,
zoomAccessToken,
zoomToken
);after:
await ZoomUs.startMeeting({
userName: displayName,
meetingNumber: meetingNo,
userId: userId,
zoomAccessToken: zoomAccessToken,
userType: userType,
})before:
await ZoomUs.joinMeeting(
displayName,
meetingNo
);after:
ZoomUs.joinMeeting({
userName: displayName,
meetingNumber: meetingNo,
})All IOS native dependencies are linking automatically.
So you need to remove all old references:
- MobileRTC.framework
- MobileRTCResources.bundle
- RNZoomUs.xcodeproj
Ideally your *.xcodeproj shouldn't match react-native-zoom-us now.