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
Dani Palou 2024-08-06 14:24:48 +02:00
parent a7536cc9a3
commit 8c96839480
1 changed files with 0 additions and 2 deletions

View File

@ -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()) {