>
> I took a quick pass over the QuickSurveys codebase and noticed that neither the back- or front-ends deals with the "platform" part of the config.
>
[x] Rename platform to platforms
[x] When a platform is set to something other than an array e.g. true it throws a PHP exception
[x] When mobile platform is set to array( 'alpha' ) it throws an exception as alpha is not a valid mode.
[x] When desktop platform is set to array( 'stable',' beta' ) it throws an exception as beta is not a valid mode in desktop.
[] When platforms mobile is not set or is set to an empty array but desktop is set to array( 'stable', 'beta' ) a survey only appears in desktop.
[] When platforms desktop is not set or is set to an empty array but mobile is set to array( 'stable', 'beta' ) a survey only appears in mobile.
[] When mobile is set to array( 'beta' ) a survey only appears in mobile beta