flet build: common [tool.flet.deep_linking] is ignored on Android and iOS
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #6953 của @FeodorFitsner — đã merge
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Đọc setup_template_data trong flet_cli/commands/build_base.py và phần Deep linking của website/docs/publish/index.md để xác nhận thứ tự ưu tiên được ghi trong tài liệu. Theo dõi cách scheme và host được chọn cho Android và iOS, sau đó thêm các bài kiểm tra cho cài đặt chung, cài đặt nền tảng và các giá trị ghi đè của nền tảng. Hoàn tất khi cả hai nền tảng dùng các giá trị chung làm phương án dự phòng và vẫn yêu cầu cả hai giá trị đã được phân giải.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
On Android and iOS — the only platforms where deep linking applies — flet build never reads the common [tool.flet.deep_linking] table. A project that configures deep linking once:
[tool.flet.deep_linking]
scheme = "https"
host = "app.example.com"
gets no deep-linking entries in the Android manifest or iOS Info.plist.
Cause
setup_template_data in flet_cli/commands/build_base.py (flet-1.1.0 @ ab1c5e43, lines ~1421–1439) picks exactly one source per platform:
deep_linking_scheme = (
self.get_pyproject("tool.flet.ios.deep_linking.scheme")
if self.package_platform == "iOS"
else (
self.get_pyproject("tool.flet.android.deep_linking.scheme")
if self.package_platform == "Android"
else self.get_pyproject("tool.flet.deep_linking.scheme")
)
)
(same for host). On iOS/Android there is no fallback to tool.flet.deep_linking.*; the common table is only read on desktop/web, where it has no effect.
Expected (per docs)
website/docs/publish/index.md → Deep linking documents this precedence:
--deep-linking-scheme/--deep-linking-host(only when both are provided)[tool.flet.<PLATFORM>.deep_linking](android or ios)[tool.flet.deep_linking]
i.e. the platform table should override, and the common table should be the fallback.
Proposal
Resolve per key with fallback, e.g. get_platform_setting("deep_linking.scheme") (platform, then common), keeping the "both scheme and host required" rule on the resolved pair. Add a test for: common only, platform only, platform overriding common.
- Ngôn ngữ chính
- Python
- Star
- 17.4k
- Fork
- 728
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 51
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flet-dev/flet
-
feature: python 3.15 supportĐang mởfeature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
flet-dev/flet#6985 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: [packaging] editing requirements.txt does not trigger pip reinstall (stale hash), produces APK with missing/empty site-packagesCó thể đã có người làm @ndonkoHenri đã nhận 1 ngày trước. Đang mởbug
flet-dev/flet#6994 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: `flet test` on freshly created project fails on Windows with an empty windowCó thể đã có người làm @ndonkoHenri đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
flet-dev/flet#6993 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của flet-dev/flet
Issue tương tự
-
Project submission:Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slavakurilyak/awesome-ai-agents#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directoryCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdifficulty:2 enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
MakazhanAlpamys/Soup#2178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-valuesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
scverse/rapids-singlecell#854 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGLCó thể đã có người làm @ninglinLiu đã nhận hôm nay. Đang mởarea:frontend backend:slang bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
random_elements(unique=True) on an OrderedDict: ZeroDivisionError once only zero weights remain, AssertionError with use_weighting=FalseCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 13 ngày