jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.08k stars 6.58k forks source link

How to overwrite react native SDK config overwrite and custom toolbar event binding #14872

Open Bhoomi-tgs opened 1 week ago

Bhoomi-tgs commented 1 week ago

What happened?

I have assign in config object fullscreen options but it's not reflects on mobile sdk side so in another way we have tried to add custom button and on button click we can manage this from mobile side in that scenario button is loaded but SDK doesn't provide any type custom event binding

Platform

Browser / app / sdk version

"@jitsi/react-native-sdk": "^2.2.1",

Relevant log output

No response

Reproducibility

More details?

No response

mapirpg commented 1 week ago

Hello!

Have you tried using prop flags? https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/flags/constants.ts

Bhoomi-tgs commented 1 week ago

Hello!

Have you tried using prop flags? https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/flags/constants.ts

Thanks, Marcel Perin for your update, I have tried this flag but it's won't work, is there any specific configuration for that? I have to followed for android and iOS devices.

mapirpg commented 1 week ago

Hello! Have you tried using prop flags? https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/flags/constants.ts

Thanks, Marcel Perin for your update, I have tried this flag but it's won't work, is there any specific configuration for that? I have to followed for android and iOS devices.

The flags property worked to change the interface on Android (including removing the full-screen), but I didn't test it on iOS. The config property only worked in the React SDK, unfortunately I had a lot of problems with the React Native SDK, due to the 'onReadyToClose' and 'onConferenceLeft' listener, I ended up choosing to develop using WebView with React for the mobile app :/