spotify_sdk 3.0.2 copy "spotify_sdk: ^3.0.2" to clipboard
spotify_sdk: ^3.0.2 copied to clipboard

A flutter plugin that let's you communicate with the spotify sdk and auth lib

3.0.2 #

  • chore: update deprications (#224)

3.0.1 #

  • BREAKING: isSpotifyAppActive is removed from iOS and Android (#222) and therefore removed from the sdk
  • chore: Bump native iOS SDK to 3.0.0 (#222)

3.0.0 #

  • All changes from dev builds
  • chore: Bump native iOS SDK to 1.2.4 (#208)
  • chore: Update Spotify iOS SDK to v2.1.7 (#216)
  • chore: Update android versions (#219)

3.0.0-dev.3 #

  • Fix: prevent multiple iOS initializations (#203)
  • Chore: Update libraries (#202)
  • Feat: Automatic setup of the android integration of the spotify_sdk (#204)

3.0.0-dev.2 #

  • Feat: add set podcastPlaybackSpeed and switchToLocalDevice for android (#160)

3.0.0-dev.1 #

  • BREAKING:feat: update spotify.android:auth from 1.2.6 to 2.1.0 and spotify.app.remote from 0.7.2 to 0.8.0 In the app/build.gradle add the following to the default config for auth to work as described here
    defaultConfig {
            manifestPlaceholders = [redirectSchemeName: "spotify-sdk", redirectHostName: "auth"]
            ...
        }
    
  • Update android target sdk to 34

2.3.1 #

  • Fix: null album when getting advertisement on android (#179)
  • Fix: queue endpoint for web (#167)
  • Update license to apache-2.0

2.3.0 #

  • iOS, Android and Web
    • getAuthenticationToken is deprecated in favor of getAccessToken
  • Android:
    • spotify-auth SDK is now retrieved via Maven Central instead of being sourced from an AAR file
      • Steps to remove the spotify-auth SDK:
        • android/settings.gradle -> remove ':spotify-auth'
        • android/spotify-auth/build.gradle -> remove file
        • android/spotify-auth/spotify-auth-release-x.x.x.aar -> remove file

2.2.0 #

  • iOS and Android
    • adds SkipToIndex and getCapabilities
    • adds isSpotifyAppActive
    • adds getLibraryState on iOS
    • Switch to native Spotify iOS XCFramework
    • fixes android json mapping error on release builds
    • fixes skipPrevious on iOS
  • web
    • adds use accessToken which implies reusing _spotifyToken from getAuthenticationToken
    • adds optional tokenSwapURL and tokenRefreshURL for Authorization Code (without PKCE)
    • adds support for track relinking
    • fixes browser autoplay error
  • updates libraries
  • updates documentation

2.1.0 #

  • BREAKING: setShuffle now does not expect a named argument
  • fixes accessToken being ignored in connectToSpotify()
  • exposes spotifyURI on connectToSpotify() method
  • fixes the web implementation not using the authentication scopes supplied by the user
  • fix a crash when calling subscribeToConnectionStatus
  • fix a bug where the webplayer would not dispose
  • add null safety to example app

2.0.0 #

  • BREAKING: opt into null safety
  • upgrade Dart SDK constraints to >=2.12.0-0 <3.0.0

1.0.2 #

  • fixes image dimension exception on getImage

1.0.1 #

  • improves error reporting on iOS
  • supports adding additional scopes for iOS
  • offers option to start radio while connecting to Spotify
  • updates packages

1.0.0 #

  • adds support for iOS 🎉 (thanks fotiDim)
  • adapts to breaking changes in the spotify android sdk (thanks itsMatoosh)
  • implements PKCE auth flow for the web implementation (thanks itsMatoosh)
  • adds the setShuffle() and setRepeatMode() APIs for Android (thanks Joran-Dob)
  • renames logout to disconnect
  • adds accessToken as an optional parameter to connectToSpotifyRemote() (only supported on iOS)
  • some minor bug fixing

0.5.0 #

  • adds support for web (thanks itsMatoosh)
  • adds custom scopes for the web api (thanks arnav-sh)
  • adds logout functionality for android
  • moved from pedantic to lint for static analyses
  • some minor bug fixing

0.3.4 #

  • adds handling of unexpected disconnects from Spotify via subscribeConnectionStatus()-Stream(thanks itsMatoosh)
  • adds usage of .env file for the example project
  • fixes some minor error message issues

0.3.3 #

  • adds getImage to get an Image from any spotifyURI (thanks eddwhite)
  • fixes some minor issues
  • raised dart-sdk version to 2.7.0

0.3.2 #

  • fixes compatibility with spotify-auth dependency above version 1.2.0 (thanks itsMatoosh)
    • spotify introduced some breaking changes: Rename classes from AuthenticationClassName to AuthorizationClassName

0.3.1 #

  • fixes wrong links and incorrect docs

0.3.0 #

  • android user api implementation finished
    • remove from library
    • subscribe to user status
    • subscribe to capabilities
    • get librarystate
  • updated package references

0.2.0 #

  • android player api implementation subscriptions finished
    • subscribe to playerContext and playerState now possible
  • added more instructions for android
  • code refactoring
  • extended the example
  • extended the documentation

0.1.0 #

  • android player api implementation finished
  • error handling finished
  • setup instructions for android finished
  • naming for modules finished

0.0.4 #

  • added instructions for android
  • fixed naming for modules

0.0.3 #

  • added the following implementations for android:
    • getCrossfadeState
    • getPlayerState
  • general refactoring of the native android implementation
  • adds documentation to all methods
  • adds json_annotation: ^3.0.0, build_runner: ^1.0.0, json_serializable: ^3.2.0 to make use of some json serializing functionality for the crossfadeState and PlayerState

0.0.2 #

  • added the following implementations for android:
    • resume
    • skip next
    • skip previous
    • seek to
    • seek to relative
  • splitted remote authorization and token retrieval in two seperate functions
  • implemented the example project
  • added logger package for prettier logs

0.0.1 #

  • Added latests spotify-app-remote (v7.0.0) and spotify-auth (v1.1.0) from https://github.com/spotify/android-sdk/releases
  • finished android native implementation for
    • authorization with token response
    • play
    • pause
    • queue
    • toggleShuffle
    • toggleRepeat
    • addToLibrary
155
likes
160
pub points
91%
popularity

Publisher

verified publisherminimalme.de

A flutter plugin that let's you communicate with the spotify sdk and auth lib

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

crypto, dio, flutter, flutter_web_plugins, http, js, json_annotation, logger, synchronized

More

Packages that depend on spotify_sdk