Skip to content

Add Android target support (NuGet + native binaries) #252

Open

Description

@luthfiampas

Would it be possible to add Android as a supported target? This would mean:

  • Cross-compiling the native MuPDF C engine for Android ABIs.
  • Packaging those .so binaries into the NuGet package (or a separate MuPDF.NET.Android package).
  • Support for opening documents from a file descriptor/stream, since Android's scoped storage typically only provides a content URI/FD rather than a direct file path.

Thanks for considering it!

Activity

  1. MaksymTkachuk commented on Jul 23, 2026

    @MaksymTkachuk
    Collaborator

    @luthfiampas
    Android is a sensible fit for our packaging model.
    It’s under consideration, but not scheduled for a release yet, so we can’t promise timing.

    Documents can already be opened from byte[] or Stream, which often works if you can read the content URI into memory — but we don’t yet expose a dedicated open-from-FD API, and Android isn’t a supported RID.

    Happy to keep you posted as this moves forward.
    Thanks.

  2. luthfiampas commented on Jul 25, 2026

    @luthfiampas
    Author

    Thanks for the quick and clear response! Will keep an eye on this issue for updates on Android RID support. Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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