User is moved to main screen if user minimizes app on 'Reset result' dialog and returns to ODK in specific way
mmarciniak90 opened this issue · comments
Software and hardware versions
Collect v1.8
Android 4.2, 4.4, 5.1, 6.0
Problem description
User is moved to main screen if user minimizes app on 'Reset result' dialog and returns to ODK via menu with all installed apps or ODK icon in desktop
Steps to reproduce the problem
- User goes to 'Admin Settings'
- User opens 'Reset application'
- User selects what to reset and clicks on 'Reset'
- 'Reset result' dialog appears
- User minimize app
- User opens app from menu with all installed apps OR from desktop:
- User sees ODK logo
- User is moved to main menu
- If user clicks on device back button, user is moved to view with 'Reset result' dialog
Expected behavior
- User sees 'Reset result' dialog
Other information
Problem is not visible when user returns to app via list of all opened apps:
Discovered during testing #1269
Wow, good one! I'm not able to reproduce it in Android 5.1.1, though. Do I need to do something special before reopening Collect? I tried waiting for a couple of minutes and locking the device. Both times I was able to see the reset dialog still there.
I was able to reproduce once on Android 7.0 but it's not happening every time. Strange issue.
I spent some time investigating this strange behavior and:
- I can't see anything helpful in logs
- The problem takes place only if I build the app - > copy the file to a device and install the app
- Everything is ok if I install the app using Android Studio or if I install the app from the store
- It's not related to dialogs, you can open any other view: eg. you can open form list then minimize your app and you should notice the same issue
- Looks like there was a similar issue: #1142 I think it's the same as I said it's not related to any particular view.
I decided to check out another app as it's really odd and I noticed the same behavior (works well if I install it using Android Studio and the problem takes place after installation from a file).
So it's not our problem and I think we can close the issue. Maybe we should add a short note in https://github.com/opendatakit/collect#troubleshooting
So strange! You're right that it sounds just like #1142.
@grzesiek2010 please submit a pull request to add a note to troubleshooting when you have a chance, that's a great idea.
The binary version of its metadata is 1.9.9999, expected version is 1.7.1. , Hey Everyone When I try to build release apk it throw me this I change kotlin version also Any solution