Skip to content

Commit

Permalink
feat(intercom): add displaySurvey (#4292)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximBelov authored Sep 5, 2022
1 parent 620385b commit ebdd6e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/@awesome-cordova-plugins/plugins/intercom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,14 @@ export class Intercom extends AwesomeCordovaNativePlugin {
setBottomPadding(bottomPadding: string | number): Promise<any> {
return;
}

/**
* Programmatically display a Survey
* @param surveyId {string}
* @returns {Promise<any>} Returns a promise
*/
@Cordova()
displaySurvey(surveyId: string): Promise<any> {
return;
}
}

0 comments on commit ebdd6e9

Please sign in to comment.