lbod commented on issue #889:
URL:
https://github.com/apache/cordova-plugin-inappbrowser/issues/889#issuecomment-877066144
Actually, as it turned out, it wasn't when the 'cordova_iab' object was
being added to the page. We needed to do this to detect cordova for both iOS
and Android in the opened web page
```
if (window?.cordova_iab || window?.webkit?.messageHandlers?.cordova_iab ) {
// do stuff specific to cordova
}
```
--
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]