-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strage Error on Android #5
Comments
very the same issue, work on iOS but not work on android |
Noticed lot's of weirdness with file loading on android in React Native. I'm investigating now |
Hey is there a workaround for this? |
I can look at it this week. In RN we use the fetch API to load files. For whatever reason loading binary files in Android doesn't work, I don't think it's related to this issue. You also cannot save a b64 and get a localURI cuz RN.ImageStore isn't supported on Android 😱 point being that android has a bunch of file system features missing 😩 Expo.FileSystem could potentially solve these issues, I would just have to add some native code. Tried last week but we were doing a bunch of refactoring. But always on my mind 😁 |
Thanks, I really appreciate your support. My team is really stuck.. 😢 We can't use expo-pixi because it uses expo-asset-utils that has this issue. |
Hey @EvanBacon, Any news about this issue? Thanks |
Same issue with Android - needing to use expo-pixi in the same manner as @Lidanha |
expo/expo#2328 able to be fixed in SDK31 |
Hey guys I had the following:
import AssetUtils from 'expo-asset-utils'
...
const filename =
screenshot-${i}.png
const asset = await AssetUtils.fromUriAsync(uri, filename)
...
the
uri
is content://media/external/images/media/27the error I receive is:
[Error: unexpected url: content://media/external/images/media/27]
Any ideas? It works fine on iOS
The text was updated successfully, but these errors were encountered: