Should be able to reuse most of the setup from the Web SDK at: https://github.com/tidal-music/tidal-sdk-web