Check app is installed or not in ios device with bundle id

hi friends

i need some help

when i open unity app in ios device at that time i want to check if the bundle id “” is already installed in my device or not, how can i check that for ios app

thanks in advance

For future reference. On Android you can run this code directly from c#


//your code if facebook was found


private bool checkPackageAppIsPresent(string package)
	AndroidJavaClass up = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
	AndroidJavaObject ca = up.GetStatic<AndroidJavaObject>("currentActivity");
	AndroidJavaObject packageManager = ca.Call<AndroidJavaObject>("getPackageManager");

	//take the list of all packages on the device
	AndroidJavaObject appList = packageManager.Call<AndroidJavaObject>("getInstalledPackages", 0);
	int num = appList.Call<int>("size");
	for (int i = 0; i < num; i++)
		AndroidJavaObject appInfo = appList.Call<AndroidJavaObject>("get", i);
		string packageNew = appInfo.Get<string>("packageName");
		if (packageNew.CompareTo(package) == 0)
			return true;
	return false;

There is no direct way to do it for Ios or Android. You have to write native function . It is explained here better.


Etcectra Plugin has a method applicationCanOpenUrl which you can use .