ui icon indicating copy to clipboard operation
ui copied to clipboard

Include documentation and test against create-react-native-app

Open brentvatne opened this issue 9 years ago • 5 comments

Hello! You are going to have lots of people try to use shoutem/ui with create-react-native-app, so you might want to include some documentation on how to do it. Additionally, you may want to work it into your testing workflow to make sure that shoutem/ui works as expected in CRNA.

The process for using it with CRNA is the same as with Expo: https://blog.expo.io/using-react-native-ui-toolkits-with-exponent-3993434caf66#.zhsqwy51v :)

brentvatne avatar Mar 14 '17 16:03 brentvatne

Thanks @brentvatne for caring! We're going to add this today.

tenodi avatar Mar 15 '17 19:03 tenodi

@tenodi Hello! was this implemented or tested? Or is there an updated example on how to load the fonts with CRNA? Thanks for your help! :D

juanmnl avatar Mar 21 '17 21:03 juanmnl

Do you guys get a warning like

warning: Native component for "BVLinearGradient" does not exist

And is this related? https://github.com/shoutem/ui/issues/188

supertong avatar Mar 27 '17 10:03 supertong

yeah that warning will show up because I believe the header component depends on it. I think this lib should try to avoid native dependencies or push any that are required upstream to react-native core

brentvatne avatar Mar 29 '17 19:03 brentvatne

I have created an example app using CRNA, Shoutem Examples component now works in this environment. You can also find an example app created with CRNA in the examples directory of this repository.

zrumenjak avatar Apr 07 '17 16:04 zrumenjak