Version Bump-revert to fix broken auth
This commit is contained in:
parent
832e103a11
commit
dda3c7cbc0
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue