UNPKG

ios-similar-app-check

Version:

React Native SDK to detect similar installed apps using native iOS module.

22 lines (15 loc) 786 B
# React Native CheckApps SDK 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. ## iOS Setup For the SDK to detect certain installed apps on iOS, you need to add their custom URL schemes to the `Info.plist` file. **Steps:** 1. Open `ios/YourProjectName/Info.plist` in Xcode. 2. Add the following key to allow your app to check for the presence of specific apps: ```xml <key>LSApplicationQueriesSchemes</key> <array> <string>fb</string> <string>instagram</string> <string>whatsapp</string> <!-- Add more schemes for other apps you want to check --> </array>