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

Created on 14 Mar 2017  路  5Comments  路  Source: shoutem/ui

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 :)

Most helpful comment

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.

All 5 comments

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

@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

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tonyneel923 picture tonyneel923  路  9Comments

aessig picture aessig  路  6Comments

KazuyaHara picture KazuyaHara  路  6Comments

joshuamataaraya picture joshuamataaraya  路  7Comments

haikov picture haikov  路  4Comments