React-native-blur: Invariant Violation: requireNativeComponent: "BlurView" was not found in the UIManager

Created on 15 Nov 2018  ·  13Comments  ·  Source: Kureev/react-native-blur

Most helpful comment

@myjbuilddream, @harveyconnor, @KevinDXS
I think you forget to run ./pod install. Because react-native link just updates the podfile

All 13 comments

i have met the same issue,did you resolve it?

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

Same issue here

@myjbuilddream, @harveyconnor, @KevinDXS
I think you forget to run ./pod install. Because react-native link just updates the podfile

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

I have the same issue for Android:(

screen shot 2019-01-05 at 3 44 10 pm

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.

@Titinious Did you find any solution for android?
Edit:
Nevermind. I found the solution.
For android, add this in your android/app/src/main/java/{your_project_name}/MainApplication.java

...
  return Arrays.<ReactPackage>asList(
    // your previous packages
    new BlurViewPackage()
  );

Thanks to @AireshBhat I solved it in Android but needed first to import the package.

In android/app/src/main/java/{your_project_name}/MainApplication.java

import com.cmcewen.blurview.BlurViewPackage; // <-- Here
...
protected List<ReactPackage> getPackages() {
  // Add additional packages you require here
  return Arrays.<ReactPackage>asList(..., new BlurViewPackage()); // <-- Here
}

Any solution for this issue?

Same issue here! Nothing worked. Someone found a solution?
Inked122503068_402468217797183_8835618900866963595_n_LI

Same issue here! Nothing worked. Someone found a solution?
Inked122503068_402468217797183_8835618900866963595_n_LI

i got the same error, what the solution? Can you help?

Use expo-blur instead of this.

Hope I helped!

În vin., 30 oct. 2020 la 22:49, Влад Думанский notifications@github.com a
scris:

Same issue here! Nothing worked. Someone found a solution?
[image: Inked122503068_402468217797183_8835618900866963595_n_LI]
https://user-images.githubusercontent.com/33382232/97093137-2a6f5200-1652-11eb-9c16-a8c202b81414.jpg

i got the same error, what the solution? Can you help?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Kureev/react-native-blur/issues/290#issuecomment-719792479,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH6V6WDYNONI2TITRUZUAITSNMRHHANCNFSM4GD45R4Q
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iagormoraes picture iagormoraes  ·  6Comments

leonskim picture leonskim  ·  5Comments

tbolt picture tbolt  ·  3Comments

VicFrolov picture VicFrolov  ·  7Comments

renanmav picture renanmav  ·  4Comments