接入原生壳网络状态能力
新增 network.status 与 network.statusChanged HostBridge 能力 Expo 壳通过 expo-network 查询并订阅真实网络状态 Tauri 壳通过主站可达性查询和 WebView online/offline 事件同步网络状态 更新壳能力检查、测试和架构文档
This commit is contained in:
@@ -135,6 +135,8 @@ const requiredMainSnippets = [
|
||||
'tauri_plugin_clipboard_manager::init()',
|
||||
'"appearance.getColorScheme"',
|
||||
'"app.lifecycle"',
|
||||
'"network.status"',
|
||||
'"network.statusChanged"',
|
||||
'"share.open"',
|
||||
'"share.setTarget"',
|
||||
'"navigation.openNativePage"',
|
||||
@@ -152,6 +154,8 @@ const requiredMainSnippets = [
|
||||
'window.theme()',
|
||||
'WindowEvent::Focused',
|
||||
'host_bridge_event_script',
|
||||
'resolve_desktop_network_status',
|
||||
'network.statusChanged',
|
||||
];
|
||||
|
||||
for (const permission of requiredPermissions) {
|
||||
|
||||
Reference in New Issue
Block a user