humhub / app

20 stars 8 forks source link

Grey Screen after opening an instance #117

Closed felixhahnweilheim closed 11 months ago

felixhahnweilheim commented 11 months ago

Today I upgraded my instance from 1.15.0-beta.1 to beta.2 and the app from 1.0.75 to 1.0.76. After clearing app data (Android settings) I can’t open my instance anymore. I get a grey screen instead. (I had this problem already with an early app version but it had disappeared.) I still can open community.humhub.com

Before today's updates it worked fine (but I did not always test with clearing the app data). Only the message count of the app always showed 131 when there was just one (or two) unread notification.

luke- commented 11 months ago

Do you get to the login dialog at your instance or do you always get a gray screen right away?

felixhahnweilheim commented 11 months ago

I get it right away.

I have tried again with different combinations. It seems the error only occurs with my custom theme, not with the official theme. (The theme works in the browser and I can’t really imagine what is causing the problem at the moment.) But feel free to close this issue.

ArchBlood commented 11 months ago

I get it right away.

I have tried again with different combinations. It seems the error only occurs with my custom theme, not with the official theme. (The theme works in the browser and I can’t really imagine what is causing the problem at the moment.) But feel free to close this issue.

Could be a view that's not been updated yet?

PrimozRatej commented 11 months ago

Hey @felixhahnweilheim what is the instance? I can check it out. For the future maybe we could have a flavor or version of the app that would show the console logs and errors for test purposes.

felixhahnweilheim commented 11 months ago

@PrimozRatej humhub.hahn-felix.de Thanks in advance!

The theme is https://github.com/felixhahnweilheim/humhub-flex-theme/tree/develop

PrimozRatej commented 11 months ago

Fix it, the problem was that the app assume the background_color and theme_color properties from the manifest are in the correct hex format. I now changed it in case it isn't, it returns primaryColor.

Screenshot 2023-10-11 at 18 56 58
felixhahnweilheim commented 11 months ago

Thanks a lot! @PrimozRatej