feat: ios启动
Some checks failed
Build Multi-Platform / 编译 libcore (iOS/tvOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 构建 iOS (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (push) Has been cancelled
Build Windows / build (push) Has been cancelled
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 24 KiB |
@ -14,7 +14,7 @@ class ActiveGroupsChannel(private val scope: CoroutineScope) : FlutterPlugin,
|
||||
CommandClient.Handler {
|
||||
companion object {
|
||||
const val TAG = "A/ActiveGroupsChannel"
|
||||
const val CHANNEL = "com.baer.app/active-groups"
|
||||
const val CHANNEL = "com.hi.app/active-groups"
|
||||
val gson = Gson()
|
||||
}
|
||||
|
||||
|
||||
@ -12,8 +12,8 @@ class EventHandler : FlutterPlugin {
|
||||
|
||||
companion object {
|
||||
const val TAG = "A/EventHandler"
|
||||
const val SERVICE_STATUS = "com.baer.app/service.status"
|
||||
const val SERVICE_ALERTS = "com.baer.app/service.alerts"
|
||||
const val SERVICE_STATUS = "com.hi.app/service.status"
|
||||
const val SERVICE_ALERTS = "com.hi.app/service.alerts"
|
||||
}
|
||||
|
||||
private var statusChannel: EventChannel? = null
|
||||
|
||||
@ -12,7 +12,7 @@ import kotlinx.coroutines.CoroutineScope
|
||||
class GroupsChannel(private val scope: CoroutineScope) : FlutterPlugin, CommandClient.Handler {
|
||||
companion object {
|
||||
const val TAG = "A/GroupsChannel"
|
||||
const val CHANNEL = "com.baer.app/groups"
|
||||
const val CHANNEL = "com.hi.app/groups"
|
||||
val gson = Gson()
|
||||
}
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ class LogHandler : FlutterPlugin {
|
||||
|
||||
companion object {
|
||||
const val TAG = "A/LogHandler"
|
||||
const val SERVICE_LOGS = "com.baer.app/service.logs"
|
||||
const val SERVICE_LOGS = "com.hi.app/service.logs"
|
||||
}
|
||||
|
||||
private lateinit var logsChannel: EventChannel
|
||||
|
||||
@ -21,7 +21,7 @@ class MethodHandler(private val scope: CoroutineScope) : FlutterPlugin,
|
||||
|
||||
companion object {
|
||||
const val TAG = "A/MethodHandler"
|
||||
const val channelName = "com.baer.app/method"
|
||||
const val channelName = "com.hi.app/method"
|
||||
|
||||
enum class Trigger(val method: String) {
|
||||
Setup("setup"),
|
||||
|
||||
@ -33,7 +33,7 @@ class PlatformSettingsHandler : FlutterPlugin, MethodChannel.MethodCallHandler,
|
||||
private lateinit var ignoreRequestResult: MethodChannel.Result
|
||||
|
||||
companion object {
|
||||
const val channelName = "com.baer.app/platform"
|
||||
const val channelName = "com.hi.app/platform"
|
||||
|
||||
const val REQUEST_IGNORE_BATTERY_OPTIMIZATIONS = 44
|
||||
val gson = Gson()
|
||||
|
||||
@ -11,7 +11,7 @@ import kotlinx.coroutines.CoroutineScope
|
||||
class StatsChannel(private val scope: CoroutineScope) : FlutterPlugin, CommandClient.Handler{
|
||||
companion object {
|
||||
const val TAG = "A/StatsChannel"
|
||||
const val STATS_CHANNEL = "com.baer.app/stats"
|
||||
const val STATS_CHANNEL = "com.hi.app/stats"
|
||||
}
|
||||
|
||||
private val commandClient =
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package com.hiddify.hiddify.constant
|
||||
|
||||
object Action {
|
||||
const val SERVICE = "com.baer.app.SERVICE"
|
||||
const val SERVICE_CLOSE = "com.baer.app.SERVICE_CLOSE"
|
||||
const val SERVICE_RELOAD = "com.baer.app.sfa.SERVICE_RELOAD"
|
||||
const val SERVICE = "com.hi.app.SERVICE"
|
||||
const val SERVICE_CLOSE = "com.hi.app.SERVICE_CLOSE"
|
||||
const val SERVICE_RELOAD = "com.hi.app.sfa.SERVICE_RELOAD"
|
||||
}
|
||||
@ -10,7 +10,7 @@
|
||||
<true/>
|
||||
<key>com.apple.security.application-groups</key>
|
||||
<array>
|
||||
<string>group.app.baer.com</string>
|
||||
<string>group.app.hi.com</string>
|
||||
</array>
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
|
||||
0
ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
Executable file → Normal file
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-1024.png
Executable file → Normal file
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 13 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-38@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-38@3x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 3.6 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-64@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-64@3x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-68@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png
Executable file → Normal file
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 3.2 KiB |
BIN
ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
vendored
Executable file → Normal file
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 844 KiB |
BIN
ios/Runner/Assets.xcassets/LaunchImage.imageset/icon-83.5@2x.png
vendored
Executable file → Normal file
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 3.2 KiB |
@ -12,7 +12,7 @@
|
||||
<true/>
|
||||
<key>com.apple.security.application-groups</key>
|
||||
<array>
|
||||
<string>group.$(BASE_BUNDLE_IDENTIFIER)</string>
|
||||
<string>group.app.hi.com</string>
|
||||
</array>
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
<true/>
|
||||
<key>com.apple.security.application-groups</key>
|
||||
<array>
|
||||
<string>group.app.baer.com</string>
|
||||
<string>group.app.hi.com</string>
|
||||
</array>
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
|
||||
@ -14,7 +14,7 @@ import 'package:kaer_with_panels/utils/custom_loggers.dart';
|
||||
import 'package:rxdart/rxdart.dart';
|
||||
|
||||
class PlatformSingboxService with InfraLogger implements SingboxService {
|
||||
static const channelPrefix = "com.baer.app";
|
||||
static const channelPrefix = "com.hi.app";
|
||||
|
||||
static const methodChannel = MethodChannel("$channelPrefix/method");
|
||||
static const statusChannel =
|
||||
|
||||