Open ezranbayantemur opened 4 years ago
Same here
I'm also getting a lot of crashes like this on my app and i only have 1 BlueView component
32 minutes ago on app version 3145742
Samsung Galaxy M01s (a10s), 2816MB RAM, Android 10
Report 1
java.lang.IndexOutOfBoundsException:
at java.util.ArrayList.get (ArrayList.java:437)
at android.view.ViewGroup.getAndVerifyPreorderedView (ViewGroup.java:4468)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4984)
at com.facebook.react.views.view.ReactViewGroup.dispatchDraw (ReactViewGroup.java:3)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at com.facebook.react.views.view.ReactViewGroup.dispatchDraw (ReactViewGroup.java:3)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at com.facebook.react.views.view.ReactViewGroup.dispatchDraw (ReactViewGroup.java:3)
at android.view.View.draw (View.java:23193)
at android.view.View.draw (View.java:23062)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at com.facebook.react.views.view.ReactViewGroup.dispatchDraw (ReactViewGroup.java:3)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at com.facebook.react.views.view.ReactViewGroup.dispatchDraw (ReactViewGroup.java:3)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at com.facebook.react.views.view.ReactViewGroup.dispatchDraw (ReactViewGroup.java:3)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at com.facebook.react.ReactRootView.dispatchDraw (ReactRootView.java)
at android.view.View.draw (View.java:23060)
at android.view.ViewGroup.drawChild (ViewGroup.java:5230)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4987)
at android.view.View.draw (View.java:23193)
at eightbitlab.com.blurview.BlockingBlurController.b (BlockingBlurController.java:49)
at eightbitlab.com.blurview.BlockingBlurController$1.onPreDraw (BlockingBlurController.java:2)
at android.view.ViewTreeObserver.dispatchOnPreDraw (ViewTreeObserver.java:1102)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3310)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2200)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:9065)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:999)
at android.view.Choreographer.doCallbacks (Choreographer.java:797)
at android.view.Choreographer.doFrame (Choreographer.java:732)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:984)
at android.os.Handler.handleCallback (Handler.java:883)
at android.os.Handler.dispatchMessage (Handler.java:100)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:8019)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
I think this is a problem with Dimezis BlurView https://github.com/Dimezis/BlurView/issues/110
Is there any solution?
Is there any solution? Facing the same issue here
Same use case here 🙃
I'm having the issue here. It always crashes when the situation involves a BlurView and an animation. Having multiple blurred views is fine for me tho.
I'm also having the same issue. Please help us. Thanks a lot
Updates ?
Someone came up with a solution?
Is probably addressed with https://github.com/Kureev/react-native-blur/pull/411 now, waiting for merge though.
Someone came up with a solution?
There is a user-modified version that includes a fix for the Blur library, try it. Use in package: "@react-native-community/blur": "https://github.com/flyingSAP/react-native-blur",
Still not able to use multiple BlurView in a single page. Crashes the application for Android whereas works fine with iOS.
Same here
same issue here in android
Still same issue on Android
add implementation('com.eightbitlab:blurview:1.6.6') { force = true }
in app/build.gradle.
It working for me. Something crash app :(((
This library is garbage
This library is garbage
@sanch941 then do it better and stop hating on other people's work, which they've put countless hours into.
when I upgrade to "com.eightbitlab:blurview:1.6.6", it's still crash.
Interested is someone tried to use it in FlatList? On iOS works good, but Android version seems like goes out borders and blurs whole row with blured item. I have 2 lists, one horizontal and one vertical. Horizontal one is completely blured, while vertical with 2 columns blurs only rows with blured item, no matter one or two have BlurView
add
implementation('com.eightbitlab:blurview:1.6.6') { force = true }
in app/build.gradle. It working for me. Something crash app :(((
works for me. thank you!
add
implementation('com.eightbitlab:blurview:1.6.6') { force = true }
in app/build.gradle. It working for me. Something crash app :(((works for me. thank you!
I'm not sure but sometimes it crashes the app
add
implementation('com.eightbitlab:blurview:1.6.6') { force = true }
in app/build.gradle. It working for me. Something crash app :(((
Works for me too, but wondering why it can fix the IndexOutOfBoundsException error?
Bug report
Summary
Firstly thank you for this great repo. And sadly, as like the title said, can't use multiple BlurView on Android devices. Multiple like; FlatList item or another BlurView component on the screen. Same as like https://github.com/react-native-community/react-native-blur/issues/384 issue said, it's working fine if there is only one BlurView on the screen. If the second one, app crashes.
I think so many people faces with this issue. It would be great if you look at it and check other issue. It's a very useful library. @Kureev @vonovak @msand
Environment info
react-native info
output:Library version:
Steps to reproduce
Error output:
Reproducible sample code
Code sample: