MOBILE-4602 core: Remove problematic close when reopening IAB
Opening a new IAB when one is already open doesn't create a second one, only one is present so there's no need to close the previous one. Also, calling close() caused the new IAB to close immediately because the app doesn't wait for the previous one to finish closing.main
parent
a7536cc9a3
commit
8c96839480
|
@ -1068,8 +1068,6 @@ export class CoreUtilsProvider {
|
|||
|
||||
this.setInAppBrowserToolbarColors(options);
|
||||
|
||||
this.iabInstance?.close(); // Close window if there is one already open, only allow one.
|
||||
|
||||
this.iabInstance = InAppBrowser.create(url, '_blank', options);
|
||||
|
||||
if (CorePlatform.isMobile()) {
|
||||
|
|
Loading…
Reference in New Issue