0

While using react-native-zoom-bridge getting the error of "got 3 arguments expected 5" in the android simulator. Any idea?

Code:

import {View, Text, Alert} from 'react-native';
import ZoomBridge from 'react-native-zoom-bridge';

const zoomMeeting() => {
  const [isInitialized, setIsInitialized] = useState(false);
  const zoomInit = async () => {
    try {
      const initializeResult = await ZoomBridge.initialize({
        clientKey: CLIENT_KEY,
        clientSecret: CLIENT_SECRET,
      });
      setIsInitialized(true);
      console.log({ initializeResult });
    } catch (e) {
      Alert.alert('Error', 'Could not execute initialize');
      console.error(e);
    }
  }
  
  useEffect(() => {
    zoomInit();
  }, []);

  
  return (
    <View><Text>Hello</Text></View>
  )
}

enter image description here

Preeti Sharma
  • 112
  • 14

0 Answers0