react-native-blur
react-native-blur copied to clipboard
Invariant Violation: requireNativeComponent: "BlurView" was not found in the UIManager.
I installed this package in expo managed project but it fails to compile and throws this error
I installed this package in expo managed project but it fails to compile and throws this error
I am getting the same error. Is there any solution?
@orhangazi use expo-blur
instead
@nasyx-rakeeb I need to blur the view content. expo-blur, unfortunately, does not blur its content.
oh, BlurView doesn't work in expo, you can try it in Bare Workflow of custom dev client
I tried and it is working in Bare Workflow of custom dev client but it is not practical. I am sad to hear this. Thank you.
// به روز رسانی
من آن را با یک مشتری توسعه سفارشی امتحان کردم و به نظر می رسد کار می کند :-).
Can you guide me in what way?
its solved for me by adding this line implementation('com.eightbitlab:blurview:1.6.6') { force = true } in folder blur/android/build.gradle
@kevin-patel9 where did you add the line inside that file?
I tried declaring it like this
import { BlurView } from "@react-native-community/blur"; instead of import { BlurView } from "react-native-blur";