Fragment frag= MeetingActivity.this.getSupportFragmentManager().findFragmentById(R.id.jitsiFragment);
if(frag!=null){
JitsiMeet.setDefaultConferenceOptions(options);
((JitsiMeetFragment)frag).getJitsiView().join(currentRoomOptionsBuilder.build());
}
But none of the feature flags apply and all options can be seen in the UI. Can someone please show me the way how to hide these options?
I’m using the following Android SDK version.
I tried. For some reason the following code snippet is not working for SDK versions after 4.0.0 or newer.
Fragment frag= MeetingActivity.this.getSupportFragmentManager().findFragmentById(R.id.jitsiFragment);
if(frag!=null){
JitsiMeet.setDefaultConferenceOptions(options);
Utils.Companion.log("startMeeting: true");
Utils.Companion.log("joining to jitsiview with meeting options");
((JitsiMeetFragment)frag).getJitsiView().join(currentRoomOptionsBuilder.build());
}
The fragment is always null. I have extend the JitsiMeetActivity from the Activity which has this code. I do not need to open another new activity for the conference, so I cannot use the launch method. Any idea why this isn’t working on newer versions?