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

Logged out on every phone reboot #2595

Closed
samtygier opened this issue May 19, 2018 · 4 comments
Closed

Logged out on every phone reboot #2595

samtygier opened this issue May 19, 2018 · 4 comments
Labels

Comments

@samtygier
Copy link

Actual behaviour

Every time I restart my phone I need to log in to Nextcloud again.

Expected behaviour

Authentication should be remembered between reboots

Steps to reproduce

  1. Start Nextcloud, enter server, username and password
  2. Reboot phone
  3. Log in is forgotten, and I have to enter server, username and password again

Environment data

Android version:
4.2.2

Device model:
Fairphone 1

Stock or customized system:
Stock

Nextcloud app version:
3.1.0 from fdroid

Nextcloud server version:
13.0.2snap1

@samtygier samtygier changed the title Logged out every on phone reboot Logged out on every phone reboot May 19, 2018
@samtygier
Copy link
Author

Moving the app to internal storage seems to help.

Android Settings -> Apps -> Nextcloud -> Move to internal storage

@tobiasKaminsky
Copy link
Member

We have introduced this in 3.0:

android:installLocation="internalOnly"

in our AndroidManifest.
According to androids doc this is even not needed (https://developer.android.com/guide/topics/data/install-location):

If you do not declare this attribute, your application will be installed on the internal storage only and it cannot be moved to the external storage.

However there are some vendors that do not obey this and allow an app to be moved to external storage if this was not forbidden explicitly, but seeing this now is a new problem, but this needs to be solved by the vendor.

Did you upgraded or was 3.1 a fresh installation?

--> tl;dr: our app is not allowed on external storage, if this is however possible, it is a problem of mobile vendor.

@samtygier
Copy link
Author

I tried with both upgrade and doing a fresh install on the Nextcloud app. It could be to do with the odd file-system layout on the original fairphones. The internal nand is partitioned into a 1GB "Internal Storage" and a 13GB "Phone storage" (this is before you add an SD card).

https://support.fairphone.com/hc/en-us/articles/201327645-What-is-the-storage-layout-of-the-Fairphone-1-

I previously had the Nextcloud app on the "Phone storage" internal partition.

@tobiasKaminsky
Copy link
Member

Yeah, I guess this is the problem, as the "phone storage" is the same like a sdcard, but built-in…

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

No branches or pull requests

2 participants