Fixed bug in nextcloud auth
The issue was that the browser intent runs on its own thread and so the poll() method is called without waiting for the browser activity to finish. So as the token is not authenticated yet, this leads to the 404. I moved this call to poll() to a method that is called when the app resumes after the browser is finished.
All my tests work now, so this resolves #49
合并状态:未合并 关闭于 2024-09-24 7 条评论