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.
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.