Permission Card Bug fixes
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');