Skip to content

App exits unexpectedly when opening a file url #73

@zyfy29

Description

@zyfy29

Describe the bug
app produces a android.os.FileUriExposedException and exits unexpectedly

To Reproduce

  1. create a link with uri "file:///hello"
  2. click the link in the links list then click "Open in a Browser"
  3. bug appears

Expected behavior
show a snack bar to notice that url can't be opened

Screenshots
none

Smartphone (please complete the following information):

  • Device: [tablet]
  • OS: [Android 10]
  • Version [1.6.2]

Additional context
it seems that since android api 24, opening file uris by intent is restricted
may be fixed with #72 together

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions