add migration info for Void -> EmptyResponse#636
Conversation
|
@stefan-niedermann Here you said:
I'm using Calls in the Nextcloud News App (e.g. here) and it received the error
After changing it to |
|
Hmm... I can't reproduce this issue 🧐 We are using
This error message suggests one is trying to instantiate Void (the workaround we removed in SSO 1.0.0) and it must not happen any longer. Are you absolutely sure you do not use SSO below 1.0.0 and also don't have idk any transitive dependencies or so? |
|
I cloned the Single-Sign-On Repo into the news app and included it as a gradle project dependency in the settings.gradle. So I'm fairly sure that it's version 1.0.0 🙈 And in the deck app it works with the latest version and the |
|
On the Where exactly is the error message ( |
|
@stefan-niedermann Here: https://github.com/nextcloud/Android-SingleSignOn/pull/636/files#diff-c367b4028a9db1f826b9e7657605ad06e197238f3ab5e4a6d438dcd8c01d1983R151 The response is null (because the server doesn't return anything) so it checks if the the |
lib/src/main/java/com/nextcloud/android/sso/api/NextcloudAPI.java
Outdated
Show resolved
Hide resolved
stefan-niedermann
left a comment
There was a problem hiding this comment.
One more thing: Please adjust the README, there's a hint to EmptyResponse which should be rewritten to also match Calls then
…latter will be removed in the next SSO version Refs: nextcloud/Android-SingleSignOn#636 Signed-off-by: Stefan Niedermann <info@niedermann.it>
cleanup unused code
Signed-off-by: David Luhmer <david-dev@live.de>
stefan-niedermann
left a comment
There was a problem hiding this comment.
Not sure whether the explanation is still valid (given Calls are not related to RxJava), but yeah, the hint is there.
No description provided.