andreydruz opened a new issue, #978:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/978

   # Bug Report
   
   ## Problem
   beforeload work every second call
   
   ### What is expected to happen?
   beforeload work on every call
   
   
   ### What does actually happen?
   In this code
   
https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/android/InAppBrowser.java#L1176
   sending sendBeforeLoad(url, method) on every second call
   See video:
   
https://drive.google.com/file/d/1Sz5RetWWbBSMQG6LFDkL3lDm8m-xKit5/view?usp=drivesdk
   
   Not clear what waitForBeforeload is for but if I comment this if - 
beforeload  working every time.
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to