redbooth / react-native-quick-look

React Native Component for iOS QuickLook Framework.
MIT License
37 stars 16 forks source link

Preview not showing #3

Open grydstedt opened 7 years ago

grydstedt commented 7 years ago

Hi!

Trying to use this component: <QuickLook style={{flex: 1}} url={this.props.url} />

but it's just showing the filename with a description of the format:

screen shot 2017-01-06 at 1 22 58 pm

Any idea what I'm doing wrong?

SvenJonsson commented 7 years ago

Same for me, trying to show a PDF.

ludovicjamet commented 7 years ago

@SvenJonsson @grydstedt I just fixed this : https://github.com/aerofs/react-native-quick-look/pull/5

hepu-appmeup commented 7 years ago

I did @ludovic-coder 's fix in a fork and it still shows the filename with the format

ludovicjamet commented 7 years ago

@hepu-appmeup Strange could you post more code please ? I just tried it's working with an old Word document