Kureev / react-native-blur

React Native Blur component
MIT License
3.76k stars 556 forks source link

Invariant Violation: requireNativeComponent: "BlurView" was not found in the UIManager #291

Open myjbuilddream opened 5 years ago

myjbuilddream commented 5 years ago

image help me

sdcooke commented 5 years ago

Have you run react-native link and rebuilt the app? (e.g. react-native run-ios)

wangdicoder commented 5 years ago

RN image now supports the blur effect. https://facebook.github.io/react-native/docs/image#blurradius

indiorlei commented 5 years ago

Just add "RNBlur" into Xcode libs.

Open the following folder: node_modules/react-native-blur/ios

You can drag the RNBlur.xcodeproj file from node_modules/react-native-blur/ios for your project libraries in Xcode and then add the lib in General> Linked Frameworks and Libraries.

rjruizes commented 5 years ago

This issue should be closed; duplicate of https://github.com/react-native-community/react-native-blur/issues/290 and the solution is to pod install

Knjaz89 commented 5 years ago

This issue should be closed; duplicate of #290 and the solution is to pod install

I don't use pod

Michaelvons commented 4 years ago

if you are on android just sync your project with Gradle and re-run your app npx react-native run-android

alephpt commented 2 years ago

Still no fix to this? none of the above fixed it

antoniuschan99 commented 9 months ago

I tried declaring it like this

import { BlurView } from "@react-native-community/blur"; instead of import { BlurView } from "react-native-blur";