expo-three icon indicating copy to clipboard operation
expo-three copied to clipboard

remote texture "Unhandled promise rejection: Error: unexpected url"

Open fullstackcoder opened this issue 6 years ago • 1 comments

Hi, i've tried loading remote texture using the following ways but nothing worked, remote texture are loading on IOS only! Asset.Utils, Expo.Asset, ExpoTHREE.loadAsync, ExpoTHREE.createTextureAsync !!

I read previous similar issues but nothing worked, need to solve this problem ASAP,,

screen shot 2018-12-15 at 7 41 34 pm

fullstackcoder avatar Dec 15 '18 16:12 fullstackcoder

unexpected url problem is solved,

var expoAsset = new Expo.Asset({uri: textureUrl});

expoAsset.downloaded = true;

var texture = new ExpoTHREE.loadAsync(expoAsset);

But Asset isn't getting MD5 hash and i'm getting the following error,, screen shot 2018-12-15 at 11 32 20 pm screen shot 2018-12-15 at 11 32 31 pm

fullstackcoder avatar Dec 15 '18 20:12 fullstackcoder