Using the React Native SDK's getFileDownload in an Android app always returns an empty object.
- 0
- Android
- React Native

const result = await storage.getFileDownload('bucketId', 'fileId'); console.log(result, typeof result);
[] object

What is happening when you are calling this?

nothing

So, no browser download starts?

The logic is triggered by a button click in the Android app, without involving a browser.

The browser is the one that downloads it.

The thing I want to know is is it downloading it or no download is happening?

no download

I switched to getFileView
, but still get an empty object.

I'm pretty sure both of these return an array buffer

In version 0.10.0

Any way you can check network logs?
Recommended threads
- Get all Documents and Expanded Relations...
I have multiple (quite small) collections that have many-to-many relationships. How can we return all documents and expanded relationship for a specific collec...
- Functions Failing Due to Installed Depen...
Hi team! Before anything, I am on the so far while we're in the planning phase of the app, and will be upgrading to pro soon. If there's a possibility that this...
- OAUTH Error 400
I’m encountering an issue with authentication with google or apple in my Expo React Native app. It was working previously, but it has recently stopped keeping, ...
