For the complete documentation index, see llms.txt. This page is also available as Markdown.

Download Manager API

Manage file downloads using the WebToNative JavaScript API. Track, control, and monitor download progress in Android and iOS apps. Customise the download manager section according to your app.

<a href="w2n://download-screen">Open Download Screen</a>

We offer several query parameters to tailor this screen to your preferences:

  • "title": Sets the page title (default: "Downloads").

  • "titleBarContentColor": Defines the color of the title text and back button icon (default: #111111).

  • "titleBarBgColor": Specifies the background color of the title bar (default: #FFFFFF).

To apply these customizations, include the parameters in the link as shown below:

w2n://download-screen?title=Downloads&titleBarContentColor=#abcdef&titleBarBgColor=#00000

The URL mentioned above can be utilised within an anchor tag or any URL field in WebToNative. For instance, you can incorporate this URL in the floating action button URL or bottom navigation item URL.

Android
iOS

Last updated