react-native-blur icon indicating copy to clipboard operation
react-native-blur copied to clipboard

Extreme performance issues on Android; library is broken.

Open SocialBrothersDEV opened this issue 5 years ago • 8 comments

Hello,

I just had a 5-hour debug session to find out what component was leaking memory or causing some other form of performance issues. Couldn't find anything, but tried to remove the blurview and everything was smooth again. 1 blurview just causes performance issues, multiple blurviews cause a hard crash.

On IOS this library works great, on Android it has all sorts of flaws. Please be aware of this when trying to use this package.

SocialBrothersDEV avatar Aug 24 '20 14:08 SocialBrothersDEV

I also have some performance drop when using BlurView in Android, works great on iOS.

Slals avatar Sep 16 '20 23:09 Slals

Its not usable for Android, as @SocialBrothersDEV said it has HUGE performance issues. Its not like a small impact, its really a problem, please take a look.

harusurv avatar Oct 02 '20 18:10 harusurv

Same here. Performance issue for me on android working perfect on Ios.

usmankhan495 avatar Jan 14 '21 16:01 usmankhan495

@SocialBrothersDEV Do you have a recommendation to fix, or something else to use instead? Thanks!

njdullea avatar Jan 26 '21 23:01 njdullea

Blurring something on Android is pretty expensive compared to iOS. It's a native limitation. The react-native-blur library doesn't have anything to do with that.

Are your windows hardware accelerated? (see AndroidManifest.xml)

mrousavy avatar Jan 27 '21 12:01 mrousavy

Hmm that's good to know. It is not accelerated and i'll take a look into it, thanks for the suggestion.

njdullea avatar Jan 29 '21 23:01 njdullea

I am using https://github.com/Kureev/react-native-blur#9d2d744a5171f3a77564a43f87c2cfb3fbcf597e i.e master branch as of 25th June and its little bit better than 3.6 version available on npm

devWaleed avatar Jun 25 '21 15:06 devWaleed

So this library is just for iOS then I guess..?

jfbn avatar Jul 07 '21 13:07 jfbn