Android cache data

Hi. I used jitsi meet android sdk in my application. Before rendering the view, I set some feature flag on jitsi meet conference option. When the conference terminated, I call view.leave() and close the jitsi view and change the view(I mean don’t close the app). Now when I try to enter the new conference with the new feature flags, the new conference starts with previous flags. What’s going on exactly? Can I clear previous feature flags without closing the whole app?

Where are you setting those flags exactly? Please share a code snippet.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    JitsiMeetView view = new JitsiMeetView(this);
    JitsiMeetConferenceOptions options = null;

    Bundle userInfoBundle = new Bundle();
    userInfoBundle.putString("displayName", "test user");
    userInfoBundle.putString("avatarURL", "https://example.com/test_user.jpg");

    JitsiMeetUserInfo jitsiMeetUserInfo = new JitsiMeetUserInfo(userInfoBundle);
    try {
        options = new JitsiMeetConferenceOptions.Builder()
                .setRoom("room273")
                .setServerURL(new URL("https://example.com"))
                
                // Here I set the flag
                .setFeatureFlag("foo", "bar")

                .setWelcomePageEnabled(false)
                .setUserInfo(jitsiMeetUserInfo)
                .build();

     } catch (MalformedURLException e) {
        e.printStackTrace();
     }
     view.join(options);
     setContentView(view);
}

Can you paste the full Activity? That method looks ok, but the bug might be elsewhere. Also, what flag are you setting?