mieszko4 / react-native-zoom-us

MIT License
126 stars 118 forks source link

[iOS] How to disable share screen option? #89

Closed isumesh closed 1 year ago

isumesh commented 3 years ago

Hi, Thank you for the wonderful library :D

in the joinMeeting api we have option to hide share button using noShare flag, which only works on android and not iOS ? Also, is there a way to pass this flag in startMeeting api as well ?

As per the use case of my application, i only want to give them audio, video, chat and participant list functionality and nothing else. Kindly let me know how can we achieve the same using this library ?

mieszko4 commented 3 years ago

thnx, I got some great contributors :)

mieszko4 commented 3 years ago

in the joinMeeting api we have option to hide share button using noShare flag, which only works on android and not iOS ?

Based on: https://marketplacefront.zoom.us/sdk/meeting/ios/interface_mobile_r_t_c_meeting_start_param.html#ad1a14dc556cd20cd9a6832b50a0f5116 there is a param isAppShare that we can add to the bridge (it seems to be the opposite of no_share in android) when starting the meeting. I do not see such param when joining the meeting

Also, is there a way to pass this flag in startMeeting api as well ?

yes, it looks like there is and can be added to the bridge

As per the use case of my application, i only want to give them audio, video, chat and participant list functionality and nothing else. Kindly let me know how can we achieve the same using this library ?

I believe some of your problems should be resolved after we merge https://github.com/mieszko4/react-native-zoom-us/pull/91

mieszko4 commented 3 years ago

https://github.com/mieszko4/react-native-zoom-us/pull/91 is merged now

mieszko4 commented 3 years ago

I took a deeper look on this. for iOS it seems there is no native settings to hide screen. From what I see the custom UI must be implemented and then meetingShareHidden = true will work (https://marketplacefront.zoom.us/sdk/meeting/ios/interface_mobile_r_t_c_meeting_settings.html#af78fdb2cdb635e1a1bde5af0fce258df)

I've created a ticked for implementing iOS custom UI - https://github.com/mieszko4/react-native-zoom-us/issues/113