[How to] How to leave Jitsi Meet in react-native android

Hey guys, could you tell me please, is there a better way to leave from react native conference, then call setProps(new Bundle())

What I need is:

  1. keep the call alive in foreground service with notification
  2. when user press hang up button on notification, call sdk method to leave the conference

What I don’t need is:

  1. Memory leak of JitsiMeetView with activity context
  2. Keep JitsiMeetView alive in service