Replies: 5 comments 4 replies
-
Thank you @alwx i agree there is a bigger issue, 99% of our user use Android devices (most of them old and slow and have small screens) which means our designs should be first for Android, optimized for small screens, and respecting Android guidelines, so any Android user feels comfy in our app so far we have these registered issues for Android: but there will be more for sure also, we should remember that we have big performance limitations (RN, js), and we can implement whatever beautiful and complex design with animations and transitions, blur, etc, but they won't work for 90% of users, they just won't use our app, because it will be slow and laggy more regarding performance |
Beta Was this translation helpful? Give feedback.
-
@alwx Let us discuss it within the design team! its quite a nice challenge! |
Beta Was this translation helpful? Give feedback.
-
In Android 12, public APIs are available for implementing window-blur effects, such as background blur and blur behind. [expo-blur][Android] Add support for BlurView on Android |
Beta Was this translation helpful? Give feedback.
-
Thank you @alwx for opening this discussion. Regarding the chat top bar issue, the Regarding BlurView usage in general, it works a little differently on both platforms. On Android there are a few points that need to be taken into account:
In my experience with BlurView, when doing the above points, it works fine on both platforms. Away from the BlurView, I agree that in some designs, the Android experience and guidelines should be taken into account. |
Beta Was this translation helpful? Give feedback.
-
thanks @OmarBasem there are two issues on Android:
|
Beta Was this translation helpful? Give feedback.
-
When working on chat top bar (#14315 + #14312) and other components that require blur & transparency, we (together with @flexsurfer) realised that we start experiencing too many issues and spend too much time dealing with that. Those issues are mainly caused by the fact that blur is not really something that people use on Android, it's not part of Android guidelines and it's basically an iOS pattern, which also means there are no good and stable blur implementations for Android.
Some technical details
We use https://github.com/Kureev/react-native-blur, and it seems to be the only maintained react native blur library available. It works fine on iOS (see my PR: #15204) but it has many unresolved issues on Android. Most of them are due to the fact that it uses https://github.com/Dimezis/BlurView underneath, and this library is in fact not too stable — it doesn't seem to support ripple effect on Android and it has different issues on different Android devices.
But that's not the main issue — we probably do have capacity to solve most of the issues if we try hard but the problem is we're not sure if it's worth it because what we're actually doing here is we're implementing iOS patterns and designs for Android, and that seems to be a bigger issue.
Proposal
What we think makes sense to do is either create separate designs for Android or just get rid of transparency on Android completely.
But this issue is mainly to initiate a discussion around this topic.
cc @cammellos @pedro-et @John-44
Beta Was this translation helpful? Give feedback.
All reactions