-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: improve ios launch screen on notch devices #2810
fix: improve ios launch screen on notch devices #2810
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2810 +/- ##
=======================================
Coverage 7.05% 7.05%
=======================================
Files 219 219
Lines 10864 10864
=======================================
Hits 766 766
Misses 10098 10098 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Nice. Fyi, it's also happening on non notch devices |
Quickly said: I'm not saying your fix doesn't fix the issue, but we're using a splash screen generator. Whatever you fix downstream would be overridden at the next splash screen generation (e.g. new logo).
You have to fix parameters given to the splash screen generator instead (cf. pubspec.yaml).
…________________________________
De : Simon Bengtsson ***@***.***>
Envoyé : vendredi 19 août 2022 22:19
À : openfoodfacts/smooth-app ***@***.***>
Cc : monsieurtanuki ***@***.***>; Review requested ***@***.***>
Objet : [openfoodfacts/smooth-app] fix: improve ios launch screen on notch devices (PR #2810)
What
Fixes position of the launch screen logo on notch devices.
Screenshot
[Screen Shot 2022-08-19 at 22 18 13]<https://user-images.githubusercontent.com/3586691/185700531-1291878d-057b-4f2b-8424-8a35d6e41e9d.png>
________________________________
You can view, comment on, or merge this pull request online at:
#2810
Commit Summary
* 1f0aa93<1f0aa93> fix: improve ios launch screen on notch devices
File Changes
(1 file<https://github.com/openfoodfacts/smooth-app/pull/2810/files>)
* M packages/smooth_app/ios/Runner/Base.lproj/LaunchScreen.storyboard<https://github.com/openfoodfacts/smooth-app/pull/2810/files#diff-d9dc5f85f26c99e61aaefac4bc1ad308cf2ad1cbee717b407e8c65b98678768d> (5)
Patch Links:
* https://github.com/openfoodfacts/smooth-app/pull/2810.patch
* https://github.com/openfoodfacts/smooth-app/pull/2810.diff
—
Reply to this email directly, view it on GitHub<#2810>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACYKI34IKKDR2M3X4MMKNO3VZ7T3VANCNFSM57B3K37Q>.
You are receiving this because your review was requested.Message ID: ***@***.***>
|
Oh! Didn't see that. Tried running the Launch screen after |
Thats right @monsieurtanuki but I'm not sure if we are currently using the files of the generator, @g123k did some changes to use svgs instead of pngs which was not supported by the plugin but this could also just have affected the app icon. @g123k what do you say? |
Fixes: #2787 |
Yes indeed, I did it manually because the plugin generated broken things. |
Honestly I would prefer us to use flutter_native_splash, which is a "Flutter Favorite" with 100% popularity and only 9 open issues. I don't think we can be much smarter than them, and that's not where we're supposed to be good at anyway. That said, if there's a consensus about getting rid of that package, that's not my project so why not. But if you guys decide remove Btw that is the answer to the current PR: jonbhanson/flutter_native_splash#325 |
I’m still convinced to to do it manually since our custom Android implementation supports dark mode and themed icons. |
I am open to this, but we can of course keep the splash generator and remove the icon generator if one of them is missing features. |
Please do something that works and that flutter devs can maintain. |
Then the camera froze, then switched to "always black" mode. |
|
Great! Rebased against develop now in case we want to merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @simonbengtsson!
As far as I understand iOS LaunchScreen storyboard, looks good to me.
What
Fixes position of the launch screen logo on notch devices.
Screenshot