question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to open downloaded file in Android

See original GitHub issue

Not able to open the downloaded file in Android. In iOS it works perfectly fine.

Path for Android local file:

/storage/emulated/0/download/test.pdf

For download file I am using RNFetchBlob.fetch(…) Thanks in Advance.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
heytulsiprasadcommented, Jun 24, 2021

@sharadkatre19 try to add <root-path name="root" path="." /> in filepath.xml, it work for me 😃

@rizki-fr can you tell us where this file is situated exactly? I’m kind of stuck in this issue and if it works your way it’ll be great to have this fixed.

3reactions
rizki-frcommented, Apr 6, 2021

@sharadkatre19 try to add <root-path name="root" path="." /> in filepath.xml, it work for me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't Open A File on Android? Here Are Steps You Can Take
1. Check If Its A Genuine File Or A Malware · 2. Reboot Your Phone · 3. Download An App That Can Help...
Read more >
Why Can't I Open Downloaded Files on My Android? - Droidrant
Go to the Files app. In the downloads folder, select the “Downloads” folder. Tap the file to open it or long-press it to...
Read more >
I am unable to open a downloaded file in the downloads app ...
It sounds like your memory is close to full, or the device has lost its memory of where to write the file after...
Read more >
Why can't I open downloaded files on my Android phone and ...
If the file you downloaded isn't compatible with any app you have, then you can't open it. Certain kinds of apps can't be...
Read more >
I Can't Figure Out How to Open the Files on My Android
The Android operating system is an open platform with relatively few restrictions on using it to store files. While you can access downloaded...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found