spinks / LioninWinterBall

App for the Hatfield Lion in Winter Ball and Hatfield Summer Solstice Ball
MIT License
0 stars 0 forks source link

Implement Spotify API #1

Closed spinks closed 4 years ago

spinks commented 4 years ago

Need to implement a simple, no-account client verified, api to search for and select songs for a silent disco song request functionality. Plan is for a limited number (1 or 2) of songs to be selected per device.

Links for reference:

spinks commented 4 years ago

Can get device UUID using https://capacitor.ionicframework.com/docs/apis/device. Write song choice with UUID as key to one document on firebase

If we want to display their current song choice on the app this should be done via local storage, so as not to have many document reads due to the frequency of this ones updating.

spinks commented 4 years ago

Need to add song selection, display current song, push to firebase And annoyances with closing the keyboard

spinks commented 4 years ago

Still have annoyances with keyboard (dismiss on scroll and enter give a weird state where it can be reopened by pressing area where keyboard used to be.

May have issues with large amounts of Firestore reads for some reason, despite only implementing a set method, (look into).

Documentation needed on the readme

spinks commented 4 years ago

This is closed, but will keep open for an investigation into the seemingly high number of document reads on firebase

spinks commented 4 years ago

Need to fix getting a new token on 401 token expired error

30E634E7-97AE-45C9-812F-2E13B00252D5

spinks commented 4 years ago

c80b5456da59b553165255a975eb5edbc741c545 Fixes issues where the saved song is not being displayed correctly (on fast page exit and re-enter)