davx5-ose
davx5-ose copied to clipboard
Setup through the Nextcloud app (intent) not working
Steps to reproduce:
- Install the Nextcloud app for Android and login
- Open the Settings of the Nextcloud app.
- Choose "Sync calendar & contacts".
- DAVx⁵ should open with Nextcloud Login Flow. However, it does not.
So the nextcloud flow can not be started via intent. There seem to exist intentToInitialLoginType()
in LoginTypesProvider
(overridden in StandardLoginTypesProvider
) but it does not have any usages. Starting via an intent ala
adb shell am start -e url "https://davtest.dev001.net/nextcloud" -e loginFlow 1 at.bitfire.davdroid/at.bitfire.davdroid.ui.setup.LoginActivity
currently does only open the first page (LoginType chooser).
For me the the flow also doesn't work. (Version 4.3.16.1-ose)
I can login to my nextcloud account (on my own instance), but pressing "Grant access" nothing happens, it just keeps spinning:
Reloading the page just returns me to the "Grant access" button.
Reloading the page just returns me to the "Grant access" button.
This is not related to this issue. 4.3.16.1 is not affected by this issue. Please have a look at your Nextcloud logs. If the page in the browser has problems (like that Grant access doesn't work), it's not a DAVx5 problem.
Thanks @rfc2822, you're right that it was not related.
For future reference the fix was as described here. In my case I had to disable forcing SSL on my domain via my nginx proxy manager.