72Fest / 72FestHybridApp

An ionic-based hybrid app for 72Fest
1 stars 0 forks source link

Task 14 - voting feature #41

Closed ghost closed 7 years ago

ghost commented 7 years ago

This PR contains implements voting. It uses the cordova-plugin-app-preferences. It was a bit more challenging than expected because of the async nature of the plugin. This PR also adds socket.io to the app. The voting updates are communicated over a web socket which makes things much nicer to work with. It also means we can use socket.io to alert the app of other things that have happened on the server, like when someone else uploads a photo.

@howell13 This has yet to be tested on android but I'm going to merge anyway. You'll need to install the cordova-plugin-app-preferences for testing.