Show Available Survey

Use this method to automatically show any survey this user can see at the moment, provided the user meets the surveys criteria.

Surveys.showSurveyIfAvailable()
[IBGSurveys showSurveyIfAvailable];
Surveys.showSurveyIfAvailable()
Surveys.showSurveyIfAvailable();
cordova.plugins.surveys.showSurveyIfAvailable(
  					function () {
                console.log('Invoke method called!');
            },
            function (error) {
                console.log('Invocation event could not be set - ' + error);
            }
				);
//iOS
IBGSurveys.ShowSurveyIfAvailable();

//Android
Surveys.ShowSurveyIfAvailable();
Surveys.showSurveyIfAvailable()