-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download of a blob url doesn't work on Android #2526
Comments
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Did you solve it, @LuanEdCosta ? |
+1 |
No, I didn't find a solution. But I also haven't tried it with the latest version of |
+1 pls helppp |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Any solution? |
I face the same issue |
I have spent hours to find a solution, it turned out that react native doesn't support such a feature 😢 Finally, I had to use native Android with Kotlin, using webChromeClient library, |
I'm interested. Thanks |
GOOD NEWS! I am working on implementing this feature, so React-native-webview will support Blob download 🔥 The PR is coming in few days, stay around 🔥 |
Hi All, I'm encountering the same issue—I'm unable to download a PDF associated with a blob URL. This problem has been open for quite long time, and we haven't found a solution yet. Could someone please offer assistance? |
Bug description:
I'm generating a blob URL of an audio and putting it into a link tag
<a>
with thedownload
attr. It works well on the browser, but when I click the link on the React Native Webview nothing happens (no errors).I thought that it was a permission problem, so I added the WRITE_EXTERNAL_STORAGE to AndroidManifest and requested the permission when the app starts, but it didn't work.
To Reproduce:
Expected behavior:
The audio must be downloaded to the user's phone.
Screenshots/Videos:
![image](https://user-images.githubusercontent.com/36794274/172194765-81733e74-058c-49c4-9ec8-05695d648211.png)
App.tsx
AndroidManifest.xml
![image](https://user-images.githubusercontent.com/36794274/172194992-ea14ac13-4bc9-47a2-9311-3d7564213f3d.png)
Environment:
The text was updated successfully, but these errors were encountered: