react-native-chatbot
react-native-chatbot copied to clipboard
[Not an issue] Expo version
Hi Lucas,
Just to let you know that I've forked your project to make it work with Expo.
In substance, it replaces the library react-native-loader with react-native-three-dots-loader in Loading.js
It is available here https://github.com/jzarca01/react-native-chatbot-expo
This works! Thanks!
To get it to work i had to:
npm i styled-components
Might be worth mentioning.
Also it spits out a lot of warnings e.g.
Expected style "marginLeft: 6" to contain units
- node_modules/expo/build/environment/muteWarnings.fx.js:18:23 in warn
- ... 26 more stack frames from framework internals
Expected style "marginBottom: 10" to contain units
- node_modules/expo/build/environment/muteWarnings.fx.js:18:23 in warn
- ... 26 more stack frames from framework internals
Expected style "marginRight: 6" to contain units
- node_modules/expo/build/environment/muteWarnings.fx.js:18:23 in warn
- ... 26 more stack frames from framework internals
But seems to work fine nonetheless
thanks for the effort. After running npm i styled-components
, it also works on the web via npm run web
command with expo