Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdea6e17 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

fix: Use new NC lib with cookies choice

parent 43ac8704
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ android {
}

dependencies {
    implementation("foundation.e:Nextcloud-Android-Library:1.0.9-u2.17-release") {
    implementation("foundation.e:Nextcloud-Android-Library:2.0.0-u2.17-release") {
        exclude group: 'com.gitlab.bitfireAT', module: 'dav4jvm' // Got from AccountManager
        exclude group: 'com.github.bitfireAT', module: 'dav4jvm'
        exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public class DavClientProvider {
        try {
            final OwnCloudClientManager ownCloudClientManager = OwnCloudClientManagerFactory.getDefaultSingleton();
            final OwnCloudAccount ocAccount = new OwnCloudAccount(account, context);
            return ownCloudClientManager.getClientFor(ocAccount, context);
            return ownCloudClientManager.getClientFor(ocAccount, context, OwnCloudClient.USE_COOKIES);
        } catch (AccountUtils.AccountNotFoundException | OperationCanceledException |
                 AuthenticatorException | IOException exception) {
            Timber.e(exception);