In app browser loadstop is not triggered untill click on the done button in ios

I am using InAppBrowser on my ionic4 ios app

in app browser version : 5.36.0
cordova-inappbrowser : 5.0.0
ios deployment : ios 14

The objective is to close the in app browser after success payment in the in-appbrowser

But my issue is the loadstop event which is not triggered even if the page finishes loading. The event is triggered when i click on the done button in the footer. This is working perfectly in the android app but not closing in the ios app.

I am testing it directly on iOS 14 device

Thanks a lot for your help in advance

My code :

import { InAppBrowser} from ‘@ionic-native/in-app-browser/ngx’;
const browser = this.inAppBrowser.create(paymentString, “_blank”, {
location: ‘no’,
clearcache: “yes”,
hardwareback: ‘no’,
closebuttoncaption: ‘Done’,
enableViewportScale: ‘yes’
});

    browser.on('loadstop').subscribe((event: InAppBrowserEvent) => {
         browser.close();
    })

Hi, i have the same problem did you find a solution?