After the componentDidMount() I try to use RNZoomUsBridgeEventEmitter like the example from RNZoomUSBridgeExample. But there is no successful message in the console.
When I try to use the code RNZoomUsBridge.initialize, suddenly the apps is closed by itself without message in the screen or console.
React Native version:
System:
OS: Windows 10 10.0.18363
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 864.18 MB / 7.85 GB
Binaries:
Node: 12.19.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29
Build Tools: 28.0.3, 29.0.0, 29.0.2, 29.0.3
System Images: android-28 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5977832
Languages:
Java: 1.8.0_231
Python: 3.9.0
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.0 => 0.63.0
npmGlobalPackages:
*react-native*: Not Found
Steps To Reproduce
After user navigate to the screen that has RNZoomUsBridge component and RNZoomUsBridge.initialize in componentDidMount().
Expected Results
I want to have event check SDKInitialized and all the event like in the example and initialize the Zoom at componentDidMount() event.
Snack, code example, screenshot, or link to a repository:
import RNZoomUsBridge, { RNZoomUsBridgeEventEmitter } from '@mokriya/react-native-zoom-us-bridge';
componentDidMount() {
const meetingEventEmitter = new NativeEventEmitter(RNZoomUsBridgeEventEmitter);
if (!this.sdkInitialized) {
this.sdkInitialized = meetingEventEmitter.addListener(
'SDKInitialized',
() => {
console.log("SDKInitialized");
// lets also get access token
this.createAccessToken();
}
);
}
RNZoomUsBridge.initialize(
ZOOM_APP_KEY,
ZOOM_APP_SECRET,
).then().catch((err) => {
console.warn(err);
Alert.alert('error!', err.message)
});
}
Description
React Native version:
Steps To Reproduce
After user navigate to the screen that has RNZoomUsBridge component and RNZoomUsBridge.initialize in componentDidMount().
Expected Results
I want to have event check SDKInitialized and all the event like in the example and initialize the Zoom at componentDidMount() event.
Snack, code example, screenshot, or link to a repository:
Thank you