Retrieving a deep link when the app isn't installed (iOS)

风流意气都作罢 提交于 2019-12-12 10:37:10

问题


In the iOS docs for Google App Invites, under Receiving Invitations, it is suggested that a deep link can be retrieved on first launch if the app wasn't installed in advance:

If the user has not yet installed the app, the user can choose to install the app from the iTunes App Store. When the app opens for the first time, the App Invites SDK will supply a deeplink if one is available.

I've looked through the reference docs for GINInvite and GINReceivedInvite but I don't see any way to instantiate GINReceivedInvite outside of an application openURL call. Anybody know how to actually have the SDK retrieve the deep link in this scenario?


回答1:


What you are trying I will say is not the correct way. You have to check in Safari web browser if app is install or not. If not navigate to App store

You can find your solution in here How to check if an app is installed from a web-page on an iPhone?



来源:https://stackoverflow.com/questions/31857744/retrieving-a-deep-link-when-the-app-isnt-installed-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!