openDebugSettings static method

void openDebugSettings(
  1. BuildContext context
)

Opens the SDK's debug-only settings screen. Wire to a deeplink (see isDebugSettingsDeepLink) or trigger from the host's own debug menu.

No-op outside a debug build (isDigiaDebugBuild).

Implementation

static void openDebugSettings(BuildContext context) {
  if (!isDigiaDebugBuild()) {
    debugPrint('[Digia] openDebugSettings() ignored — not a debug build.');
    return;
  }
  Navigator.of(context).push(
    MaterialPageRoute(builder: (_) => const DigiaDebugSettingsScreen()),
  );
}