chg: fix inconsistent channel naming

This commit is contained in:
Hiddify
2023-12-27 00:18:50 +01:00
parent 6034733c46
commit 6257d10b6c
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class PlatformSettingsHandler : FlutterPlugin, MethodChannel.MethodCallHandler,
private lateinit var ignoreRequestResult: MethodChannel.Result
companion object {
const val channelName = "app.hiddify.com/platform"
const val channelName = "com.hiddify.app/platform"
const val REQUEST_IGNORE_BATTERY_OPTIMIZATIONS = 44
val gson = Gson()

View File

@@ -13,7 +13,7 @@ abstract interface class PerAppProxyRepository {
class PerAppProxyRepositoryImpl
with InfraLogger
implements PerAppProxyRepository {
final _methodChannel = const MethodChannel("app.hiddify.com/platform");
final _methodChannel = const MethodChannel("com.hiddify.app/platform");
@override
TaskEither<String, List<InstalledPackageInfo>> getInstalledPackages() {

View File

@@ -12,7 +12,7 @@ abstract interface class SettingsRepository {
class SettingsRepositoryImpl
with ExceptionHandler, InfraLogger
implements SettingsRepository {
final _methodChannel = const MethodChannel("app.hiddify.com/platform");
final _methodChannel = const MethodChannel("com.hiddify.app/platform");
@override
TaskEither<SettingsFailure, bool> isIgnoringBatteryOptimizations() {