-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin on which app is dependent is broken #38
Comments
Progress: We have shown that it's possible to play tracks on the Spotify App, using an Ionic/Cordova app as a 'remote control'. See here. In this way, we're not reliant on the repair of the cordova-spotify plugin. There are several implications we need to evaluate before proceeding: Does this work for phones without a WiFi connection (that is, connected via mobile data)? Can we work the Connection API into the Login workflow of the Gaddum App? There are alternatives:
Both have their problems and while 2 is most desirable, we don't have the resources at present to tackle it. |
Update: Scenario: 2 phones: Both instances of the Spotfiy App are logged in to the same account. Gaddum App: Play: Lily Allen: Somewhere only we know Gaddum App shows streaming and playback of track. So, although you can have multiple instances of the Spotify App logged in to one Spotify account you may only stream to one of them. Using the Gaddum app in this way allows you to choose tracks and stream them to different devices. The Spotify App can be put into 'offline' mode, and will be able to play cached songs which were previously listened to. However, this means it's unreachable by the Gaddum App. More here Although this is likely to be a great solution for our end users, the implications are very bad indeed for testing and development. Any development teams who have been using a single test account between multiple testers and developers will now have the problem that developer's test apps will be interrupted whenever another developer is testing. The Gaddum App will also need to be sensitive to control being taken away, and to gracefully handle it. We don't want the app to try and update to the newly selected track (on the different app instance) simply to recognise that the track has stopped playing, and then to abort whatever playlist is currently being selected. I think development teams can live with this, but separate development teams would need seperate accounts. |
We have obtained the plugins necessary to be able to keep building the app. The plan is that we will offer 2 Spotify musicProviders: spotify 'classic', employing the legacy SDKs and spotify 'connect' which will use the web API. Both these features are doable with the resources that we have. Eventually, the 'classic' will be removed. |
fixed in 0.0.3 |
cordova-spotify is the Cordova plugin we use in order to stream audio from the Spotify SDK.
The plugin is dependent upon the Spotify native SDKs, which spotify have now removed, breaking the plugin.
With the SDK removed, we can't now rebuild our app, so it is effectively broken, although distributed versions currently installed are still working. I doubt this will be for much longer.
Spotify have now introduced a new 'connect' api, which enforces the owner of the account to specify devices which are allowed to use it. This additional authorisation must be incorporated into the app somehow.
We have already introduced OAuth2 sign-in, in addressing Issue 24 so will now attempt to use the web playback API as a fix to this issue, too.
The text was updated successfully, but these errors were encountered: