chg: fix inconsistent channel naming
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user