Skip to content

fix(expo): fix image resolution issue#41

Open
pycxxx wants to merge 1 commit intogre:masterfrom
foodaylabs:fix/expo
Open

fix(expo): fix image resolution issue#41
pycxxx wants to merge 1 commit intogre:masterfrom
foodaylabs:fix/expo

Conversation

@pycxxx
Copy link

@pycxxx pycxxx commented Apr 6, 2023

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

@pycxxx pycxxx changed the title fix(expo): fix resolution issue fix(expo): fix image resolution issue Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments