chaimPaneth / react-native-zoom-bridge

23 stars 15 forks source link

ERR_ZOOM_INITILAIZATION #4

Closed abdymm closed 4 years ago

abdymm commented 4 years ago

got error ERR_ZOOM_INITILAIZATION when initialize the zoom, do you have any idea?

when i try to ZoomBridge.initialize , i got this photo_2020-05-07 11 05 36

but, when i trying to use ZoomBridge.joinMeeting i got this photo_2020-05-07 11 01 33

this is my full code

import React, {Component} from 'react';
import ZoomBridge from 'react-native-zoom-bridge';
import {Text, View, Button} from 'react-native';

export class App extends Component {
  async componentDidMount() {
    try {
      const initializeResult = await ZoomBridge.initialize(
        'qvQXXr3Etwgsx4aFSfSlgGEDIf4BhjLDB8yz',
        'tiSFxfRHISoKWX9u43Pgq0d7HYw63W3Jqr5O',
        'zoom.us',
      );
      console.warn({initializeResult});
    } catch (e) {
      console.log(e);
      console.warn({e});
    }
  }
  async join() {
    const displayName = 'ProSpark-Mobile';

    try {
      const joinMeetingResult = await ZoomBridge.joinMeeting(
        displayName,
        '74072615405',
      );
      console.warn({joinMeetingResult});
    } catch (e) {
      console.warn({e});
    }
  }
  render() {
    return (
      <View>
        <Button
          title={'START MEETING'}
          onPress={() => {
            this.join();
          }}
        />
      </View>
    );
  }
}

export default App;
abdymm commented 4 years ago

ah no, i just try to react-native run-android again, and its works

chaimPaneth commented 4 years ago

Great to hear!