All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated gradle to import sdks using sourceSets
- feat: use react-native NativeEventEmitter (#189)
- Update gradle to direct include aar files to fix #194
- Android null check to fix #191 (Thanks @pretorh)
- Remove unused maven plugin (fix build error on react-native 0.67) (#177)
- update legacy double-quoted import for
react-native
(#175) - update
react-native-events
to^1.0.21
(#174)
- Add note for Android 11 setup
- Fix build scripts, add back the postpack script
- update
.npmignore
- Update Spotify SDKS (again)
- Update Readme with SDK Version Badges
- Update Contributing Guide
- Add Dependabot configuration
- Update Spotify SDKs (thanks Hoang)
- Update Android SDK to v7.0.0-appremote_v1.2.3-auth
- Update iOS SDK to v1.2.2
- Fix Does not work when targeting Android SDK v30 (React Native 0.65+) #161 (thanks Hoang)
- Fix "missing SpotifyiOS.h" in example #78 #63 (thanks @dylancom)
- Fix example project podfile to build in XCode 12.5
- More robust handling of session object on iOS #146 (thanks @gustavoggs)
- Fix crash when returned auth code was null #138 (thanks @reinhardholl)
- nil context title crash on iOS #133 (thanks @srfaytkn!)
- getPlayerState 'Map already consumed' error #133 (thanks @srfaytkn!)
- Reference error for javascript projects #127
- Fix iOS returning access token instead of session object when re-authing #112
- Readme error in example code cjam#115
- Fix for Issue #100
- Renamed
RNSpotifyConvert
->RNSpotifyRemoteConvert
to fix Issue #94 (IbrahimCanKALYA) - Fix Issue #97
- Allow partial item to be passed into
playItemWithIndex
(PR #91) - Example to use library from source instead of installing local version
- Autogenerated documentation
- Updated Peer Dependency on React Native to
>=0.60
Issue #80
- Better error messages on connection failures Issue #65
- iOS now checks to see if Spotify is installed
- License file
- Example app to RN 63.4
- added some defaults for ApiConfig
- More documentation around setting up android project
- added some additional exports to
index.ts
to support missing typings
ApiConfig.scope
toApiConfig.scopes
which is now of typeApiScope[]
and also aligns to the web api scopesApiScope
enum values are now same as web api instead of bit flagsPlayerState.paused
->PlayerState.isPaused
to align with Spotify's iOS/Android sdk's
- Android Support! Big thanks to @YozhikM for the initial work on this
PlaybackRestrictions.canSeek
SpotifyRemote.getChildrenOfItem
now has optionaloptions:GetChildrenItemsOptions
for android pagingSpotifyAuth.authorize
to replaceSpotifyAuth.initialize
which will now return a session object instead of just a token
SpotifyAuth.initialize
in favor ofSpotifyAuth.authorize
- Removed logging on release builds Issue #31
- Playing Playlist Item would throw exception on PlayerState update Issue #35
- Safer use of the remote apis Issue #32
- Spotify SDK from 1.2.0 to 1.2.2
- Example App to use an App Context so that components could be factored to separate files
ApiConfig
(Used to authenticate and initialize session withSpotifyAuth
)PlayURI
- URI to play when authorizing (Issue #29)showDialog
- Whether or not to show the auth dialog
SpotifyAuth
endSession()
- Ends current sessiongetSession()
- Gets the current session object
SpotifySession
- Session Object DefinitionSpotifyRemote
disconnect()
- Disconnects the Remote from Spotify
- Feature Matrix to Readme (Docs)
- Example of queuing many tracks
- Requirement of XCode 11
- Missing SpotifyiOS headers / Framework Issue #25
getRecommendedContentItems
now takesoptions
object instead ofContentType
- Example app to more fully exercise exposed functionality Issue #20
- playerStateChanged event not triggered Issue #14
playItem
playItemWithIndex
for Issue #15getRootContentItems
getContentItemForUri
getCrossfadeState
Track
Propertiessaved
episode
podcast
ContentItem
PropertiesavailableOffline
children
- #12: 'React/RCTConvert.h' file not found
- Troubleshooting section to readme
- Error in Cocoapod install docs
- Cocoapod support
- RN >= 0.60 support
- Usage in README as it did not work
- Example Server
- Example Project
- Surfacing errors on iOS Authentication flow
- Updates to API Docs
- iOS Auth Support
- iOS App Remote
- Minor API Documentation