24-noconnect-2.20b

@kundzi kundzi released this Nov 28, 2016 · 5 commits to master since this release

Version 24-noconnect-2.20b

API changes/Fixes

  • ConnectionStateCallback#onLoginFailed() takes an Error now, not an int. #300
  • Less meaningless logging is happening now #303
  • PlaybackState and Metadata are updated on every cycle now

beta23-noconnect-2.20b

@kundzi kundzi released this Sep 30, 2016 · 9 commits to master since this release

Version beta23-noconnect-2.20b

Fixed issues

  • (How to get current position of track repeatedly?)[https://github.com/spotify/android-sdk/issues/283]
  • (Please include the layout file in the examples folder)[https://github.com/spotify/android-sdk/issues/269]

beta22-noconnect-2.20b

@kundzi kundzi released this Sep 26, 2016 · 10 commits to master since this release

Version beta22-noconnect-2.20b

What's new

  • x86_64 and arm64 support
  • Add contextUri and contextName to Metadata class. What is that? If you play a playlist,
    then contextUri is a Spotify URI for the playlist, and contextName is a name of the playlist.
  • Add albumCoverWebUrl to Metadata.

API changes

  • Most of the methods of SpotifyPlayer now expect an OperationCallback as the first argument so that you can listen to the
    the result of the operations like play, skip, pause etc.

Bug fixes

  • Disk cache works now

beta21-noconnect-2.18c

@kundzi kundzi released this Aug 24, 2016 · 17 commits to master since this release

Version beta21-noconnect-2.18c

What's new

  • IPv6 network support
  • Player renamed to SpotifyPlayer
  • spotifyPlayer.play(uri) is changed to spotifyPlayer.play(uri, index_in_context, start_from_ms)
  • spotifyPlayer.play(uri, index_in_context, start_from_ms) supports URIs for tracks, albums, playlists
  • Error and PlayerEvent classes added with description
  • Metadata class added to expose the information about current, next, previous tracks
  • To obtain Metadata instance call spotifyPlayer.getMetadata()
  • PlaybackState class added, get it using spotifyPlayer.getPlaybackState()

Spotify Android SDK 1.0.0-beta13

@kundzi kundzi released this Jul 14, 2016 · 24 commits to master since this release

Version 1.0.0-beta13

What's new

  • Remove support for armV5 reducing the library size to 1mb

Bug fixes

  • Fix a java.lang.ClassNotFoundException authentication error on Samsung devices (Issue #217)
  • Fix a crash caused by cache (Issue #224)

1.0.0-beta12

@kaaes kaaes released this Nov 27, 2015 · 27 commits to master since this release

Spotify Android SDK 1.0.0-beta12

What's new

  • This SDK now uses Spotify Android app to obtain access tokens. For more information see the
    Auth Guide
  • Target SDK version is now 23 (Marshmallow)

Bug fixes

  • Fix a crash when no auth request present when invoking LoginActivity (Issue #164)
  • Fix a crash when AudioTrack doesn't initialize properly (Issue #160)

1.0.0-beta11

@kaaes kaaes released this Oct 6, 2015 · 28 commits to master since this release

Spotify Android SDK 1.0.0-beta11

Bug fixes

  • Native crash in the player was fixed (Issue #96)
  • Tracklist with size 1 can now be played using PlayConfig.withTrackIndex(0) (Issue #119)
  • Player initialization issues for certain phone models are fixed (Issue #139)
  • LoginActivity stays open when fetching authentication code for 2-step Facebook authentication (Issue #145)
  • allowBackup=true was removed from libraries' manifests (Issue #153)

1.0.0-beta10

@kaaes kaaes released this Apr 27, 2015 · 30 commits to master since this release

Spotify Android SDK 1.0.0-beta10

What's new

  • TRACK_CHANGED event is back. TRACK_START and TRACK_END are deprecated now.

Bug fixes

  • CPU usage is much lower and much more battery friendly now (Issue #98)
  • Player won't incorrectly report initialized state if it has been shut down.
  • InitializationObserver will call back with onError if Player had been shutdown before it finished initializing. (Issue #97)
  • Potentially infinite loop in the Player initialization has been fixed.
  • Internal buffer size has been increased to better accommodate for unstable network connections. (Issue #98)

1.0.0-beta9

@kaaes kaaes released this Mar 26, 2015 · 32 commits to master since this release

Spotify Android SDK 1.0.0-beta9

What's new

  • Spotify Android SDK is now shipped as two separate libraries -
    one that handles authentication: spotify-auth-1.0.0-beta9.aar and one
    containing the player: spotify-player-1.0.0-beta9.aar.
    Applications that do not use playback can now include just the authentication module.
    To use the new libraries a change in build files is required:

    // Before 1.0.0-beta9
    compile 'com.spotify.sdk:spotifysdk:1.0.0-beta9@aar'
    
    // From 1.0.0-beta9
    compile 'com.spotify.sdk:spotify-player:1.0.0-beta9@aar'
    compile 'com.spotify.sdk:spotify-auth:1.0.0-beta9@aar'

    The name of the package containing playback related classes was changed from com.spotify.sdk.android.playback to com.spotify.sdk.android.player.
    More details can be found on the Spotify Android SDK page.

  • We finally have x86 support! (Issue #35)

  • AuthenticationClient#createLoginActivityIntent method was added.
    This method returns an intent that can be used to show the LoginActivity from a Fragment.
    This intent can be used both with android.app and android.support Fragments. (Issue #73)

  • Additional checks were introduced to ensure that null callbacks can't be added to the Player.

Bug fixes

  • Better error handling when LoginActivity is launched without a calling activity.
    In such case a descriptive error message will be logged in the logcat. (Issue #80)
  • BadTokenException in LoginDialog fixed (Issue #95)

Known bugs

  • Unavailable track error currently reports wrong uri.