feat: enable update system with localhost:8000 server
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:umbrix/core/app_info/app_info_provider.dart';
|
||||
import 'package:umbrix/core/localization/locale_preferences.dart';
|
||||
import 'package:umbrix/core/model/constants.dart';
|
||||
import 'package:umbrix/core/preferences/preferences_provider.dart';
|
||||
import 'package:umbrix/core/utils/preferences_utils.dart';
|
||||
import 'package:umbrix/features/app_update/data/app_update_data_providers.dart';
|
||||
@@ -18,7 +19,7 @@ const _debugUpgrader = true;
|
||||
|
||||
@riverpod
|
||||
Upgrader upgrader(UpgraderRef ref) => Upgrader(
|
||||
// Removed appcastConfig - no updates for Umbrix
|
||||
appcastConfig: AppcastConfiguration(url: Constants.appCastUrl),
|
||||
debugLogging: _debugUpgrader && kDebugMode,
|
||||
durationUntilAlertAgain: const Duration(hours: 12),
|
||||
messages: UpgraderMessages(
|
||||
|
||||
Reference in New Issue
Block a user