react-native-chatbot icon indicating copy to clipboard operation
react-native-chatbot copied to clipboard

[Not an issue] Expo version

Open jzarca01 opened this issue 4 years ago • 2 comments

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

jzarca01 avatar Feb 22 '20 06:02 jzarca01

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

fortydegrees avatar May 07 '20 06:05 fortydegrees

thanks for the effort. After running npm i styled-components, it also works on the web via npm run web command with expo

gasolin avatar Oct 25 '20 13:10 gasolin