flutter_spotify_remote 0.0.3 copy "flutter_spotify_remote: ^0.0.3" to clipboard
flutter_spotify_remote: ^0.0.3 copied to clipboard

A Flutter plugin for Spotify App Remote SDK. Control playback, subscribe to player state, and manage auth on iOS and Android.

0.0.3 #

  • Bundled SpotifyiOS.xcframework (v5.0.1) directly — no Podfile source required in consuming apps
  • Fixed initiateSession build error caused by new required campaign parameter in SDK v5.0.1
  • Added initializeSession() — configures SPTSessionManager with backend tokenSwapURL and tokenRefreshURL so the iOS SDK performs silent token refresh automatically (~every 55 min), with no app-switch after the first user approval
  • Added renewSession() — manually triggers a silent backend refresh at any time
  • Added source field to SpotifyAccessTokenEvent ('firstAuth' / 'silentRefresh' / 'directAuth') so callers can distinguish how each token was obtained
  • iOS: SPTSessionManagerDelegate fires SpotifyAccessTokenEvent on both first auth and every automatic renewal; SPTAppRemote is reconnected automatically after silent refresh

0.0.2 #

  • iOS improvements and bug fixes

0.0.1 #

  • Initial release
  • iOS support via Spotify iOS SDK v5.0.1 (CocoaPods — no bundled xcframework)
  • Android support via Spotify Android App Remote SDK (.aar)
  • Playback control: play, pause, resume, skip next/previous, seek, shuffle, repeat
  • Real-time Stream<SpotifyEvent> for player state and connection changes
  • SpotifyAccessTokenEvent for Flutter-side token persistence (iOS)
  • Typed exceptions: SpotifyNotInstalledException, SpotifyAuthException, SpotifyConnectionException, SpotifyCommandException
3
likes
160
points
53
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for Spotify App Remote SDK. Control playback, subscribe to player state, and manage auth on iOS and Android.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_spotify_remote

Packages that implement flutter_spotify_remote