Closed pointhi closed 6 years ago
I reported on lineageos as well: https://jira.lineageos.org/browse/BUGBASH-1606
You need to delete all the existing accounts on first run as done on NextCloud. Here is the original PR: https://github.com/nextcloud/android/pull/949
Workaround:
adb root
adb shell
cd /data/system_ce/0/
sqlite3 accounts_ce.db
DELETE FROM accounts WHERE type='org.voidsink.anewjkuapp.account';
let's see if this workaround is permanent, or if the login will be forgotten after reboot/system update. At least the accounts window in android shows the added account now.
Ok, found the actual issue: https://jira.lineageos.org/browse/BUGBASH-1611
It seems to only appear when the app is stored on an encrypted SD-card. Moving the app to the internal storage and cleaning up the SQLite database fixes the issue.
Login with wrong student number/password returns an error as expected. When I enter the correct data, I come to the normal screen. But it's not possible to view any data at all. Furthermore the header says: "please login", like no login was added.
With
adb logcat *:D
I found some interesting line:But when I looked into the account section of the Settings,
JKU App
does not show any accounts added for this app. And the app itself also does not find any accounts to use because the login window is showed at the start.System informations
Device: Xperia Z Android-Version: 7.1.2 LineageOS-Version: 14.1-20190224-NIGHTLY-yuga LineageOS API-Level: Guava (7) Current Status of security updates: 5. February 2018 Kernel Version: 3.4.113 SELinux: Strict Encryption: Yes