Skip to content

chore(app-availability): update readme #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2023
Merged
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
17 changes: 17 additions & 0 deletions packages/appavailability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,23 @@ For example, to query for `twitter://`, `whatsapp://` and `fb://`, edit `app/App
</array>
```

## Android Query Permission

Starting from Android API level 30 (Android 11), you must explicitly declare your app's intent to interact with other apps in the Android manifest file `AndroidManifest.xml`.

```xml
<manifest>
<queries>
<package android:name="com.whatsapp" />
</queries>

<application ...>
</application>
</manifest>
```

Replace `com.whatsapp` with the package name of the app you want to interact with.

## API

| Methods| Return Type| Description|
Expand Down