[Android] Shadow issue on Expo
alexandermirzoyan opened this issue · 4 comments
alexandermirzoyan commented
On latest version getting error at <ShadowView />
component.
Location - /node_modules/react-native-curved-bottom-bar/src/CurvedBottomBar/components/ShadowView/index.tsx
export const CurvedBottomBarView =
Platform.OS === 'android'
? UIManager.getViewManagerConfig(ComponentName) != null
? requireNativeComponent<CurvedBottomBarProps>(ComponentName)
: () => {
throw new Error(LINKING_ERROR);
}
: View;
If I am replacing the error return part with simple View. The error is being resolved but shadows are not working on android.
mikkelbelchuke commented
+1
julekgwa commented
If you're on expo, you should be using the expo component. CurvedBottomBarExpo
alexandermirzoyan commented
In that case my shadowStyle
property does not recognize on Android.
I am checking on Android depend on elevation
style property.
kbqdev commented
+1