I have a requirement where I need to check whether either of two applications exist in iPhone device. Both the apps are live on Appstore. I am coding in react native and Ia m new to it. I have LSApplicationQueriesSchemes in my info.Plist and added URL types, where URL identifier is my Bundle Identifier and URLScheme is same as LSApplicationQueriesSchemes. Example- CRM_EDGE.app, UpperMOSt.app. I have tried renaming the URL Scheme. None works.
Sites I have gone through: https://www.reddit.com/r/reactnative/comments/5msem6/how_to_get_list_of_installed_applications/ How can i check app installed in react native code check if google maps app is installed in react-native iOS
I tried two libraries for executing this.
- react-native-check-app-install
Problem -- Applist.js returns hard coded values and after uninstalling it still returns isInstalled 'true'
https://www.npmjs.com/package/react-native-check-app-install
- react-native-installed-apps
Problem -- The developer who developed this, didnt checked on device, so works in simulator not on device. And the issue is still open.
Please suggest what to do to get proper Applist so that I can check if the required apps exist on device.