Share Screen is not working on android

When using the latest version of zoom SDK on Android i am facing an issue with the share screen button, i click on it and nothing happen. I did some debug and figure out that zoom.shareHelper.shareScreen() is returning undefined.
here is the part of onPressShare function

   const onPressShare = async () => {
        const isOtherSharing = await zoom.shareHelper.isOtherSharing();
        const isShareLocked = await zoom.shareHelper.isShareLocked();
        if (isOtherSharing) {
            Alert.alert('Other is sharing');
        } else if (isShareLocked) {
            Alert.alert('Share is locked by host');
        } else if (isSharing) {
        } else {

and here is the part of the listener

const userShareStatusChangeListener = zoom.addListener(
            async ({
            }: {
                user: ZoomVideoSdkUser;
                status: ShareStatus;
            }) => {
                const shareUser: ZoomVideoSdkUser = new ZoomVideoSdkUser(user);
                const mySelf: ZoomVideoSdkUserType = await zoom.session.getMySelf();

                if (user.userId && status === ShareStatus.Start) {
                    setIsSharing(shareUser.userId === mySelf.userId);
                } else {

any help?

Thanks - for this - I know you mentioned the latest version, but could you specify if the version is v1.3.1 or something else? The React Native wrapper version should match the Android/iOS version exactly as well.

thanks for your response, I am using the latest version on npm, version 1.2.0

The current version should be v1.3.1, but using npm to install the Zoom Video SDK into your project doesn’t work very well as the SDK uses a wrapper around the entire project. You can use these directions to get a general idea of how it would be implemented - Sample app walkthrough.

The easiest solution would be to download the example and plug your app into that framework.

Once you download the React Native wrapper, download the matching Android and iOS Video SDK files and follow these guides to get those parts up and running.



I hope this gets you further along; let me know if not, and I will provide more guidance where I can. We are actively working on ways to make this easier, and if you have any recommendations on where we could help this process out for you, please let me know. Thanks!

This topic was automatically closed after 30 days. New replies are no longer allowed.