Skip to content

Spotify Android Auth lib 3.0.0

Choose a tag to compare

@antonholmberg antonholmberg released this 10 Dec 11:02
· 21 commits to master since this release
020582d
  • Add mandatory redirect path pattern.

You can now define the path pattern in your app's build.gradle file as follows:

defaultConfig {
    manifestPlaceholders = [
        redirectSchemeName: "your-redirect-scheme",
        redirectHostName: "your-redirect-host",
        redirectPathPattern: "your/redirect/path/pattern" // New mandatory field
    ]
    ...
}

If you want to retain the previous behavior (accepting any path), use .* as the path pattern.
For more details, see the Google documentation.