Version Bump-revert to fix broken auth

This commit is contained in:
Stefan Schueller 2020-07-08 20:26:39 +02:00
parent 832e103a11
commit dda3c7cbc0
3 changed files with 6 additions and 3 deletions

View File

@ -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) ### Version 1.0.45 Tag: v1.0.45 (2020-07-08)
* Added token refresh * Added token refresh

View File

@ -23,8 +23,8 @@ android {
applicationId "net.schueller.peertube" applicationId "net.schueller.peertube"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 1045 versionCode 1046
versionName "1.0.45" versionName "1.0.46"
buildConfigField "long", "BUILD_TIME", readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L' buildConfigField "long", "BUILD_TIME", readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ext { ext {

View File

@ -33,7 +33,7 @@ public class RetrofitInstance {
OkHttpClient.Builder okhttpClientBuilder = new OkHttpClient.Builder(); OkHttpClient.Builder okhttpClientBuilder = new OkHttpClient.Builder();
okhttpClientBuilder.addInterceptor(new AuthorizationInterceptor()); okhttpClientBuilder.addInterceptor(new AuthorizationInterceptor());
okhttpClientBuilder.authenticator(new AccessTokenAuthenticator()); //okhttpClientBuilder.authenticator(new AccessTokenAuthenticator());
retrofit = new retrofit2.Retrofit.Builder() retrofit = new retrofit2.Retrofit.Builder()
.client(okhttpClientBuilder.build()) .client(okhttpClientBuilder.build())