Skip to content

About

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Playtivity Logo

Playtivity: Spotify Friend Activity for Android

A Kotlin Android app that shows your friends' Spotify activity.

Kotlin Android Platform Support License

playtivity.mliem.com

Features

  • Secure Login: Spotify web login through an embedded WebView
  • Real Friend Activities: Shows what your friends are currently listening to
  • Profile Dashboard: Currently playing, top tracks, and top artists
  • Home Screen Widget: Android widget showing friend activity
  • Spotify Design: Authentic Spotify dark theme and colors

Screenshots

These screenshots show an earlier interface. The Kotlin interface is being checked for feature parity.

Login Screen
Login Screen
Home Screen
Home Screen
Profile Top Artists
Profile - Top Artists
Profile Top Songs
Profile - Top Songs
Settings Screen
Settings Screen

How It Works

The app uses Spotify's web login flow to obtain the sp_dc cookie, then uses it to request access tokens for Spotify's friend activity API. On upgrade, the Kotlin app attempts to import the cookie from the existing Android WebView cookie store.

Note: This app relies on Spotify's unofficial internal API, tested as of June 2026. Spotify may change or deprecate these endpoints at any time without notice, which could break functionality. There is no guarantee of long-term compatibility.

Setup

git clone <repository-url>
cd playtivity
cd native
./gradlew :core:testDebugUnitTest :app:lintPreviewDebug :app:assemblePreviewDebug

The preview APK is written to native/app/build/outputs/apk/preview/debug/. Production builds use the production flavor and read version.yml.

Platform Support

Android: Minimum Android 8.0. The Kotlin production APK builds and signs locally; a full device check is still in progress.

iOS: Not yet supported. iOS support is planned for a future release. Contributions welcome.

Roadmap

  • API-free implementation
  • Home screen widgets
  • Complete Kotlin device parity check
  • iOS support

Contributing

Bug reports, pull requests, and forks are welcome. Open an issue to report bugs or suggest features.

License

MIT — see LICENSE for details. Not affiliated with or endorsed by Spotify.


Made with ❤️ for music lovers

About

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages