Please provide the following:
- SDK Version: 33
- Platforms(Android/iOS/web/all): Android
When using the ImagePicker
to pick a large image (in our case, a 44mb image) and try to upload it to our server, we get the following error:
Error [Error: Network error: Network request failed. Payload is not serializable: Out of memory]
We use the base64
option and upload that to our GraphQL server with a mutation that takes the data URI as a parameter.
Doing the exact same thing with the same code on iOS works just fine. The devices used are Samsung S10+ (8gb ram) and iPhone 8.
Does anyone know what might go wrong? Is it a limitation with Expo on Android, or React Native on Android, or are we doing something wrong? Thanks