phuochau / react-native-thumbnail

Get thumbnail from local media. Currently, it only supports for video.
MIT License
135 stars 104 forks source link

So it doesn't support IOS? #41

Open stoneWeb opened 5 years ago

stoneWeb commented 5 years ago

I got the path, but the width and height were 0. "react-native": "0.57.8" "react-native-thumbnail": "^1.1.3"

can you fixe it?

Benetzz commented 5 years ago

Same here. Also, if i load the image on the path, a warning appear saying "cannot find image at path.."

vsyw commented 5 years ago

same here

OmarBasem commented 5 years ago

Did anyone find a fix?

flaming-codes commented 5 years ago

You may take a look at #46

I' using react-native 0.60.4 and had to install the lib directly from master, it seems the npm-package is outdated (the Podspec in the lib's npm-version is incorrect, the one in master is fine):

// package.json - dependencies: "react-native-thumbnail": "https://github.com/phuochau/react-native-thumbnail.git",

brianephraim commented 5 years ago

@CaptainQuark 's fix worked for me at react-native 0.60.5

I linked my package.json to the latest commit on master rather than master itself to be slightly safer.

"react-native-thumbnail": "git://github.com/phuochau/react-native-thumbnail.git#dc9af06fcee553dce561158cfb05e915655634bb",