useNewDesign property

bool useNewDesign
getter/setter pair

Whether to use the new bottom sheet design (true) or the old full-screen design (false).

When true (default), the SDK uses:

  • Bottom sheets for payment screens
  • Modern UI with drag handles
  • Inline 3DS WebView in bottom sheet

When false, the SDK uses:

  • Full-screen navigation for payment screens
  • Classic UI design
  • Full-page 3DS WebView with app bar

Example

// Use new design (default)
AmwalSdkSettingContainer.useNewDesign = true;

// Use old design
AmwalSdkSettingContainer.useNewDesign = false;

Implementation

static bool useNewDesign = true;