Skip to content

Commit 5a581fb

Browse files
committed
Update README files to clarify compatibility issues with older versions of app_links and tray_manager, and provide updated instructions for resolving these issues by specifying a minimum version requirement for app_links. Remove references to a forked version and emphasize the use of version 6.3.3 or higher.
1 parent 369fd8d commit 5a581fb

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

README-ZH.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,17 @@
5151

5252
### 与 app_links 不兼容
5353

54-
当同时使用 `app_links` 包和 `tray_manager` 时,你可能会发现插件无法正常工作。这是因为 `app_links` 在内部阻止了事件传播,导致菜单点击事件无法触发。
54+
当同时使用 `app_links` 包和 `tray_manager` 时,可能会出现插件无法正常工作。这是因为低版本 `app_links` 在内部阻止了事件传播,导致菜单点击事件无法触发。
5555

5656
要解决此问题:
5757

58-
1. 使用我的 `app_links` 包分支版本,等待我的 PR 被合并: https://github.com/llfbandit/app_links/pull/179
58+
1. 确保你的 `app_links` 包版本大于或等于 6.3.3
5959

6060
```yaml
6161
dependencies:
62-
app_links:
63-
git:
64-
url: https://github.com/lijy91/app_links.git
62+
app_links: ^6.3.3
6563
```
6664
67-
> 注意:这是一个临时解决方案,一旦我的 PR 被合并,我将移除这个仓库。
68-
6965
2. 使用 [protocol_handler](https://github.com/leanflutter/protocol_handler) 包代替 `app_links` 包。
7066

7167
## 快速开始

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,17 @@ English | [简体中文](./README-ZH.md)
5151

5252
### Not Working with app_links
5353

54-
When using `app_links` package alongside `tray_manager`, you may find that plugin does not work properly. This is because `app_links` internally blocks event propagation, preventing menu click events from being triggered.
54+
When using the `app_links` package together with `tray_manager`, the plugin may not work properly. This is because older versions of `app_links` internally block event propagation, preventing menu click events from being triggered.
5555

5656
To resolve this issue:
5757

58-
1. Use my forked version of `app_links` package and wait for my PR to be merged: https://github.com/llfbandit/app_links/pull/179
58+
1. Make sure your `app_links` package version is greater than or equal to 6.3.3
5959

6060
```yaml
6161
dependencies:
62-
app_links:
63-
git:
64-
url: https://github.com/lijy91/app_links.git
62+
app_links: ^6.3.3
6563
```
6664
67-
> Note: This is a temporary solution, and I will remove this repository once my PR is merged.
68-
6965
2. Use [protocol_handler](https://github.com/leanflutter/protocol_handler) package instead of `app_links` package.
7066

7167
## Quick Start

0 commit comments

Comments
 (0)