Skip to content

Opening URLs Inside App Instead of External Browser #2

@Souissi-Haythem

Description

@Souissi-Haythem

Hi there,
First off, great job with the SDK — we really appreciate the work you've put into it.

As an Android developer integrating MiLibrisReaderSDK into our application, I’m reaching out to clarify how external web links are handled.
Currently, I see that when a user interacts with enrichment content (such as clickable links) in this function "onEnrichmentClicked", the SDK uses the method to open web links:

NavigationManager.openUrlInBrowser(requireActivity(), box)

This opens the URL in an external browser. However, we would like to handle these links within our application, ideally by intercepting them and rendering the content in our WebView .

I noticed the function onEnrichmentClicked is being used to manage user interactions with enrichments. Is there an existing way to override this behavior or listen for a callback so that we can take control of the link navigation process?

Any guidance or best practices on customizing this behavior would be greatly appreciated
Thanks again for your support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions