pd4d10 / git-touch

An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Apache License 2.0
1.56k stars 138 forks source link

Grey screen on iOS #199

Closed adrianjagielak closed 3 years ago

adrianjagielak commented 3 years ago

Hi, I tried to install it but the only thing I see is a static gray screen.

iOS 14.2 iPhone XS Max, GitTouch 1.12.0 from the App Store

image

pd4d10 commented 3 years ago

Looks weird. Is this the first screen after opening the app without doing anything?

thomas-bouvier commented 3 years ago

Hi, I get the exact same screen on Android since release 1.12.0. The white splash screen (with the logo on it) loads and disappears before that.

miracle091 commented 3 years ago

Looks weird. Is this the first screen after opening the app without doing anything?

Same on LineageOS 17.1, version 1.12.0 but installed trough apk (cause this version. is not available on f-droid at the time). This not happen with the 1.11.1 and if this could help, build directly from source work normally.

shreyas1599 commented 3 years ago

I think the error is because of this. While trying to build this error is returned:

Because every version of flutter_localizations from sdk depends on intl 0.17.0 and git_touch depends on intl ^0.16.0, flutter_localizations from sdk is forbidden.

So, because git_touch depends on flutter_localizations any from sdk, version solving failed.
pub get failed (1; So, because git_touch depends on flutter_localizations any from sdk, version solving failed.)

I changed it to 0.17.0 and created a release on my local and it seems to work fine. @pd4d10 can you verify this on your machine?

pd4d10 commented 3 years ago

0.17.0 seems to be a null safety version: https://pub.dev/packages/intl/versions/0.17.0

Have you set your Flutter channel other than stable (for example beta)?

pd4d10 commented 3 years ago

I guess it may be caused by the system default locale.

@adrianjagielak @thomas-bouvier @miracle091 Could you please post your system default locale here? Thanks!

pd4d10 commented 3 years ago

I guess it may be caused by the system default locale.

Update: This is exactly the reason that causes this problem

I Will land a quick fix on this. Thanks for your feedback!

simulator_screenshot_63B4E58E-CA9C-415C-A001-481DDC48981F

pd4d10 commented 3 years ago

Landed a new release: https://github.com/git-touch/git-touch/releases/tag/v1.12.2

iOS package is waiting for review and should be ready in 24h.