24 lines
454 B
Dart
24 lines
454 B
Dart
import '../app/app_store_policy.dart';
|
|
import 'go_core.dart';
|
|
|
|
bool shouldBlockEmbeddedAgentLaunch({
|
|
required bool isAppleHost,
|
|
bool? enabled,
|
|
}) {
|
|
return shouldApplyAppleAppStorePolicy(
|
|
isAppleHost: isAppleHost,
|
|
enabled: enabled,
|
|
);
|
|
}
|
|
|
|
bool shouldBlockGoCoreLaunch(
|
|
GoCoreLaunch _, {
|
|
required bool isAppleHost,
|
|
bool? enabled,
|
|
}) {
|
|
return shouldBlockEmbeddedAgentLaunch(
|
|
isAppleHost: isAppleHost,
|
|
enabled: enabled,
|
|
);
|
|
}
|