Hello Guys,
we use Crosswalk for our android wrapper app and it works fine, except of one
problem which we can’t solve. We want to use the
shouldOverrideUrlLoading-Method from the ResourceClient to check the current
url for url schemes. At one point, we want to stop the loading of the current
url and start to load another customized url - so we do the following:
CrosswalkView.stopLoading() —> CrosswalkView.load(„customizedUrl“, null) —>
return false
The CrosswalkView starts the loading of the new url, but in the next call of
the shouldOverrideUrlLoading-Method the old url is given (instead of the
customizedUrl). It seems to us, that the shouldOverrideUrlLoading-Callback is
fired again, but the „return false“-Statement has no effect and so the
CrosswalkView handles the same url again. Because of this problem our
CrosswalkView is lost in an endless loop. Any idea how we can solve this
problem and prevent the old url from being validated again?
Regards,
Dennis
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help