-
-
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
Black screen on 4.8.0 (wrong Entrypoint) for F-Droid #4261
Comments
I ASSUME my problem is the same issue, so I'm adding it to this one: Since updating to 4.8.0 the app doesn't open anymore. But instead of a black screen it hangs at the main logo. Exiting the app, clearing app data, restarting the device, none of it helped. Info: Device: Huawei P30 Pro (VOG-L29) I'll gladly add any further info if I can. Screenshot: |
@M123-dev @g123k @monsieurtanuki The good news is that we can install the older version in case it's a DB migration issue |
Thanks for the report @BDGreyson @mondlicht-und-sterne would you be able to get ADB logs ? |
I may be able to somehow reproduce it: when developing, sometimes I had a black screen for up to 5 seconds, then a correct app start. |
I thought it was a F-Droid specific issue (we're upgrading from the old app, with all the associated risks) |
I can reproduce on my phone (installing previous version from F-Droid, then upgrading) |
I have the same issue. Logs: openfoodfacts.adb.log |
07-01 10:17:23.192 6474 6509 I flutter : -------- |
We do have a f-droid entry point though https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/entrypoints/android/main_fdroid.dart |
I personally am obviously too dumb to get any logfiles, or, at least not filtered by app. (I have no clue about dev stuff), but I hope the others' logs will help to get it working. Thanks for all the quick replies. :-) |
Okay, here's...something I managed to figure out ADB commands, but as it looks totally different from the other logs, I guess it's quite useless, but as said, I'm sadly technically mostly clueless about all of this. Very short, no mention of "flutter" like in the other logs here, so, yeah, no clue on how to get this right. |
@teolemon we have that file, that doesn't mean we do use it. |
@monsieurtanuki are you reproducing it outside the f-droid build ? |
I have filed an issue on the F-Droid side to ask to disable the availability of the latest build: https://gitlab.com/fdroid/fdroiddata/-/issues/3023 |
Not sure how relevant it is exactly. but I just installed the fdroid version from the releases on Github (https://github.com/openfoodfacts/smooth-app/releases/download/v4.8.0/openfoodfacts-main_fdroid-v4.8.0.apk), and that one works just fine. |
@MartinJM was your data migrated properly? |
No, it's a separate installation from the one that comes from f-droid. So they are installed side-by-side without data migration/synchronization. |
@teolemon just fyi this issue does also persist when not upgrading from a previous install. So it is not a migration issue but a general issue with opening 4.8.0 when installed from F-Droid. Oh and thanks for bringing F-Droid builds back to life. |
It should just be adding the entrypoint in the flutter build command in line 447 on the F-Droid data repo using
Behind Ofc changed to the FDroid endpoint. Currently in Italy waiting in line at the Supermarkt won't be able to commit, if anyone else could create the PR we could resolve this |
This way we don't even need to disable the release, not our code is broken it's just not started properly, when the apk is rebuild (what I hope, to be asked in the PR) we can leave it open |
I've just installed the 4.8.0 from Google Play (from scratch), and experienced no black screen. I've also experienced a temporary black screen not related to OFF - it's just that my smartphone is old and takes time. |
@M123-dev This is not in github, it's more in FDroid, right? |
Merged ⏲️ |
The same for me |
Sadly the APK in the Github release and the apk on F-Droid are not the same. The one in the release is compiled by us while the one on F-Droid is compiled by them. We had missed something in the compile steps on F-Droid that's why the app did not start correctly on there. |
Same issue I just installed on fdroid and grey screen |
So the fdroid version should be updated in the coming days? |
Yes, the F-Droid rollout will be stopped in the next cycle and then rebuild in the next few days |
Yes that is always the case. F-Droid builds the apk itself. If the apk was in Izzy Repo
|
The app hasn't been updated yet. It's still under 5 days but I'm beginning to worry since the Update Known APKs yielded nothing related to Open Food Facts. |
The app is now updated on F-Droid, feel free to update it! |
Thank you, the update has fixed the error |
My phone:
Samsung S21 5G, Android 13
I installed the new version 4.8.0, start the app and see only the black screen:
The text was updated successfully, but these errors were encountered: