Skip to content

[android] cannot display pdf (temp.pdf cannot be opened) #193

Closed
@pavermakov

Description

@pavermakov
  • react: 16.0.0
  • react-native: 0.51.0
  • rn-fetch-blob: 0.10.13

Recently I've upgraded my android sdk from 22 to 26. I've noticed that after fetching pdf and attempting to open it, I've receive a toast with the message in the title of this issue. Back on sdk 22 I've used react-native-fetch-blob and everything worked fine.

I use the following method for reading the file:
RNFB.android.actionViewIntent("/storage/emulated/0/Download/temp.pdf", "application/pdf")

Has anyone encountered the same issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions