You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2022. It is now read-only.
Unfortunately, the call PIXI.Sprite.fromExpoAsync(imageUri) throws an error:
Error: Expected URL scheme 'http' or 'https' but was 'file'
I have looked through the documentation as well as reading through the issues and some of the code, it seems as if the exception comes from a lower level, but how is fromExpoAsync supposed to be used? Is it possible to use remote resources? Should I use another API?
I'm trying to use expo-pixi to read out the color of the background (really the top left pixel) of an image. The image is hosted on a
https://
url.I'm doing this:
Unfortunately, the call
PIXI.Sprite.fromExpoAsync(imageUri)
throws an error:I have looked through the documentation as well as reading through the issues and some of the code, it seems as if the exception comes from a lower level, but how is
fromExpoAsync
supposed to be used? Is it possible to use remote resources? Should I use another API?See this snack: https://snack.expo.io/@fredrikschweinebarth/8ac094
The text was updated successfully, but these errors were encountered: