cesardeazevedo / react-native-collapsing-toolbar

react-native wrapper for android CollapsingToolbarLayout
MIT License
293 stars 33 forks source link

ios build issue #10

Open Bhinderg opened 6 years ago

Bhinderg commented 6 years ago

Hi I am facing an error in ios build in AppBarLayout.js. The error is Undefined is not an object(Evaluating '_reactNative.UiManager.CTLAppBarLayout.Constants.

Please let me know how to fix this.

Thanks

cesardeazevedo commented 6 years ago

This is a android-only component, and you shouldn't require it on shared files, you should create a file like Toolbar.android.js and put the stuff there, and take a different approach on Toolbar.ios.js.

I think i will create some dummy view to avoid those problems.

pankajtalaviya97 commented 5 years ago

Hi

I am facing an error build with android Undefined is not an object(Evaluating '_reactNative.UiManager.CTLAppBarLayout.Constants')

Please let me know how to fix this.

Thanks in advance