Skip to content
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

InvoiceNinja-App shows only grey #169

Closed
LarsK1 opened this issue Dec 10, 2020 · 50 comments
Closed

InvoiceNinja-App shows only grey #169

LarsK1 opened this issue Dec 10, 2020 · 50 comments
Labels
bug Something isn't working

Comments

@LarsK1
Copy link
Contributor

LarsK1 commented Dec 10, 2020

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

@hillelcoren hillelcoren transferred this issue from invoiceninja/invoiceninja Dec 10, 2020
@hillelcoren
Copy link
Member

Hi,

Is the dashboard loading correctly in the web app?

@hillelcoren hillelcoren added the bug Something isn't working label Dec 10, 2020
@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 10, 2020

Yes, it is
image

@hillelcoren
Copy link
Member

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
Copy link
Member

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 10, 2020

Nope, still all grey

@hillelcoren
Copy link
Member

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 10, 2020

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

@hillelcoren
Copy link
Member

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
Copy link
Contributor Author

LarsK1 commented Dec 10, 2020

Thanks for the hint - disabled it for now.

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 21, 2020

@hillelcoren any news?

@hillelcoren
Copy link
Member

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 21, 2020

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
Copy link
Member

Which version of the Android app are you using?

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 21, 2020

v5.0.30

@hillelcoren
Copy link
Member

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

@Akjo4712
Copy link

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

@hillelcoren
Copy link
Member

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

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

@Akjo4712
Copy link

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
Copy link
Member

Have you tried deleting and then reinstalling the app?

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 21, 2020

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

@hillelcoren
Copy link
Member

Thanks, I'll check the logs...

@Akjo4712
Copy link

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
Copy link
Member

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

@Akjo4712
Copy link

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
Copy link
Member

Thanks, that would be helpful

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 22, 2020

Seems like the crash is caused by android autofill

@hillelcoren
Copy link
Member

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 22, 2020

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
Copy link
Member

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

@hillelcoren
Copy link
Member

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 24, 2020

Still the app crashes instantly - see this Video

@hillelcoren
Copy link
Member

Thanks for the video, that's helpful!

Can you please try disabling your password manager again.

@hillelcoren
Copy link
Member

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

flutter/flutter#72185

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 24, 2020

Disabled the password manager, the issue still appears: Video

@hillelcoren
Copy link
Member

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
Copy link
Member

New version is live...

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 24, 2020

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
Copy link
Member

Which version of Android are you using?

To you too :)

@hillelcoren
Copy link
Member

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
Copy link
Contributor Author

LarsK1 commented Dec 24, 2020

11, RQ1A.201205.008

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 24, 2020

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
Copy link
Member

Nice, progress :)

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 24, 2020

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 24, 2020

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
Copy link
Contributor Author

LarsK1 commented Dec 28, 2020

@hillelcoren ?

@hillelcoren
Copy link
Member

We'll have a new mobile release soon

@hillelcoren
Copy link
Member

I've looked into this further, as mentioned earlier on #169 (comment) 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
Copy link

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

@hillelcoren
Copy link
Member

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

@LarsK1
Copy link
Contributor Author

LarsK1 commented Dec 30, 2020

Yey, you made it! Thanks for the fix!

@LarsK1 LarsK1 closed this as completed Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants