humhub / app

18 stars 7 forks source link

Crash on first sign up #104

Closed marc-farre closed 10 months ago

marc-farre commented 10 months ago

With app-arm64-v8a-release.apk v1.0.66

To reproduce:

The app crashes. If you relaunch the app a second time, then the button works.

luke- commented 10 months ago

@PrimozRatej Can you please take a look into this?

PrimozRatej commented 10 months ago

@funkycram can't replicate a bug. I test it on Pixel 4 and Huawei P30, What was the device? And does it still crash on your side?

marc-farre commented 10 months ago

It's a Huawei P30 pro. I'll try again later and send you a video.

marc-farre commented 10 months ago

@PrimozRatej You can download this video to see how I make it crash: https://fromsmash.com/TjLfzjwUqT-ct (the link will expire in one week).

marc-farre commented 10 months ago

@PrimozRatej @luke- tested v1.0.67 and the bug is still present.

PrimozRatej commented 10 months ago

I tested and logcat it on multiple devices for v1.0.66 and v1.0.67, still can't reproduce the bug or find any strange behavior. logcat.txt

@luke- do you also have the same problem? @funkycram could you logcat to a device and send me the output for when the error occurs? The instructions to set up adb https://support.citrix.com/article/CTX232375/how-to-install-and-collect-adb-logs-on-android-device

luke- commented 10 months ago

I have the following behavior:

After uninstalling, reinstalling, I get only a black image at startup. Even closing and reopening the app, only shows a black image.

image

I must first manually clear the data (flush cache is not enough) - then the app opens normally.

image

After that I can log in normally without further errors.

@funkycram Do you mean "Sign in/up" in HumHub or "Connect" in the app? After "Sign in/up" the App triggers a "Request Notification Access" dialog, maybe it's related to this?


Tested with Samsung S20

marc-farre commented 10 months ago

@PrimozRatej : logcat.zip

@luke- "Sign in/up" in HumHub

PrimozRatej commented 10 months ago

https://stackoverflow.com/questions/31416568/could-someone-help-me-with-this-crash-report

luke- commented 10 months ago

@PrimozRatej Thats a quite old problem? @marc-farre You can also try to delete the "data" before the first start.

marc-farre commented 10 months ago

You can also try to delete the "data" before the first start.

Good idea. But I'm still having the bug, even when clearing data and cache.

If I'm the only one having this bug, then it's not a problem for me, and we can close the issue.

PrimozRatej commented 10 months ago

Hey, @marc-farre it is a bug, I also get it sometimes, after I log in and then quickly open up a User menu dropdown, It seems to me that there is something like this issue going on. I think I fixed it or at least I do not get a bug anymore on the release version of the app, could you also test it please when the new release is out, Thanks!

luke- commented 10 months ago

Just released v1.0.68

marc-farre commented 10 months ago

The bug is still present on v1.0.68. I've cleared the cache before starting the app.

PrimozRatej commented 10 months ago

Could you provide me a logcat again, please, Thank you.

marc-farre commented 10 months ago

@PrimozRatej logcat.zip

PrimozRatej commented 10 months ago

Hello @marc-farre and @luke- I think I found a problem. I tested the behavior on different versions of Flutter and it seems that the version we were building the app with so latest has this bug on the native WebView plugin.

v 3.13.0 Crash v 3.14.0 Crash v 3.10.0 OK v 3.7.0 OK

marc-farre commented 10 months ago

Thanks @PrimozRatej this time the bug is fixed!