@wwdrew/expo-spotify-sdk
Version:
Expo module wrapping the native Spotify iOS (v5) and Android (v4) SDKs for OAuth authentication and App Remote playback control
22 lines (21 loc) • 580 B
TypeScript
import { SpotifyConfig } from "./types";
/**
* Typed config plugin helper for `app.config.ts` (Expo SDK 56+).
*
* @example
* import withSpotifySdk from "@wwdrew/expo-spotify-sdk/plugin";
*
* export default ({ config }) => ({
* ...config,
* plugins: [
* withSpotifySdk({
* clientID: "your-spotify-client-id",
* scheme: "myapp",
* host: "spotify-auth",
* }),
* ],
* });
*/
declare const _default: (props: SpotifyConfig) => [string, SpotifyConfig];
export default _default;
export type { SpotifyConfig, SpotifyScopes } from "./types";