UNPKG

@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

25 lines (24 loc) 567 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const PACKAGE_NAME = "@wwdrew/expo-spotify-sdk"; /** * 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", * }), * ], * }); */ exports.default = (props) => [ PACKAGE_NAME, props, ];