Skip to content

Commit 41f6d82

Browse files
authored
fix(cnwebsite): restore missing 0.85 doc assets (#1014)
* fix(cnwebsite): add missing static doc assets * fix(cndocs): close linking tabs markup
1 parent 1b9b452 commit 41f6d82

13 files changed

+15
-7
lines changed

cndocs/linking.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import con
1919

2020
正如在介绍中提到的,每个平台上都存在一些核心功能的 URL schemes。以下是一个非详尽的列表,但涵盖了最常用的方案。
2121

22-
| Scheme | 说明 | iOS | Android |
23-
| ---------------- | ------------------------------------------ | --- | ------- |
22+
| Scheme | 说明 | iOS | Android |
23+
| ---------------- | -------------------------------------------- | --- | ------- |
2424
| `mailto` | 打开 mail app, 例如: mailto: support@expo.io |||
2525
| `tel` | 打开 phone app, 例如: tel:+123456789 |||
2626
| `sms` | 打开 SMS app, 例如: sms:+123456789 |||
@@ -116,6 +116,9 @@ override func application(
116116

117117
:::
118118

119+
</TabItem>
120+
</Tabs>
121+
119122
### 处理 Deep Links
120123

121124
有两种方法来处理打开应用程序的 URL。
@@ -579,8 +582,8 @@ static canOpenURL(url: string): Promise<boolean>;
579582

580583
**参数:**
581584

582-
| 名称 | 类型 | 说明 |
583-
| -------------------------------------------------------- | ------ | ---------------- |
585+
| 名称 | 类型 | 说明 |
586+
| -------------------------------------------------------- | ------ | -------------- |
584587
| url <div className="label basic required">Required</div> | string | 要打开的 URL。 |
585588

586589
:::note
@@ -592,7 +595,7 @@ static canOpenURL(url: string): Promise<boolean>;
592595

593596
- 如果你的 app 链接了早期版本的 iOS 但运行在 iOS 9.0 或更高版本上,你可以调用此方法最多 50 次。达到该限制后,后续调用将始终解析为`false`。如果用户重新安装或升级 app,iOS 会重置该限制。
594597
- 从 iOS 9 开始,你的 app 还需要在`Info.plist`中提供`LSApplicationQueriesSchemes`键,否则`canOpenURL()`将始终解析为`false`
595-
:::
598+
:::
596599

597600
:::info
598601
当目标为 Android 11 (SDK 30) 时,你必须在`AndroidManifest.xml`中指定要处理的 scheme 的 intent。可以在[这里](https://developer.android.com/guide/components/intents-common)找到常见 intent 的列表。
@@ -656,8 +659,8 @@ The method returns a `Promise` object. If the user confirms the open dialog or t
656659

657660
**参数:**
658661

659-
| 名称 | 类型 | 说明 |
660-
| -------------------------------------------------------- | ------ | ---------------- |
662+
| 名称 | 类型 | 说明 |
663+
| -------------------------------------------------------- | ------ | -------------- |
661664
| url <div className="label basic required">Required</div> | string | 要打开的 URL。 |
662665

663666
:::note
24.1 KB
Loading
84.4 KB
Loading

cnwebsite/static/docs/assets/d_virtualview_modes.svg

Lines changed: 2 additions & 0 deletions
Loading
127 KB
Loading
4.22 MB
Loading
292 KB
Loading
241 KB
Loading
310 KB
Loading
1.94 MB
Loading

0 commit comments

Comments
 (0)