Skip to content

Android Support #11

@karlfgunst-old

Description

@karlfgunst-old

@GeoffreyX evaluate if this works on Android using a local file (already on the device). We can add support to convert to Base64 in Java later if this method works.

  1. If Android, use Webview instead of Quicklook (https://www.npmjs.com/package/react-native-webview)
  2. Webview can accept HTML string, so we can try to generate an HTML string using the <embed> tag to render the file preview (https://www.w3schools.com/tags/tag_embed.asp)
  3. The embed tag will use a reference to the local file path

Metadata

Metadata

Labels

No labels
No labels

Type

No type
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