[英]Require install of second app in iOS
I have a 'core' app which performs some functions which are available to other apps via a URL call, eg core://get_result [as per this: http://x-callback-url.com/examples/ ] 我有一个“核心”应用程序,该应用程序执行一些功能,这些功能可以通过URL调用供其他应用程序使用,例如core:// get_result [按此: http ://x-callback-url.com/examples/]
I want to allow 3rd parties to develop by calling my core, or to produce more elaborate apps myself which call the core from within a wrapper. 我想允许第三方通过调用我的核心进行开发,或者自己制作更复杂的应用程序,这些应用程序从包装器中调用核心。 We have developed and tested this approach. 我们已经开发并测试了这种方法。
I want to use this approach because: 我要使用此方法,因为:
I am initially interested in iOS but a similar question will arise on Android (although possible via intents rather than the url scheme). 我最初对iOS感兴趣,但是在Android上也会出现类似的问题(尽管可以通过意图而非url方案)。
The downside of this seems to be that the user has to install BOTH apps to get the functionality. 不利的一面是,用户必须安装两个应用程序才能获得该功能。 is there a way of forcing the user to download the core app if they try to install a wrapper that uses it? 如果用户尝试安装使用该应用程序的包装程序,是否可以强迫用户下载该应用程序?
Another minor gripe might be that downloading only the core puts an icon on the phone - when really the user probably doesn't ever want to use the core directly. 另一个较小的困扰可能是仅下载内核会在电话上放置一个图标-当用户可能真的不想直接使用内核时。 Is there a way to hide it? 有隐藏的方法吗?
Yeah you can detect if your other URL handler is registered and if it isn't, you can prompt users to download that app. 是的,您可以检测您的其他URL处理程序是否已注册,如果尚未注册,则可以提示用户下载该应用程序。 No, you can not hide it. 不,您无法隐藏它。
I am not sure how Apple reviewers will feel about this though. 我不确定苹果评论家对此会有何看法。 You might want to check the TOS / Guidelines. 您可能要检查TOS /准则。 Also, you can register all the apps under the same suite. 另外,您可以在同一套件下注册所有应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.