Skip to content

Commit

Permalink
feat: upgrade Android Auth library to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wwdrew committed Aug 12, 2022
1 parent 7c13126 commit 61cffcb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ repositories {
}

dependencies {
implementation (files("external/SpotifySDK/auth-lib/spotify-auth-release-1.2.3.aar"))
implementation (files("external/SpotifySDK/auth-lib/spotify-auth-release-2.0.1.aar"))
implementation (files("external/SpotifySDK/app-remote-lib/spotify-app-remote-release-0.7.2.aar"))
implementation "com.google.code.gson:gson:2.8.5" // needed by spotify-app-remote
//noinspection GradleDynamicVersion
Expand Down
2 changes: 1 addition & 1 deletion android/external/SpotifySDK
Submodule SpotifySDK updated 86 files
+0 −5 app-remote-sample/build.gradle
+22 −2 auth-lib/CHANGELOG.md
+25 −7 auth-lib/README.md
+0 −33 auth-lib/docs/allclasses-frame.html
+237 −0 auth-lib/docs/allclasses-index.html
+16 −8 auth-lib/docs/allclasses.html
+171 −0 auth-lib/docs/allpackages-index.html
+104 −64 auth-lib/docs/com/spotify/sdk/android/auth/AccountsQueryParameters.html
+137 −118 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationClient.html
+79 −49 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationHandler.OnCompleteListener.html
+89 −55 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationHandler.html
+117 −78 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationRequest.Builder.html
+149 −96 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationRequest.html
+77 −47 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationResponse.Builder.html
+117 −77 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationResponse.Type.html
+150 −97 auth-lib/docs/com/spotify/sdk/android/auth/AuthorizationResponse.html
+92 −56 auth-lib/docs/com/spotify/sdk/android/auth/IntentExtras.html
+157 −110 auth-lib/docs/com/spotify/sdk/android/auth/LoginActivity.html
+106 −68 auth-lib/docs/com/spotify/sdk/android/auth/app/SpotifyAuthHandler.html
+90 −55 auth-lib/docs/com/spotify/sdk/android/auth/app/SpotifyNativeAuthUtil.html
+0 −21 auth-lib/docs/com/spotify/sdk/android/auth/app/package-frame.html
+58 −35 auth-lib/docs/com/spotify/sdk/android/auth/app/package-summary.html
+60 −35 auth-lib/docs/com/spotify/sdk/android/auth/app/package-tree.html
+367 −0 auth-lib/docs/com/spotify/sdk/android/auth/browser/BrowserAuthHandler.html
+189 −105 auth-lib/docs/com/spotify/sdk/android/auth/browser/LoginDialog.html
+59 −36 auth-lib/docs/com/spotify/sdk/android/auth/browser/package-summary.html
+165 −0 auth-lib/docs/com/spotify/sdk/android/auth/browser/package-tree.html
+0 −36 auth-lib/docs/com/spotify/sdk/android/auth/package-frame.html
+71 −48 auth-lib/docs/com/spotify/sdk/android/auth/package-summary.html
+79 −50 auth-lib/docs/com/spotify/sdk/android/auth/package-tree.html
+0 −329 auth-lib/docs/com/spotify/sdk/android/auth/webview/WebViewAuthHandler.html
+0 −21 auth-lib/docs/com/spotify/sdk/android/auth/webview/package-frame.html
+0 −140 auth-lib/docs/com/spotify/sdk/android/auth/webview/package-tree.html
+137 −89 auth-lib/docs/constant-values.html
+55 −32 auth-lib/docs/deprecated-list.html
+1 −1 auth-lib/docs/element-list
+105 −57 auth-lib/docs/help-doc.html
+179 −134 auth-lib/docs/index-all.html
+156 −64 auth-lib/docs/index.html
+10,872 −0 auth-lib/docs/jquery/external/jquery/jquery.js
+ auth-lib/docs/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
+ auth-lib/docs/jquery/images/ui-bg_glass_65_dadada_1x400.png
+ auth-lib/docs/jquery/images/ui-bg_glass_75_dadada_1x400.png
+ auth-lib/docs/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png
+ auth-lib/docs/jquery/images/ui-bg_glass_95_fef1ec_1x400.png
+ auth-lib/docs/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png
+ auth-lib/docs/jquery/images/ui-icons_222222_256x240.png
+ auth-lib/docs/jquery/images/ui-icons_2e83ff_256x240.png
+ auth-lib/docs/jquery/images/ui-icons_454545_256x240.png
+ auth-lib/docs/jquery/images/ui-icons_888888_256x240.png
+ auth-lib/docs/jquery/images/ui-icons_cd0a0a_256x240.png
+10,872 −0 auth-lib/docs/jquery/jquery-3.5.1.js
+582 −0 auth-lib/docs/jquery/jquery-ui.css
+2,659 −0 auth-lib/docs/jquery/jquery-ui.js
+7 −0 auth-lib/docs/jquery/jquery-ui.min.css
+6 −0 auth-lib/docs/jquery/jquery-ui.min.js
+156 −0 auth-lib/docs/jquery/jquery-ui.structure.css
+5 −0 auth-lib/docs/jquery/jquery-ui.structure.min.css
+56 −0 auth-lib/docs/jquery/jszip-utils/dist/jszip-utils-ie.js
+10 −0 auth-lib/docs/jquery/jszip-utils/dist/jszip-utils-ie.min.js
+118 −0 auth-lib/docs/jquery/jszip-utils/dist/jszip-utils.js
+10 −0 auth-lib/docs/jquery/jszip-utils/dist/jszip-utils.min.js
+11,367 −0 auth-lib/docs/jquery/jszip/dist/jszip.js
+13 −0 auth-lib/docs/jquery/jszip/dist/jszip.min.js
+1 −0 auth-lib/docs/member-search-index.js
+ auth-lib/docs/member-search-index.zip
+0 −23 auth-lib/docs/overview-frame.html
+13 −134 auth-lib/docs/overview-summary.html
+85 −56 auth-lib/docs/overview-tree.html
+1 −0 auth-lib/docs/package-search-index.js
+ auth-lib/docs/package-search-index.zip
+ auth-lib/docs/resources/glass.png
+ auth-lib/docs/resources/x.png
+125 −6 auth-lib/docs/script.js
+326 −0 auth-lib/docs/search.js
+412 −80 auth-lib/docs/stylesheet.css
+1 −0 auth-lib/docs/type-search-index.js
+ auth-lib/docs/type-search-index.zip
+ auth-lib/spotify-auth-release-1.2.3.aar
+ auth-lib/spotify-auth-release-2.0.1.aar
+5 −9 auth-sample/build.gradle
+2 −1 auth-sample/src/main/AndroidManifest.xml
+1 −1 auth-sample/src/main/java/com/spotify/sdk/android/authentication/sample/MainActivity.java
+1 −1 build.gradle
+6 −6 gradle.properties
+1 −1 gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ public void endSession(Promise promise) {
mConnectionParamsBuilder = null;
mConfig = null;

AuthorizationClient.clearCookies(this.getReactApplicationContext());

RNSpotifyRemoteAppModule remoteModule = reactContext.getNativeModule(RNSpotifyRemoteAppModule.class);
if (remoteModule != null) {
remoteModule.disconnect(promise);
Expand Down

0 comments on commit 61cffcb

Please sign in to comment.