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

User is moved to main view if user minimizes app during filling form on Android 6.0 and 4.2 #1142

Closed
mmarciniak90 opened this issue Jun 13, 2017 · 10 comments

Comments

@mmarciniak90
Copy link
Contributor

Software and hardware versions

ODK Collect - current master
Problem is visible on Android v4.2.1 and v6.0
Problem is not visible on Android v5.1.1, v4.4.4, v4.1.2

Problem description

User is moved to main view when she/he minimizes during filling form

Steps to reproduce the problem

  1. User opens form
  2. User minimizes ODK Collect
  3. User opens ODK Collect app again

Actual behavior

User sees main view

Expected behavior

User sees last filled question, on which she/he minimized the app.
User is not moved to other questions or views after minimization.

Other information

Verified on v1.7.1 from Google Play and this problem is not visible

@shobhitagarwal1612
Copy link
Contributor

shobhitagarwal1612 commented Jun 19, 2017

@mmarciniak90 I wasn't able to reproduce this bug on android 6.0 emulator.

@mmarciniak90
Copy link
Contributor Author

@shobhitagarwal1612 I verified on emulator and also I do not see this bug.
I use the real device Samsung Z3 (D6603) with Android 6.0.1 and there the problem is visible.

@shobhitagarwal1612
Copy link
Contributor

@mmarciniak90 Thanks for confirming. I am downloading the Android 4.2 emulator for testing on that as well

@shobhitagarwal1612
Copy link
Contributor

shobhitagarwal1612 commented Jun 19, 2017

There is a problem while installing apk in the android 4.2 emulator so someone with a physical device should look into this

@grzesiek2010
Copy link
Member

@shobhitagarwal1612 what's the problem? Any logs?

@shobhitagarwal1612
Copy link
Contributor

shobhitagarwal1612 commented Jun 19, 2017

Both me and @lognaturel have been experiencing this problem with API 16 and API 17 emulators since past few weeks. The emulator shows that 'virtual sd card' is not available required for installing the app

@grzesiek2010
Copy link
Member

ok so I'll look at it using our real devices.

@grzesiek2010
Copy link
Member

grzesiek2010 commented Jun 20, 2017

I made a quick investigation yesterday and I was able to reproduce the issue using one of mentioned devices but interestingly only if I install the app using .apk file! Everything is ok if I install the app directly using Android Studio. So it's a bit strange. At first glance I wasn't able to see anything strange in logs as well.
I'll try to investigate logs deeper and I'll check the beta version from the store.

@grzesiek2010
Copy link
Member

@lognaturel
I can confirm that everything is ok if we install the app from Google Play or using Android Studio. The problem occurs only when I build the app on my own and only on some particular devices. So it's something really odd and I can't see anything helpful in the logs.

The most important thing is as I said it works if we use Google Play. I think we can close this issue.

@lognaturel
Copy link
Member

Really strange. I agree with @grzesiek2010, let's close for now and reopen if a user reports it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants