openDebugSettings static method
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;
}
// Routed through the instance so a host that opens the screen from its own
// deeplink listener shares the SDK's one-at-a-time guard, rather than
// stacking a second copy on top of one the SDK already opened.
unawaited(
DigiaInstance.instance.pushDebugSettingsRoute(Navigator.of(context)),
);
}