Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions action-sheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The Action Sheet API provides access to native Action Sheets, which come up from
## Install

```bash
npm install @capacitor/action-sheet
npm install @capacitor/action-sheet@latest-7
npx cap sync
```

Expand Down Expand Up @@ -50,9 +50,9 @@ const showActions = async () => {

<docgen-index>

* [`showActions(...)`](#showactions)
* [Interfaces](#interfaces)
* [Enums](#enums)
- [`showActions(...)`](#showactions)
- [Interfaces](#interfaces)
- [Enums](#enums)

</docgen-index>

Expand All @@ -76,19 +76,16 @@ to select.

**Since:** 1.0.0

--------------------

---

### Interfaces


#### ShowActionsResult

| Prop | Type | Description | Since |
| ----------- | ------------------- | -------------------------------------------- | ----- |
| **`index`** | <code>number</code> | The index of the clicked option (Zero-based) | 1.0.0 |


#### ShowActionsOptions

| Prop | Type | Description | Since |
Expand All @@ -97,7 +94,6 @@ to select.
| **`message`** | <code>string</code> | A message to show under the title. This option is only supported on iOS. | 1.0.0 |
| **`options`** | <code>ActionSheetButton[]</code> | Options the user can choose from. | 1.0.0 |


#### ActionSheetButton

| Prop | Type | Description | Since |
Expand All @@ -106,10 +102,8 @@ to select.
| **`style`** | <code><a href="#actionsheetbuttonstyle">ActionSheetButtonStyle</a></code> | The style of the option This option is only supported on iOS. | 1.0.0 |
| **`icon`** | <code>string</code> | Icon for the option (ionicon naming convention) This option is only supported on Web. | 1.0.0 |


### Enums


#### ActionSheetButtonStyle

| Members | Value | Description | Since |
Expand Down
19 changes: 7 additions & 12 deletions app-launcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ On Android you can open apps if you know their url scheme or use their public pa
**Note:** On [Android 11](https://developer.android.com/about/versions/11/privacy/package-visibility) and newer you have to add the app package names you want to query in the `AndroidManifest.xml` inside the `queries` tag.

Example:

```xml
<queries>
<package android:name="com.getcapacitor.myapp" />
Expand All @@ -18,7 +19,7 @@ Example:
## Install

```bash
npm install @capacitor/app-launcher
npm install @capacitor/app-launcher@latest-7
npx cap sync
```

Expand All @@ -42,9 +43,9 @@ const openPortfolioPage = async () => {

<docgen-index>

* [`canOpenUrl(...)`](#canopenurl)
* [`openUrl(...)`](#openurl)
* [Interfaces](#interfaces)
- [`canOpenUrl(...)`](#canopenurl)
- [`openUrl(...)`](#openurl)
- [Interfaces](#interfaces)

</docgen-index>

Expand Down Expand Up @@ -76,8 +77,7 @@ appropriate app is installed. To learn more about the key, see

**Since:** 1.0.0

--------------------

---

### openUrl(...)

Expand All @@ -97,33 +97,28 @@ On Android the URL can be a known URLScheme or an app package name.

**Since:** 1.0.0

--------------------

---

### Interfaces


#### CanOpenURLResult

| Prop | Type |
| ----------- | -------------------- |
| **`value`** | <code>boolean</code> |


#### CanOpenURLOptions

| Prop | Type |
| --------- | ------------------- |
| **`url`** | <code>string</code> |


#### OpenURLResult

| Prop | Type |
| --------------- | -------------------- |
| **`completed`** | <code>boolean</code> |


#### OpenURLOptions

| Prop | Type |
Expand Down
Loading
Loading