lz1asl / CaveSurvey

Cave surveying application for Android devices
MIT License
44 stars 11 forks source link

Freez app on settings screen #140

Closed seg-on closed 5 years ago

seg-on commented 5 years ago

When I open Settings the app will freeze and I must kill the application. My device is Xiaomi Redmi Note 3 Pro.

lz1asl commented 5 years ago

Hey, can you try to submit error report or it is no more available for your device?

seg-on commented 5 years ago

It's doesn't generate error because app don't crash. Only doesn't response. When I click back nothing will happen. On another device (Xiaomi redmi Note 5) it is working.

lz1asl commented 5 years ago

The only dangerous operation there is the error reporter that should either work (older devices) or be disabled. Adding extra check and leaving the issue open, please let me know if it still crashes with the next v39?

seg-on commented 5 years ago

Thanks I'll waiting for the new version and try it.

lz1asl commented 5 years ago

Hello, could you give it a try with the updated version? Is the issue still there?

seg-on commented 5 years ago

Hi, I updated app but the issue still persist :/

lz1asl commented 5 years ago

Ok, I have no clue what is causing this, will try to reproduce it at my side.

lz1asl commented 5 years ago

Could you make a backup of your surveys and try the Settings screen with this build? On your device the error reporter should still work and I have it turned on for the settings screen for you. With a stack trace the mistery should be easilly solved :)

CaveSurvey-defaultFlavor-release.apk.zip

seg-on commented 5 years ago

I'm not exactly understand what you mean, but I installed the CaveSurvey-defaultFlavor-release.apk.zip and it is still freezing. No error was generate. But now when i switch app or go to home and back, the app is in the home screen (list of projects) and I can control it.

lz1asl commented 5 years ago

It is strange that no message come to you. Could you try also this one? A message with the cause should show up. CaveSurvey-defaultFlavor-release.apk.zip

seg-on commented 5 years ago

Still the same :/ But as I write. Application does not crash, only it does not react on touch or button back. It's looks like that still working. No error. No meeage.

lz1asl commented 5 years ago

Pretty strange. Your device should be with 5.1.1 - I tried with the closest emulator I was able to find but can't reproduce it yet. Is there any change that you get the logs with adb so we get idea what is happening at your side?

seg-on commented 5 years ago

I can try it. But now I thinking that it is not so big issue to waste so many time :)

lz1asl commented 5 years ago

OK, let me know if you find time and get any logs.

seg-on commented 5 years ago

Say me where I found logs and I will test and send it to you.

lz1asl commented 5 years ago

In your case you will need to install android SDK, plug the cable and use one of the command line tools. I should re-implement the reporting functionality for newer devices #138

seg-on commented 5 years ago

OK I'm prepared.

lz1asl commented 5 years ago

I think I have reproduced it locally. It should be fixed in the next release.