Nativebase: Update NativeBase react-native-vector-icons dependency to 0.4.0. Currently breaks for react-native 0.40

Created on 10 Jan 2017  路  4Comments  路  Source: GeekyAnts/NativeBase

Started a new React Native project and I am unable to even run a simple example using NativeBase.

screen shot 2017-01-10 at 7 12 47 am

Here are my dependencies:

"native-base": "^0.5.20",
"react": "~15.4.0-rc.4",
"react-native": "0.40.0"

This is a known issue and has been reported on react-native-vector-icons repo (HERE). Turns out the new release 0.4.0 fixes this problem.

Although since NativeBase is internally using react-native-vector-icons 0.3.0 I am not sure how to update the version myself.

https://github.com/GeekyAnts/NativeBase/blob/master/package.json#L27

Any suggestions on a workaround? If not, when will the dependency be updated? Thanks.

Also found a PR that is related to this: https://github.com/GeekyAnts/NativeBase/pull/414
Consider merging it soon?

Most helpful comment

I installed the icons as a dependency of my project and it seems to work

npm install --save react-native-vector-icons

All 4 comments

I installed the icons as a dependency of my project and it seems to work

npm install --save react-native-vector-icons

+1 same issue

Has been updated in master. Please use from master till the moment till we release a newer version.

Fixed in 0.5.21

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcpracht picture mcpracht  路  3Comments

Bundas picture Bundas  路  3Comments

eggybot picture eggybot  路  3Comments

natashache picture natashache  路  3Comments

sihemhssine picture sihemhssine  路  3Comments