archanova / react-wyre

React component for the Wyre widget
MIT License
8 stars 4 forks source link

Usage of `document` variable makes the library unusable in react-native #2

Open Perseverance opened 5 years ago

Perseverance commented 5 years ago

Tried integrating the library in react-native but it failed with Cant find variable document

petercooke536 commented 5 years ago

@Perseverance Did you ever figure this out? I am having the same issue.

Perseverance commented 5 years ago

I ended up hosting the widget at a website and loading it in a webview. I do not think document will ever be available in react-native