This is a React Native SDK that allows you to detect if certain apps are installed on the user's device. It checks a predefined list of apps by their custom URL schemes and sends the details to a backend server when a match is found.
For the SDK to detect certain installed apps on iOS, you need to add their custom URL schemes to the Info.plist
file.
Steps:
-
Open
ios/YourProjectName/Info.plist
in Xcode. -
Add the following key to allow your app to check for the presence of specific apps:
<key>LSApplicationQueriesSchemes</key> <array> <string>fb</string> <string>instagram</string> <string>whatsapp</string> <!-- Add more schemes for other apps you want to check --> </array>