Config plugin
{ "expo": { "plugins": [ [ "expo-check-installed-apps", { "android": ["com.whatsapp"], "ios": ["whatsapp"] } ] ] }}Options
Section titled “Options”| Option | Type | Default | Description |
|---|---|---|---|
android |
string[] |
[] |
Package names to declare in AndroidManifest.xml. |
ios |
string[] |
[] |
URL schemes to declare in Info.plist. |
Both are optional. Leave one out if you only check apps on one platform.
What it changes
Section titled “What it changes”Android: in AndroidManifest.xml, it adds one <package android:name="…" /> per entry inside the first <queries> block, creating the block if needed. Names are trimmed and de-duplicated, and packages already listed aren’t added twice.
<queries> <package android:name="com.whatsapp" /></queries>iOS: in Info.plist, it merges the schemes into LSApplicationQueriesSchemes, keeping anything already there. Schemes are trimmed, ://… or a trailing : is removed, and duplicates are dropped.
<key>LSApplicationQueriesSchemes</key><array> <string>whatsapp</string></array>Errors during prebuild
Section titled “Errors during prebuild”Invalid iOS URL scheme: <value>: aniosentry is empty or not a valid scheme after trimming.AndroidManifest.xml is invalid or missing!: prebuild couldn’t read the Android manifest.