cjam / cjam/react-native-spotify-remote

Implement lazy subscriptions to playerState / playerContext events on android

Open
#122 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Objective-C
Stars
283
Forks
110
PR merge metrics
No merged PRs in 30d

Description

Right now on android the `playerState` and `playerContext` events are subscribed to when the remote API is connected to Spotify. This subscription should be deferred until someone actually wants events from the remote.

In iOS there is bookkeeping that takes care of this, we need the same for android. Might also be worth investigating using the built in React Native events instead of having the dependency on the `react-native-events`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.