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?
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?