-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
Files app installed from Fdroid is not detected #899
Files app installed from Fdroid is not detected #899
Comments
@nkakouros Thank you for the report. Which Version of Android are you on? And whats the Nextcloud Files Version you are using? Are you using the official one or the dev build? (https://f-droid.org/en/packages/com.nextcloud.client/ or https://f-droid.org/en/packages/com.nextcloud.android.beta/) |
I am using an Android 10 based rom (Resurrection Remix). I am using the dev version of the Files app (version 20201114). |
@nkakouros That is weird.. We used to have some issues with the dev app but that was over a year ago. It should be able to pick up the dev app as well.
Can you check if there are any suspicious logs when you start the app and click on "Login using Nextcloud Files App"? (you can check that with logcat). Do you know if this custom rom has some special permission features so that it might block the visibility of other apps? Are you also using the deck or notes app? They are using SSO as well. Would be interesting to know if they have the same problem. |
I just tried with the Deck app, version 1.12.1 and Notes, version 2.17.1 and they pick up my account from the Files app. I uninstalled the news app and re-installed from fdroid. I fired up a logcat viewer and filter by "news". This is the output:
I am not aware of any hiding/limitation in the rom. I grant permissions when asked. |
That is quite weird. I'm using the same SSO Version as the Deck app (0.5.4).. @stefan-niedermann do you have an idea what might be going on here? 🤔 |
Hmm. I guess you did not yet raise your |
@stefan-niedermann No, I didn't raise it yet, I'm still on these settings:
@nkakouros Are there any other logs / errors? There should be some more logs after starting the app / while you click on the login button. |
I fired the log reader before launching the news app. Here are the logs, again filtered for
|
I installed the stable version of the files app from fdroid and News picked up the account OK. |
@nkakouros Thanks for the update! I can't seem to identify any issues in the stacktrace you provided. It looks good to me! There is only one error message that is due to some theming issues which can be ignored. I'll have to run some tests to identify the issue. It's good to know that the stable version is working for you in the meantime! |
I don't know if this is related, but when using the stable version I get twice the single account I have used to log in the Files app. |
One account is from the stable version and the other one from the dev version.... So it is basically working, but the dev app hasn't been recognized when it is installed without the stable version. Interesting... |
Thank you for the troubleshooting. I managed to reproduce the issue. It looks like I'm running some version checks on the single sign on api and stefan is not 😅 That's why his apps were still working. It will be fixed in the next release Btw. it should be enough for now to have the stable app installed (you don't need to create an account in it) |
uumm 🤔 at least for the notes app i am pretty sure that i am doing a check... but now you are talking about it, i think i haven't updated it for a while - on the other side for the notes app an increased version number is not necessary because it doesn't use retrofit yet and all breaking changes have been in the retrofit requests 🤣 But yeah, i maybe should add a check for the deck app, that's a pretty good hint, thanks! |
But given a user has an old stable app and a current dev app and both configured The user can't know which account is from the current app. What happens if he picks the account from the outdated app? |
Sounds good! 😀
That is correct. I believe we have to postpone this until we implement our own Account Manager as I believe that this is limitation of the Build-In Account Manager. --> nextcloud/Android-SingleSignOn#49
Well.. probably nothing good.. 😅 Or we need to introduce two min-versions (one for the beta app and one for the stable app). |
I am trying to use the "Login using Nextcloud Files App" option when setting up the News app. I get an error:
I have installed the News app from F-droid too, version 0.9.9.50.
The text was updated successfully, but these errors were encountered: