Can't open mhtml files on android

Describe the bug
mhtml files added to objects can’t be opened on Android.

To Reproduce
Steps to reproduce the behavior:

  1. Add an mhtml file with an html ending (gernerated by SingleFile) to an object
  2. Click on the file to open/download
  3. Error message: "Could not open file: No Activity found to handle Intent { act=android.intent.action.VIEW dat=… typ= flg=0x1 }

Expected behavior
Clicking on the file EITHER opens Android’s native download dialogue OR the “Open with” dialogue.

System Information:

  • OS: Android 10 (One UI 2.1)
  • Device Manufacturer/Model: Samsung Note 9
  • Anytype Version: 0.4.0-alpha (0.17.10)

Additional context
Adding mhtml files saved with SingleFile is a great way to store online articles in their original form. Being able to download/open these from within an object would greatly increase AnyType’s capibility as a “read later” app that completely stores the entire content offline.

1 Like

@anyAlexander thanks for your bug report! Would you be able to share the file in question so I can try to reproduce this?

1 Like

It seems to work now. Not sure if any of the recent updates fixed this, since I didn’t make any other changes to my Android system. But it’s no longer an issue.

1 Like