-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi,
First of all thanks for making this repo. I think many people including me have problems in implementing Play Asset Delivery with React Native / expo, and this repo provides a solution.
I just want to mention that there is another way to load the assets (at least when the delivery mode is "install-time" - I haven't checked the others). As suggested in
https://stackoverflow.com/questions/73389621/play-asset-delivery-in-react-native
facebook/react-native#21309 (comment)
we can load the assets like this:
<Image source={{ uri: "asset:/trees.jpeg" }} style={{ height: 100, width: 100 }}></Image>
.
In fact, when I follow the provided example and use loadPackedAssetAsBase64
from the package, I only succeed in showing small images and fail to show large (~2 MB) images.