From dda3c7cbc0028df1393c5024ef6a66c908ea70b3 Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Wed, 8 Jul 2020 20:26:39 +0200 Subject: [PATCH] Version Bump-revert to fix broken auth --- CHANGELOG.md | 3 +++ app/build.gradle | 4 ++-- .../java/net/schueller/peertube/network/RetrofitInstance.java | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b474dcf..90e501a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### Version 1.0.46 Tag: v1.0.46 (2020-07-08) + * Revert broken auth + ### Version 1.0.45 Tag: v1.0.45 (2020-07-08) * Added token refresh diff --git a/app/build.gradle b/app/build.gradle index d8b2be1..e398ba5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,8 +23,8 @@ android { applicationId "net.schueller.peertube" minSdkVersion 21 targetSdkVersion 29 - versionCode 1045 - versionName "1.0.45" + versionCode 1046 + versionName "1.0.46" buildConfigField "long", "BUILD_TIME", readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ext { diff --git a/app/src/main/java/net/schueller/peertube/network/RetrofitInstance.java b/app/src/main/java/net/schueller/peertube/network/RetrofitInstance.java index 740f0ae..a1a6aa9 100644 --- a/app/src/main/java/net/schueller/peertube/network/RetrofitInstance.java +++ b/app/src/main/java/net/schueller/peertube/network/RetrofitInstance.java @@ -33,7 +33,7 @@ public class RetrofitInstance { OkHttpClient.Builder okhttpClientBuilder = new OkHttpClient.Builder(); okhttpClientBuilder.addInterceptor(new AuthorizationInterceptor()); - okhttpClientBuilder.authenticator(new AccessTokenAuthenticator()); + //okhttpClientBuilder.authenticator(new AccessTokenAuthenticator()); retrofit = new retrofit2.Retrofit.Builder() .client(okhttpClientBuilder.build())