Bug report
Describe the bug
When running a new expo app on SDK 52 on iOS simulator a file can not be uploaded that is larger then 500 KB. Otherwise it results in a network error.
When trying to upload any image file to a private mock endpoint no issue arrises so it has to do with supabase.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Install a basic expo app using the new 52 SDK.
npx create-expo-app@latest --template default@beta
- Setup the default supabase configuration
- Try to upload a image that is larger then 500 KB-1 MB.
const { data: uploadedImage, error: uploadError } = await supabase.storage
.from('bg_images')
.upload(bgImageName, decode(base64), {
contentType: 'image/' + fileExtension.slice(1),
upsert: true,
});
- This throws an "Network error" which is outside of the "error" return result
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
- OS: iOS Simulator
- Version of supabase-js: 2.45.4
- Expo SDK 52
- React native 0.76 (New architecture)
Additional context
Add any other context about the problem here.
Bug report
Describe the bug
When running a new expo app on SDK 52 on iOS simulator a file can not be uploaded that is larger then 500 KB. Otherwise it results in a network error.
When trying to upload any image file to a private mock endpoint no issue arrises so it has to do with supabase.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
npx create-expo-app@latest --template default@betaExpected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.