You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "thachhn (via GitHub)" <gi...@apache.org> on 2023/06/09 11:05:42 UTC
[GitHub] [cordova-plugin-inappbrowser] thachhn commented on issue #585: [iOS] WKWebview - Back button in location bar is always enabled
thachhn commented on issue #585:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/585#issuecomment-1584397978
I did a workaround by manually calculating the number of times to load new url and back history.
Ex:
- when you open inappbrowser first time, set the countFlag = 0
- redirect to new url => countFlag = countFlag + 1
- goback => countFlag = countFlag - 1
- if countFlag === 0 mean we stand in the first page. If trigger goback, then close the inappbrowser
--
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: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org