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

Issues with the Nextcloud SSO and Android 11? #4

Open
RAYs3T opened this issue Nov 12, 2020 · 25 comments
Open

Issues with the Nextcloud SSO and Android 11? #4

RAYs3T opened this issue Nov 12, 2020 · 25 comments

Comments

@RAYs3T
Copy link
Contributor

RAYs3T commented Nov 12, 2020

Could it be that the nextcloud SSO is somehow not working on android 11?

I did dig around a little bit and found out that indeed the nextcloud-android-sso is returning an error for AccountImporter.pickNewAccount(this)

com.nextcloud.android.sso.exceptions.NextcloudFilesAppNotInstalledException

I have the official live build of nextcloud client installed, running on a Pixel 4 XL with latest Android 11.

  • Already checked permissions and battery optimizations.
  • Build and signed this app myself to rule out any strange android restrictions that might have applied to unsigned apps. -> No change.

What android are you testing on?
If someone could reproduce this I would raise an issue over at https://github.com/nextcloud/Android-SingleSignOn

@matiasdelellis
Copy link
Owner

Hi @RAYs3T
Please try to compare the behavior with the deck application, or the note application .. If they work correctly, it is probably a problem with this application, and if they also fail, it will be a problem of Android-SingleSignOn, or maybe Nextcloud-Android..

Thanks.. 😉

@matiasdelellis
Copy link
Owner

Hi @RAYs3T
See nextcloud/Android-SingleSignOn#277

@RAYs3T
Copy link
Contributor Author

RAYs3T commented Nov 13, 2020

OK this sounds like our problem. Will confirm it tomorrow with a fresh build!

@RAYs3T
Copy link
Contributor Author

RAYs3T commented Nov 16, 2020

Hmm interesting, this still does not work (tried with current master)

@matiasdelellis
Copy link
Owner

matiasdelellis commented Nov 17, 2020

Hi @RAYs3T
Please test this apk.

https://delellis.com.ar/s/f4mZ3YpoWZtm3dC

See nextcloud/Android-SingleSignOn#282 for more details, but need your feedbak about that.. 😄

@matiasdelellis
Copy link
Owner

Another apk.. Test this.. 🙈
https://delellis.com.ar/s/RrzGJ4QiiyKb5Le

@Thovi98
Copy link

Thovi98 commented Nov 19, 2020

I’ve just upgrade my Android to LineageOS 18 (Android 11).
The "official" initial release couldn’t install, so I tested your two links here above.
Both apks from your Nextcloud links install, but only the first (app-fdroid-release.apk) can connect (works great).
The second link (quicknotes-fdroid-release.apk) says that Nextcloud files isn’t installed, although latest version 3.14.0 is installed. See screenshot :
photo_2020-11-19_09-44-02

@matiasdelellis
Copy link
Owner

matiasdelellis commented Nov 19, 2020

Hi @Thovi98 @RAYs3T
I don't have any Android 11 device and I need your help.. 😞

I need to try 3 releases.
The code we have in master with this APK, and please confirm me if it works or not here.. 😄

And on the other hand, a new version of the SSO library. First with sdk 29 and then with 30, and please confirm if work the APK in the respective PR

EDIT: Update link.

@RAYs3T
Copy link
Contributor Author

RAYs3T commented Nov 19, 2020

@matiasdelellis I'll test these today. You Nextcloud link includes an empty file and I don't have write permissions to it (can only download it)

@matiasdelellis
Copy link
Owner

Thanks @RAYs3T ... Fix that..
Dropit causes some problems. 🙈 😅

@RAYs3T
Copy link
Contributor Author

RAYs3T commented Nov 19, 2020

I've testet both APKs from the PRs one of them (20201119124830 - quicknotes-query-master-release.apk) works! - WIll now test the master branc

@RAYs3T
Copy link
Contributor Author

RAYs3T commented Nov 19, 2020

@matiasdelellis Master works as well with a fresh build! Awesome!
All tested on a Pixel 4 XL with Android 11 Sec. level October

@Thovi98
Copy link

Thovi98 commented Nov 19, 2020

After same tests, I come to same conclusion ! So I don’t think it’s necessary to confirm in the respective PR 😄

@matiasdelellis
Copy link
Owner

Hi,
Can you both confirm that master works without these changes???

There was no change in master since you said it didn't work here.
#4 (comment)

😕 🤔

@RAYs3T
Copy link
Contributor Author

RAYs3T commented Nov 19, 2020

I'll delete all userdata and cache and test it again. Maybe something is persistent over installs which affects this.

@RAYs3T
Copy link
Contributor Author

RAYs3T commented Nov 19, 2020

It works on master now... @Thovi98 and if you use the current master it works for you as well?

So somehow installing the app from the PR once influenced this result? I still think the changes from the PR are required @matiasdelellis, but i can't explaint why this works still after deleting cache, storage and uninstalling...
Unfortunately I'm unable to reset my phone (this is my daily driver) in order to test if this would reoccur and have no other Android 11 Phone on hand to test with...

@Thovi98
Copy link

Thovi98 commented Nov 20, 2020

I’ve just tried again with this https://delellis.com.ar/s/ei58ALDyrGHgDeY (is it the right to test ?) and worked perfectly !
I don’t know what was current master referenced in #4 (comment) so I can’t tell if this one works for me.

@hardwareadictos
Copy link

Hey! Is it possible to get the last working APK? Thank you 😃

@hardwareadictos
Copy link

Hey! Is it possible to get the last working APK? Thank you 😃

Please, I use a lot this app on NextCloud as it's being my replacement for Google keep, can I get the last APK with SSO fixed? Want to actively contribute to the project 😊

@hardwareadictos
Copy link

Hey! Just found a working app, watching this closely to help 😊
Screenshot_20201219-125813.png

@Joshndroid
Copy link

Can I snag an apk to test (the last link above is expired Nov 2020)? I also have an android 11 device.

@Joshndroid
Copy link

Pulled from the git and quickly made own app.. errors out "cant determine server side quick notes app." Sigh.

@Thovi98
Copy link

Thovi98 commented Feb 22, 2021

Hey @Joshndroid !
I have uploaded the apk for you : https://nextcloud.next.nohost.me/s/SC45P2Bjc2YF66k
It will expire in 5 days.

Hope it will let you use the amazing QuickNotes app on your Android 🎉
Let me know.

@Joshndroid
Copy link

Joshndroid commented Feb 23, 2021

Hey @Joshndroid !
I have uploaded the apk for you : https://nextcloud.next.nohost.me/s/SC45P2Bjc2YF66k
It will expire in 5 days.

Hope it will let you use the amazing QuickNotes app on your Android 🎉
Let me know.

Hey mate. Thanks for the upload I appreciate it. I am on Android 11 on oxygen OS. I installed the app fine, went through picking server then clicked allow button on the pop up. I can see the blank initial home page. So, so far so good. Thanks again

Edit - initial note creation is working from app and can see it sync'd in the online quicknotes in nextcloud on Firefox

@ingelumer
Copy link

To whomever it may interest, I found a version of a working Quick Notes Android Client fork here (Release Oct 2023):
https://github.com/Adikso/nextcloud-quicknotes-android
However I have not tested it yet completely. Just doing basics like installation, login, view my QuickNotes, saving a new works good for me.

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

No branches or pull requests

6 participants