Closed thanhhoa214 closed 4 years ago
Strange! Have you properly configured BlobWriter in your MainActivity.java? Can you post the output of await Plugins.Device.getInfo()
from your Android?
It's really strange.
In your device logs (in Android Studio) do you see any reference to BlobWriter? It should log if the plugin loads successfully.
On 1 Aug 2020, at 10:48 am, Hòa Nguyễn notifications@github.com wrote:
It's really strange. https://user-images.githubusercontent.com/32329202/89090159-45238900-d3cb-11ea-8252-2b9ecaa19727.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/diachedelic/capacitor-blob-writer/issues/18#issuecomment-667440776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACLZQFQI3G3W3RM5PFECSLR6NQ5LANCNFSM4PPOCHMQ.
I don't know why actually. Now it worked without any fix. I closed this issue.
After hours, running & debugging on my devices, I found out it works well on iOS ✅ (iPad) but on Android ❌ (JOI 4G Lite) raises an error "Not implement for web" (debug on Chrome inspector).
For a clearer scenario, I'm running a feature with the following step:
Download encrypted file >>>> Read, decrypt and re-write a temp file
✅ Reading passed ✅ Decrypting passed ❌ Re-writing error
Here's my code:
Don't mind about
path
, I checked it.Many thanks and please help!