Skip to content

Permission Card Bug fixes

Compare
Choose a tag to compare
@tianrenz tianrenz released this 17 Oct 20:44

This release includes updates as follows:

  • Adding askForPermissionsConsentCard(permissionsArray) to ResponseBuilder
  • Adding askWithPermissionCard to Response

Developers now can send askForPermissionsConsentCard in the following ways:

this.emit(':askWithPermissionCard', 'outputspeech', 'reprompt', 'permissionArray');

or

this.response.speak('outputSpeech').listen('reprompt').askForPermissionsConsentCard(permissionArray);
this.emit(':responseReady');