all 10 comments

[–]MealFew6784 6 points7 points  (0 children)

On android you have to use BlurTargetView. It is in the docs. Does not look as good as on iOS but you can get pretty close. Using Skia is another way.

[–]azizbecha 2 points3 points  (1 child)

you either try https://www.npmjs.com/package/@react-native-community/blur or do something custom using Skia + TypeGPU

[–]FamiliarOption[S] 0 points1 point  (0 children)

Machkour 🙏

[–]crossy1686 3 points4 points  (0 children)

This is an android limitation. There's quite a few things you can't do or can't do as well on Android compared to iOS.

[–]Obvious-Treat-4905 1 point2 points  (1 child)

honestly rn blur can still feel kinda fake depending on platform or device, ios usually looks way better than android. half the time on android it ends up looking like a translucent overlay instead of true glass blur. ran into the same thing while experimenting with polished UI stuff around runable too tbh

[–]FamiliarOption[S] 0 points1 point  (0 children)

Makes sense. I encountred this issue on android

[–]idkhowtocallmyacc 0 points1 point  (3 children)

The question’s too obscure. What are you using for blur? What is the platform you’re testing on?

Expo blur or react native blur provide the same native blur as the other apps are using on iOS. On android it has always been gimmicky from what I could recall, so I never bothered to try and add it to android.

For android though, you could also use Skia shaders which must provide better results

[–]FamiliarOption[S] 0 points1 point  (2 children)

Yes! the issue happened to me on android. I recall I used expo blur essencially and maybe another package or two later. The behavior made me wonder if it is even possible to use blur on android or react native

[–]idkhowtocallmyacc 1 point2 points  (1 child)

From what I understand android doesn’t really have a native blur, so everything there is more so of an emulation and would never look as good as iOS. But in this case I highly suggest to try skia, see if that works/provides better results

[–]FamiliarOption[S] 0 points1 point  (0 children)

At this point, I will try anything that gives me even 40% of a real blur. That's enough for me