简体   繁体   English

iOS / Windows Store应用程序:我可以知道我的其他应用程序是否已安装在此设备/用户帐户上吗?

[英]iOS / Windows Store App: can I know whether my other app installed on this device/user account?

I have several apps and I want to know from app A whether app B or C are installed. 我有几个应用程序,我想从应用程序A中了解是否安装了应用程序B或C。 In Android I can check does package exist, but is there something like this in iOS and windows store app? 在Android中,我可以检查软件包是否存在,但是iOS和Windows Store应用程序中是否有类似的东西? I'm using Xamarin for iOS. 我正在使用Xamarin for iOS。

For iOS you can get your apps to confirm unique URL schemes and check whether they can be opened. 对于iOS,您可以让您的应用确认唯一的URL方案并检查是否可以打开它们。

References: 参考文献:

URL schemes - https://www.appcoda.com/working-url-schemes-ios/ URL方案-https: //www.appcoda.com/working-url-schemes-ios/

Can open url - https://developer.xamarin.com/api/member/UIKit.UIApplication.CanOpenUrl/p/Foundation.NSUrl/ 可以打开网址-https: //developer.xamarin.com/api/member/UIKit.UIApplication.CanOpenUrl/p/Foundation.NSUrl/

You can use system Keychain to achieve this. 您可以使用系统钥匙串实现此目的。 Values in system Keychain can be shared between collection of apps and you can set values like isAppBExists and isAppCExists to true/false in this apps. 系统钥匙串中的值可以在应用程序集合之间共享,并且您可以在此应用程序isAppBExistsisAppCExists类的值设置为true / false。 And then check this values in app A 然后在应用程序A中检查此值

Link to documentation 链接到文档

For UWP app, you can use PackageManager.FindPackagesForUser Method to find all packages installed for the specified user. 对于UWP应用,可以使用PackageManager.FindPackagesForUser方法查找为指定用户安装的所有软件包。

See the following similar topic: 请参阅以下类似主题:

how to get list of all installed apps and run them in UWP WinRT 8.1 如何获取所有已安装应用程序的列表并在UWP WinRT 8.1中运行它们

Get List of installed windows apps 获取已安装的Windows应用程序的列表

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过共享whatsapp中的应用程序链接来检测我的应用程序是否已安装在其他用户的设备中? - How to detect whether my app is installed in other user's device or not, via sharing the app link in whatsapp? 我如何知道我的iOS应用程序是在设备上还是在其他设备上运行? - How can I know if my iOS App is running on my device or in any other? 我如何知道特定的应用程序是否已安装在用户设备上? - Ho do I get to know whether specific app is installed on user device? 我怎么知道用户是否在应用商店上对应用进行了评分 - How can i know whether the user has rated the app on app store or not 新安装的iOS Google应用如何在我第一次运行帐户时知道我的帐户? - How does a newly installed iOS Google app know about my account the first time I run it? 我可以知道我的应用程序从其下载的iOS App Store区域吗? - Can I know the region of iOS App Store that my app downloaded from? 我怎么知道应用是否被用户终止? - How can I know whether app is terminated by user? 我可以从我的 iTunesConnect 帐户下载我的 iOS App Store 图标吗? - Can I download my iOS App Store Icon from my iTunesConnect account? iOS App Store提交-我可以向Apple提交Facebook测试用户帐户信息吗 - iOS App store submission - Can I submit a facebook test user account information to apple 在我的iOS应用中,如何调用viewDidLoad时知道设备的方向? - In my iOS app, how can I know the device orientation when viewDidLoad is called?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM