react-native-collapsing-toolbar
react-native-collapsing-toolbar copied to clipboard
ios build issue
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
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.
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