-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Hey there! Is it possible to have two instances of the in app browser alive at the same time? I have a situation where I need to keep an instance alive and summon it at different times. I am just using show and hide as needed. However, in addition to this long living instance, I also need to have short lived instances that can be created and destroyed. For these instances I am calling show and close. The issue that I am experiencing is that when i close the second instance, the first long living instance gets destroyed as well. In code it looks something like this.
const ref1 = window.open(url, '_blank', REF1_CONFIG);
const ref2 = window.open(url, '_blank', REF2_CONFIG);
ref2.close();
ref1.show();
//error ?? Tried to show IAB after it was closed.
The behavior that I am looking for is that ref1 would persist and not be tied to ref2. Is this possible?
AUK4GIT, FilipCrnjac and doukaindcmgustavo