
[英]How to detect whether my app is installed in other user's device or not, via sharing the app link in whatsapp?
[英]iOS / Windows Store App: can I know whether my other app installed on this device/user account?
我有几个应用程序,我想从应用程序A中了解是否安装了应用程序B或C。 在Android中,我可以检查软件包是否存在,但是iOS和Windows Store应用程序中是否有类似的东西? 我正在使用Xamarin for iOS。
对于iOS,您可以让您的应用确认唯一的URL方案并检查是否可以打开它们。
参考文献:
URL方案-https: //www.appcoda.com/working-url-schemes-ios/
可以打开网址-https: //developer.xamarin.com/api/member/UIKit.UIApplication.CanOpenUrl/p/Foundation.NSUrl/
您可以使用系统钥匙串实现此目的。 系统钥匙串中的值可以在应用程序集合之间共享,并且您可以在此应用程序isAppBExists
和isAppCExists
类的值设置为true / false。 然后在应用程序A中检查此值
对于UWP应用,可以使用PackageManager.FindPackagesForUser方法查找为指定用户安装的所有软件包。
请参阅以下类似主题:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.