Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

[Not an issue] Expo version #66

Open
jzarca01 opened this issue Feb 22, 2020 · 2 comments
Open

[Not an issue] Expo version #66

jzarca01 opened this issue Feb 22, 2020 · 2 comments

Comments

@jzarca01
Copy link

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

@fortydegrees
Copy link

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

@gasolin
Copy link

gasolin commented Oct 25, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants