How to check if app is installed or not in device

I want to check if some rogue apps(from the list received from back-end service) are installed or not on device. I know we can use this canOpenUrl for this. But in this case we need to make an entry in info.plist as well.

My rogue application list can be dynamic so I want to handle this scenario. I don't want to do entry in info.plist file each time if my rogue application list changes from the back-end.

Can anyone please suggest how I can achieve this?

Answered by Scott J in 688165022

You can't achieve that. The limitation imposed by this Info.plist design is to prevent apps from doing exactly what you are trying to do. For this you can thank certain rogue apps (of a different kind) that figured out years ago that they could survey installed apps to help feed their targeted advertising algorithms. That was a user privacy failure so Apple fixed it.

Accepted Answer

You can't achieve that. The limitation imposed by this Info.plist design is to prevent apps from doing exactly what you are trying to do. For this you can thank certain rogue apps (of a different kind) that figured out years ago that they could survey installed apps to help feed their targeted advertising algorithms. That was a user privacy failure so Apple fixed it.

How to check if app is installed or not in device
 
 
Q