Pass Data from React Native to Android or iOS native

Does jitsi-meet have any interface or event for passing data from react-native to android or iOS when the app is unmounted? for instance, I want to pass a flag to android when the app unmounted and then do something in android based on that flag. :thinking:

It doesn’t currently send an event on that case. It does, however, send one when a conference is left, which is usually equivalent for the typical SDK user. What is your usecase?

I want to send data when dispatching disconnect() method and get data in android side.
for example:

if (navigator.product === ‘ReactNative’)
} else {

Is there any method like sendDataToSDK()?

The call to disconnect will ultimately send conferenceTerminated to the SDK. Why do you need an extra event which represents the same state?

We don’t have a sendDataToSDK per se, bue we do have something very similar in mobile/external-api. That’s what translates JS events into SDK delegate methods.