Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm committed Jun 24, 2024
1 parent ba79264 commit cf2205a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/docs/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ interface PushyContext {

触发更新检查,更新`usePushy`中的`updateInfo`,返回值有三种情形:

1. `{expired: true}`:该应用原生包已过期(三种情况:1. 主动设置为过期状态,2. 主动删除,3. 从未上传),需要引导用户下载或跳转到应用市场(需要在网页管理端设置中填写`downloadUrl`)。
1. `{expired: true}`:该应用原生包已过期(三种情况:1. 主动设置为过期状态,2. 主动删除,3. 从未上传),需要引导用户下载或跳转到应用市场(需要在网页管理端设置中填写`downloadUrl`)。如需在应用内执行 apk 更新,还需配置[安装权限](/docs/api#async-function-downloadandinstallapkurl)

```js
{
Expand Down

0 comments on commit cf2205a

Please sign in to comment.