Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Initializing Zoom in React-Native Android #361

Open
RakshithCodewave opened this issue Jul 19, 2024 · 1 comment
Open

Issue Initializing Zoom in React-Native Android #361

RakshithCodewave opened this issue Jul 19, 2024 · 1 comment

Comments

@RakshithCodewave
Copy link

Hi Guys,

I'm getting an issue when I try to initialize the Zoom SDK in React-Native on Android. I'm sending the proper jwtToken and domain, and it works perfectly on iOS. and version is "react-native-zoom-us": "^8.0.1",

[TypeError: null is not an object (evaluating '_$$_REQUIRE(_dependencyMap[6], "./native").RNZoomUs.initialize')]

For Android Code:


ZoomUs.initialize({
  jwtToken: 'example_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJEUlJuQ0ptVjNMeHZTSkNPc3dH',
  domain: 'zoom.us',
})
.then(res => {
  ZoomUs.joinMeeting({
    userName,
    meetingNumber,
    password,
  })
  .then(res => {
    if (from === 'curricular') {
      Emitter.emit('joined', true);
    }
  })
  .catch(err => {
    console.log('ZoomUs.error=> ', err);
  });
})
.catch(err => {
  console.log('ZoomUs.initialize error=> ', err);
});

For iOS:

ZoomUs.initialize({
  jwtToken: 'example_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJEUlJuQ0ptVjNMe',
  iosAppGroupId: 'group.com.abcd.org',
  iosScreenShareExtensionId: 'com.abcd.org.ScreenShare',
})
.then(res => {
  console.log('ZoomUs.initialize res==>>>>', res);

  ZoomUs.joinMeeting({
    userName,
    meetingNumber,
    password,
  })
  .then(res => {
    if (from === 'curricular') {
      Emitter.emit('joined', true);
    }
  })
  .catch(err => {
    console.log('ZoomUs.error=> ', err);
  });
})
.catch(err => {
  console.log('ZoomUs.initialize error=> ', err);
});

Any help resolving this issue would be greatly appreciated!

@mieszko4
Copy link
Owner

mieszko4 commented Sep 1, 2024

You use the same jwtToken on both iOS and Android, right?
Does the same issue happen when you try with test app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants