-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Bug Report
Added console.log() statement in 4 events (beforeload, loadstart, loadstop, loaderror)
Problem
beforeload is called twice on first load/navigation change, then only after two every second navigation change.
What is expected to happen?
navigation change should give following console output:
beforeloadCallBack
loadStartCallBack
loadStopCallBack
What does actually happen?
after button click (expected):
loadStartCallBack
loadStopCallBack
after first navigation change (why beforeloadCallBack two times):
beforeloadCallBack x2
loadStopCallBack
loadStartCallBack
loadStopCallBack
next navigation change (no beforeloadCallBack):
loadStartCallBack
loadStopCallBack
next navigation change (expected):
beforeloadCallBack
loadStartCallBack
loadStopCallBack
next: (no beforeloadCallBack)
loadStartCallBack
loadStopCallBack
Information
Link to demo/repo
Command or Code
- get repo.
- cordova prepare
- cordova run android
- click "Start Browsing" button
Environment, Platform, Device
Android 9, Samsung Galaxy A50.
Android 7.1.1, Samsung Galaxy J5 (2016)
Version information
cordova -v: 9.0.0 ([email protected])
cordova-android: ^8.1.0
plugins:
cordova-plugin-inappbrowser 3.1.0
cordova-plugin-whitelist 1.3.4
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above