Skip to content

Spotify Android Auth lib 4.0.0

Choose a tag to compare

@antonholmberg antonholmberg released this 24 Feb 11:18
· 5 commits to master since this release
82d1b6f
  • Breaking Change: Added new AuthorizationResponse.Type.CANCELLED to differentiate user-initiated cancellations from technical errors.
    • User cancellations (browser closed, back button pressed) now return Type.CANCELLED with RESULT_CANCELED
    • Technical errors (malformed responses, missing data) return Type.EMPTY with RESULT_OK
    • OAuth errors (e.g., access_denied) continue to return Type.ERROR with RESULT_OK
    • Client applications should update their authorization result handling to account for the new CANCELLED type and RESULT_CANCELED result code.