prepareForAction method
Implementation
@override
Future<List<String>> prepareForAction(
List<String> allowlistBundleIds, [
int? displayId,
]) async {
if (!_getHideBeforeActionEnabled()) return [];
try {
// In a real implementation, this would call the Swift native module
// to hide non-allowlisted apps and activate the target
_logDebug('prepareForAction: hiding non-allowlisted apps');
return [];
} catch (e) {
_logDebug('prepareForAction failed; continuing: $e');
return [];
}
}