Throws error when using with react-native-web:
Error: Cannot find module "./ActionSheet"
@karaxuna is this related to this project?
Solved by adding this to webpack.config.js:
resolve: {
alias: {
"react-native": "react-native-web",
"./ActionSheet": "./ActionSheet.ios.js"
},
},
@abrichr does it mean you successfully run this project on the web platform thanks to react-native-web ?
As I'm exploring using this chat lib as a replacement of Intercom, I wonder if I can build the "intercom chat admin" with it.
If this project is compatible with react-native-web with just a little bit of conf it would be nice to add this to README
@slorber are you using GC? ;)
Only with you :)
It was actually simpler to eject instead of reimplementing intercom UI on web+rn for my project
Most helpful comment
Solved by adding this to
webpack.config.js: