invoiceninja / admin-portal

Invoice Ninja: Desktop/mobile admin portal built with Flutter
https://demo.invoiceninja.com
Other
1.61k stars 539 forks source link

InvoiceNinja-App shows only grey #169

Closed LarsK1 closed 3 years ago

LarsK1 commented 3 years ago

Screenshot_20201205-070912 After logging in, the app only shows grey

hillelcoren commented 3 years ago

Hi,

Is the dashboard loading correctly in the web app?

LarsK1 commented 3 years ago

Yes, it is image

hillelcoren commented 3 years ago

Ok, thanks! Error logging isn't currently enabled in the mobile app but will be adding the next release in a few days, it should help track down the problem.

hillelcoren commented 3 years ago

You may want to check if changing the app language to English helps

LarsK1 commented 3 years ago

Nope, still all grey

hillelcoren commented 3 years ago

Ok, thanks for trying! If you have error reporting enabled in the .env file we should see it with the next release

LarsK1 commented 3 years ago

Error reporting is enabled. Can you inform me, when implemented?

hillelcoren commented 3 years ago

Note: it looks like you have debug mode enabled, if the app is publicly accessible we strongly recommend disabling it as it can leak secure credentials

LarsK1 commented 3 years ago

Thanks for the hint - disabled it for now.

LarsK1 commented 3 years ago

@hillelcoren any news?

hillelcoren commented 3 years ago

Have you had a chance to try with the latest version of the mobile app?

LarsK1 commented 3 years ago

Installed the latest version available in the Google PlayStore still no changes from image above (Just pulled the latest changes from the InvoiceNinja-dev-branch still no changes)

hillelcoren commented 3 years ago

Which version of the Android app are you using?

LarsK1 commented 3 years ago

v5.0.30

hillelcoren commented 3 years ago

I'm not sure, can you check if deleting and then reinstalling the app helps?

Akjo4712 commented 3 years ago

I am also seeing just a grey screen on my iPhone with the latest App from Testflight (v5.0.30).

hillelcoren commented 3 years ago

Do you have error reporting enabled in the .env file?

If you slide from the left do you see the menu drawer?

Akjo4712 commented 3 years ago

No action does change the gray screen, i tried swiping, pinch to zoom and any other common gesture for touch interaction. But the last time the Application was updated i saw the UI, until i changed from my Test Company to my Production Company. After that, the screen was all over gray again.

hillelcoren commented 3 years ago

Have you tried deleting and then reinstalling the app?

LarsK1 commented 3 years ago

Now the apps keeps crashing even before I can enter any data into the login formular. (after reinstalling)

hillelcoren commented 3 years ago

Thanks, I'll check the logs...

Akjo4712 commented 3 years ago

Just reinstalled the App. Still a gray screen after login. I am using the Docker Version of Invoice Ninja. APP_DEBUG=true is set as Environment Var.

hillelcoren commented 3 years ago

Does changing APP_DEBUG to false make a difference? After changing the .env file you may need to run php artisan optimize

Akjo4712 commented 3 years ago

Just made an Update to Invoice Ninja Server, but now i am unable to start the server. Getting a lot of "chown ... Operation not permitted" Errors.

Definitly not related to this Issue. Shall i create a new Issue for that one?

hillelcoren commented 3 years ago

Thanks, that would be helpful

LarsK1 commented 3 years ago

Seems like the crash is caused by android autofill

hillelcoren commented 3 years ago

Thanks for the info! Are you able to send any error details?

LarsK1 commented 3 years ago

Not really, just the information that when I disable Roboform (my password manager) in the android autofill settings, i can login, but can only see grey.

Sorry!

hillelcoren commented 3 years ago

Thanks for the info, we're working on a new version of the mobile app with more logging....

hillelcoren commented 3 years ago

We've just deployed a new release, it will likely still fail but should log errors (if error reporting is enabled).

LarsK1 commented 3 years ago

Still the app crashes instantly - see this Video

hillelcoren commented 3 years ago

Thanks for the video, that's helpful!

Can you please try disabling your password manager again.

hillelcoren commented 3 years ago

I think I may see the problem, it seems likely it's related to this issue:

https://github.com/flutter/flutter/issues/72185

We'll include a suggested fix with the next release.

LarsK1 commented 3 years ago

Disabled the password manager, the issue still appears: Video

hillelcoren commented 3 years ago

I think this is a new issue introduced in the last release by changes made to correct error tracking.

Thanks for your patience, we'll get there eventually...

hillelcoren commented 3 years ago

New version is live...

LarsK1 commented 3 years ago

I'm sorry - but the issue still persists. App's crashing as soon as tapping on any text-entry-box (password manager is still disabled)

P.S. merry Christmas 🎄

hillelcoren commented 3 years ago

Which version of Android are you using?

To you too :)

hillelcoren commented 3 years ago

I was using Android 9, once I updated to Android 11 I've started seeing the same error.

We've deployed a new build (v35) with a fix, you should hopefully be able to login but will most likely still see the grey screen.

LarsK1 commented 3 years ago

11, RQ1A.201205.008

LarsK1 commented 3 years ago

Can enter now, but the following error appears: Error :: '[{id: 4, capital: Kabul, citizenship: Afghan, country_code: 004, currency: af...' to 'BuiltList<CountryEntity>' failed due to: Deserializing '[id, 4, capital, Kabul, citizenship, Afghan, country_code, 004, currency, afg...' to 'CountryEntity' failed due to: Tried to construct class "CountryEntity" with null field "thousandSeparator". This is forbidden; to allow it, mark "thousandSeparator" with @nullable.

hillelcoren commented 3 years ago

Nice, progress :)

Can you check you're using the latest web version, we shared a new release recently.

LarsK1 commented 3 years ago

Updated to the latest dev-version no change at all. Maybe related to #4558, php artisan migrate changed nothing 🤔

LarsK1 commented 3 years ago

Now being able to login - still grey. In storage/app there are no logs, and in storage/logs/laravel.log there are also no errors? Or do I have to enable debug?

LarsK1 commented 3 years ago

@hillelcoren ?

hillelcoren commented 3 years ago

We'll have a new mobile release soon

hillelcoren commented 3 years ago

I've looked into this further, as mentioned earlier on https://github.com/invoiceninja/flutter-client/issues/169#issuecomment-742395005 I think this is a language problem. I suggest testing with English as the language again, assuming this is the problem we'll include a fix with the next release.

Akjo4712 commented 3 years ago

Can confirm, after changing to English and reinstalling the App everything works fine.

hillelcoren commented 3 years ago

Great, we'll deploy a new release with a fix

LarsK1 commented 3 years ago

Yey, you made it! Thanks for the fix!