diff --git a/mobile/lib/services/machine_learning/ml_model.dart b/mobile/lib/services/machine_learning/ml_model.dart index daad0ad61a..a0384f1813 100644 --- a/mobile/lib/services/machine_learning/ml_model.dart +++ b/mobile/lib/services/machine_learning/ml_model.dart @@ -19,7 +19,8 @@ abstract class MlModel { final _downloadModelLock = Lock(); - static final bool usePlatformPlugin = Platform.isAndroid; + // static final bool usePlatformPlugin = Platform.isAndroid; + static const bool usePlatformPlugin = false; bool get isInitialized => usePlatformPlugin ? _isNativePluginInitialized : _isFfiInitialized;