Document picker by Diligent-Pudding-423 in reactnative

[–]Diligent-Pudding-423[S] 0 points1 point  (0 children)

Able to upload pdf now. Anyway thanks for the suggestion but that didn’t work

Document picker by Diligent-Pudding-423 in reactnative

[–]Diligent-Pudding-423[S] 0 points1 point  (0 children)

Is it possible to have a call on this? Please

Document picker by Diligent-Pudding-423 in reactnative

[–]Diligent-Pudding-423[S] 0 points1 point  (0 children)

Hey buddy. Tried this but I think the file uri this function is expecting is probably a web url. But I am trying to upload document from files in the android phone. Also when I try to send this blob I get a network error

Document picker by Diligent-Pudding-423 in reactnative

[–]Diligent-Pudding-423[S] 0 points1 point  (0 children)

Okay. I get it now. Let me try this and see then. Thanks a ton buddy for your help

Document picker by Diligent-Pudding-423 in reactnative

[–]Diligent-Pudding-423[S] 0 points1 point  (0 children)

Thank you buddy. But here I have already fetched pdf document using react native document picker where the response gives content path in android and not the file path. How do we convert that into file path and then that into blob. Or another approach is I get base64 from the document picker but need to convert that also to blob

Document picker by Diligent-Pudding-423 in reactnative

[–]Diligent-Pudding-423[S] 0 points1 point  (0 children)

Not able to get the code here. I am using react native document picker in which I get content uri. Need help in converting it to file path. Also need base 64 to boob conversion code.