Files

32 lines
1.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: core_webview
description: H5 容器。域名白名单、JSBridge、WebView 会话管理。
publish_to: none
version: 0.1.0
resolution: workspace
# core_webview → core_auth 是 01 允许的三条 core 间依赖之一(bridge 要读会话上下文)。
# 「用 target 换真实 URL」的接口调用**不在本包**——那需要 core_network,不是允许的边。
# 换票由调用方(feature)完成后把 URL 传进来,本包只负责校验和承载。
environment:
sdk: ^3.11.0
dependencies:
core_auth: ^0.1.0
core_foundation: ^0.1.0
flutter:
sdk: flutter
flutter_riverpod: 3.2.1
# Pub.dev 的 webview_flutter 不声明 OHOS 实现。固定到 CPF-Flutter 的 OHOS
# 适配版本(同 core_storage 里 shared_preferences 的处理方式)。
webview_flutter:
git:
url: https://gitcode.com/CPF-Flutter/flutter_packages.git
# 固定 commit(webview_flutter-v4.13.1-ohos-1.0.2 标签),不用分支名。
ref: 89476bb7432938a54e5b09b449d1d031e85f0e5c
path: packages/webview_flutter/webview_flutter
dev_dependencies:
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter