Spotify Connector
Listening and library data collected through the mobile sync pipeline.
Updated 19 March 2026
spotifyconnectormusicmobile
Spotify Connector
Listening and library data collected through the mobile sync pipeline.
Connector Metadata
| SDK connector id | spotify |
| Works on | React Native, Swift, Mobile sync |
| Current collection surface | Mobile sync |
| Information density | High |
| Signal quality | High |
| Best for | Music taste, mood signals, artist affinity, routine context, and entertainment personalization. |
Activation
To show this connector in the SDK, add spotify to the platform allowlist for the SDK surface you are using.
Web
This connector is not currently documented for the web connector surface. Use one of the supported mobile surfaces below.
React Native
<OnairosButton
AppName="YourApp"
allowedPlatforms={['spotify']}
recommendedPlatforms={['spotify']}
onComplete={(result) => console.log(result)}
/>
Swift
let config = OnairosConfig(
apiKey: "your_api_key",
platforms: [.spotify],
recommendedPlatforms: [.spotify],
urlScheme: "yourapp",
appName: "YourApp"
)
Connector ids are lowercase
Use spotify in allowedPlatforms. Display names such as Spotify may work on some SDK surfaces, but lowercase connector ids are the safest cross-platform choice.
Current SDK Surface
Mobile sync
What We Collect
- Recently played tracks and top tracks/artists.
- Playlists, saved tracks, and saved albums.
- Profile and subscription metadata such as country, followers, and explicit-content settings.
Current Onairos Handling
- Collected through the mobile sync flow.
- Listening and library data are normalized into the shared platform-data format.
Notes
- Includes listening activity, library data, and profile metadata.
- Spotify is currently available in the mobile connector flow.