Closed sebastiansinsin closed 2 years ago
There has been no recent activity and this issue has been marked inactive.
I'm experiencing the same issue on android. After _loadAfterBeforeload was called no click inside the IAB is triggering the "beforeload" event any more. In comparison on iOS this works fine.
Ionic:
Ionic CLI : 6.20.1 (/Users/.nvm/versions/node/v18.4.0/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 6.4.0 @angular-devkit/build-angular : 14.2.10 @angular-devkit/schematics : 13.3.10 @angular/cli : 14.2.10 @ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 4.5.0 @capacitor/android : 4.6.1 @capacitor/core : 4.6.1 @capacitor/ios : 4.6.1
Utility:
cordova-res : 0.15.4 native-run : 1.7.1
System:
NodeJS : v18.4.0 (/Users/.nvm/versions/node/v18.4.0/bin/node) npm : 8.12.1 OS : macOS Monterey
I'm submitting a ... (check one with "x") [X ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://ionicworldwide.herokuapp.com/
Current behavior:
so the beforeload event will be called on first time, second time, fourth time, and so on. inside the beforeload event subscription, I called _loadAfterBeforeLoad to proceed calling the url that was intercept. ps: I log the beforeload event, loadstart event, and loadstop event. Currently, I'm debugging it on android emulator.
Expected behavior:
It should called the beforeload every time the url / page is called.
Steps to reproduce:
create the inAppBrowser Instance and open it. eg url : https://github.com/danielsogl/awesome-cordova-plugins you see on the console.log, the beforeload event was fired. then you can click on some navigation, eg Issues you see on the console.log the beforeload event was not fired, only loadstart event.
Related code:
Other information:
Relevant Issues : https://github.com/apache/cordova-plugin-inappbrowser/issues/911 https://github.com/apache/cordova-plugin-inappbrowser/issues/571 Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):Package.json