Digipass S3 is now DigipassONE. This section is currently being updated to reflect our new name.

Upgrading from 7.0.2 to 8.0.1

Prev Next

This section contains a list of changes to help upgrade your app from the 7.0.2 version of the JavaScript App SDK to the 8.0.1 version.

  • To use Tutorial App version 7.0.2 with the SDK version 8.0.1, set the version number in the file src/gwtutorial/WebContent/config/config.js file to "8.0.1".

  • suggestRegister() and resetSuggestRegister() were moved from the AppSdk class to the AdaptiveUI class. Update these methods to use

AdaptiveUI.suggestRegister() and AdaptiveUI.resetSuggestRegister() instead.

  • The values for the SuggestRegisterUIStatus enum changed from (SURE, NO_THANKS, NEVER_ASK) to (YES, NO, NEVER_ASK, UNKNOWN).

  • The ISuggestRegisterFactory class was removed.

  • Use the SuggestRegistrationUI and SuggestRegistrationController classes to customize both the Suggest Registration UI and Method Selection UI in the Suggest dialog. Refer to SampleSuggestRegistrationUI in samples.js and suggestRegister in Controller.js of Tutorial Web App.

  • AppSdk.getRegistrations() now returns registrations for both FIDO2 and UAF in a single call. There is no need to set the protocol and call this method multiple times

  • AdaptiveUI.showRegistrationFragment() changed to AdaptiveUI.getRegistrationView()

  • Replace ui.showRegistrationFragment(sessionData, container);with
var view = ui.getRegistrationView(sessionData);
view.show(container);