Describe the bug
mhtml files added to objects can’t be opened on Android.
To Reproduce
Steps to reproduce the behavior:
- Add an mhtml file with an html ending (gernerated by SingleFile) to an object
- Click on the file to open/download
- Error message: "Could not open file: No Activity found to handle Intent { act=android.intent.action.VIEW dat=http://127.0.0.1:37477/… 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.