For iOS, I’ve been able to expose a value that lets me know when I’ve reached the very end of a resource (when settings.scroll is true). I did so by using navigator.evaluateJavascript to calculate scroll heights, viewport height, etc. I use this value then to allow a user to tap an arrow to go to the next chapter (rather than swiping left, a project requirement).
I don’t consider myself a Android developer at all, I have just been able to piece things together thus far. I’m really stumped on how I can achieve this on the Kotlin side of things. I've tried to access the webView and evaluate the JS similarly but haven't had much success. Banging my head against the wall at this point.
Is this something one of the maintainers might be able to take a minute and lend a hand on? Would be happy to PR this feature if I was able to make it work for Android.
Thanks!
For iOS, I’ve been able to expose a value that lets me know when I’ve reached the very end of a resource (when settings.scroll is true). I did so by using
navigator.evaluateJavascriptto calculate scroll heights, viewport height, etc. I use this value then to allow a user to tap an arrow to go to the next chapter (rather than swiping left, a project requirement).I don’t consider myself a Android developer at all, I have just been able to piece things together thus far. I’m really stumped on how I can achieve this on the Kotlin side of things. I've tried to access the webView and evaluate the JS similarly but haven't had much success. Banging my head against the wall at this point.
Is this something one of the maintainers might be able to take a minute and lend a hand on? Would be happy to PR this feature if I was able to make it work for Android.
Thanks!