Firstly, thanks for your work on this project! π
Today I used patch-package to patch @robinbobin/react-native-google-drive-api-wrapper@1.2.3 for the project I'm working on.
Problem
It's working awesome for Android. But for IOS there is reader.result which equals data:text/plain;base64,ZmVmMGI3YT...
That's why it makes b64 equal to undefined and doesn't call resolve or reject
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
@robinbobin/react-native-google-drive-api-wrapper@1.2.3
for the project I'm working on.Problem
It's working awesome for Android. But for IOS there is
reader.result
which equalsdata:text/plain;base64,ZmVmMGI3YT...
That's why it makesb64
equal toundefined
and doesn't callresolve
orreject
Solution
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.