Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Shadow issue on Expo #61

Open
alexandermirzoyan opened this issue Apr 16, 2023 · 5 comments
Open

[Android] Shadow issue on Expo #61

alexandermirzoyan opened this issue Apr 16, 2023 · 5 comments

Comments

@alexandermirzoyan
Copy link

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.

image

@mikkelbelchuke
Copy link

+1

@julekgwa
Copy link

If you're on expo, you should be using the expo component. CurvedBottomBarExpo

@alexandermirzoyan
Copy link
Author

alexandermirzoyan commented Jun 25, 2023

In that case my shadowStyle property does not recognize on Android.
I am checking on Android depend on elevation style property.

@kbqdev
Copy link

kbqdev commented Jun 29, 2023

+1

1 similar comment
@ecarterdev
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants