Skip to content

[Feature Request] Expose boolean value when user hits absolute end of a resource when in vertical scroll mode #70

Description

@alecdhansen

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions