Skip to content

Commit ba55eff

Browse files
Update library file and related files
1 parent bdca6a3 commit ba55eff

File tree

6 files changed

+10
-14
lines changed

6 files changed

+10
-14
lines changed

app-remote-lib/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 0.7.1
2+
* Replaced LoggedOutException usages with NotLoggedInException and removed LoggedOutException completely.
3+
* Introduced VolumeState class and added volume control to ConnectApi
4+
15
# Version 0.7.0
26
* Potentially breaking API change in `ContentApi`. The method `getRecommendedContentItems` will now take a `String` as `type`. We are making this change to support new dynamic categories.
37
* Fixed bug in Track.equals method.

app-remote-lib/ERRORS.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ client has disconnected. The following comprises a list of errors that can be de
1717
CouldNotFindSpotifyApp
1818
```
1919

20-
The Spotify app is not installed on the device. The Spotify Android app must be installed on the
21-
user's device in order for the Spotify App Remote SDK to work. Please see the
22-
["Installing Spotify" section](https://beta.developer.spotify.com/documentation/general/guides/content-linking-guide/)
20+
The Spotify app is not installed on the device. The Spotify Android app must be installed on the
21+
user's device in order for the Spotify App Remote SDK to work. Please see the
22+
["Installing Spotify" section](https://beta.developer.spotify.com/documentation/general/guides/content-linking-guide/)
2323
of the Content Linking guide on how to direct users to download Spotify.
2424

2525
```
@@ -57,14 +57,6 @@ Spotify app can't support requested features. User should update Spotify app.
5757
Spotify user has set their Spotify app to be in offline mode, but app remote requires a call to be
5858
made to the backend. The user needs to disable offline mode in the Spotify app.
5959

60-
```
61-
LoggedOutException
62-
```
63-
64-
User has logged out from Spotify. The difference between this one and `NotLoggedInException` is that
65-
in case of the latter the connection could not have been established. `LoggedOutException` means
66-
that user logged out after Remote SDK connected to Spotify app.
67-
6860
```
6961
SpotifyDisconnectedException
7062
```
@@ -84,6 +76,6 @@ killed by the system. You need to reconnect to continue using Spotify App Remote
8476
SpotifyRemoteServiceException
8577
```
8678

87-
Encapsulates possible `SecurityException` and `IllegalStateException` errors thrown by Context#startService(Intent) and Context#startForegroundService(Intent).
79+
Encapsulates possible `SecurityException` and `IllegalStateException` errors thrown by Context#startService(Intent) and Context#startForegroundService(Intent).
8880
`SecurityException` - If the caller does not have permission to access the service or the service can not be found.
8981
`IllegalStateException` - If the application is in a state where the service can not be started, be found, or be accessed (such as not in the foreground in a state when services are allowed).
-127 KB
Binary file not shown.
128 KB
Binary file not shown.

app-remote-sample/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ repositories {
9696
}
9797

9898
dependencies {
99-
implementation files('../app-remote-lib/spotify-app-remote-release-0.7.0.aar')
99+
implementation files('../app-remote-lib/spotify-app-remote-release-0.7.1.aar')
100100

101101
implementation "androidx.appcompat:appcompat:$appCompatVersion"
102102
implementation 'androidx.gridlayout:gridlayout:1.0.0'

app-remote-sample/src/main/java/com/spotify/sdk/demo/RemotePlayerActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ private void connect(boolean showAuthView) {
337337
SpotifyAppRemote.disconnect(mSpotifyAppRemote);
338338

339339
SpotifyAppRemote.connect(
340-
getApplication(),
340+
getApplicationContext(),
341341
new ConnectionParams.Builder(CLIENT_ID)
342342
.setRedirectUri(REDIRECT_URI)
343343
.showAuthView(showAuthView)

0 commit comments

Comments
 (0)