Comments (6)
I got the same error message when I didn't access the .BlurView
property too.
var BlurView = require('react-native-blur').BlurView;
from react-native-blur.
@chanange In the docs I use
const { BlurView, VibrancyView } = require('react-native-blur');
which is equals to
const BlurView = require('react-native-blur').BlurView;
const VibrancyView = require('react-native-blur').VibrancyView;
so it seems everything is fine.
from react-native-blur.
Can you provide an example code?
from react-native-blur.
Just a guess, but the error message sounds quite similar as the one you get when you forget to access the .BlurView
property of require('react-native-blur')
and your local variable ends up pointing to the wrapper object instead.
from react-native-blur.
@nc @chanange react-native-blur
contain native Obj-C implementation. Are you sure you linked them correct? (see https://github.com/Kureev/react-native-blur#installation)
from react-native-blur.
Yep I linked the RNBlur project and added the libRNBlur.a product to the Build Phases - Link Binary with Libraries.
I got the error message when I imported the module with the following import, as described in the README:
var BlurView = require('react-native-blur')
But accessing with the .BlurView
property works.
var BlurView = require('react-native-blur').BlurView
from react-native-blur.
Related Issues (20)
- can use in macos and windows os? HOT 1
- Android build app crashed in version ^4.3.2 HOT 1
- Add support for Clear/Transparent Blur background HOT 8
- BlurRadius prop not working on IOS platform.
- Error using BlurView inside of TouchableWithoutFeedback tag HOT 1
- The build fail on iOS in react-native 0.73.2 with Fabric enabled HOT 2
- On Android devices, returning from another page results in a white screen HOT 2
- Ripple effect on buttons not working when using blurView event in other component
- [Android] Unable to find /../../../node_modules/react-native/android
- how to give border radius
- Exception thrown while executing UI block: -[BlurView setOnClick:]: unrecognized selector sent to instance 0x11898b1c0 HOT 2
- Item has shadow over blurView on Android HOT 3
- screen cover with white color background issue HOT 3
- When using frosted glass stack to jump in Android mode, ReactNavigation will experience lag and frosted glass will reset HOT 2
- Android - RN .73.6 - BlurView overlapping whole screen HOT 2
- Pressable becomes full screen when inside BlurView on Android HOT 2
- gradient effect is blackish in ios but not showing same view in android HOT 1
- Navigation issue with blurView HOT 10
- i used this to display image in modal not work
- Can't build on Android - cannot find symbol Activity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-blur.