gre / webgltexture-loader

load & cache various kind of WebGLTexture with an extensible and loosely coupled system
11 stars 12 forks source link

fix(expo): fix image resolution issue #41

Open pycxxx opened 1 year ago

pycxxx commented 1 year ago

expo-asset-utils is now deprecated and no longer maintained. Additionally, when loading external images using expo-asset on iOS and Android, the width and height are null. This pull request is a workaround for that issue.

https://github.com/expo/expo/blob/d8d7919/packages/expo-asset/src/Asset.ts#L251-L261