Google app invites on iOS deep link only opens app store - ios

I am working on adding Google App Invites deep linking to an iOS app and I followed all the steps for Adding App invites to iOS but the deep link just opens the app store to my app page even if the app is installed.
To recap, I...
Installed the Cocoapod
Generated and added the config file using the appropriate app store ID and bundle ID
Included the code for application:openURL:... and didFinishLaunchingWithOptions:
Added the URL Scheme for google and inputted the REVERSED_CLIENT_ID
I'm not sure how to debug this considering I did all that Google told me to do. Their only help link on the Google Developers site was to Stack Overflow. Has anyone tried implementing these deep links on iOS and succeeded?
EDIT: This was done using iOS 8.x. #Caio pointed out the problem still persists on iOS 9 but not on iOS 7.x.

We need to set the value "applinks:{your_app_link}.app.goo.gl" to Associated Domains on Capabilities tab of Xcode.

Related

flutter ios dynamic link always opening appstore, i have associated domain set to applinks:XXXX.XXX correctly,

I'm working on a flutter project ios app and implementing firebase dynamic links.
I've followed all steps, but now is working. My app always opening to app store, it first opens safari and then app store even when the app is installed.
If someone has a solution to this please help me out, its 3 days now on the same thing and I have not cracked it
I have associated domain set to applinks:domain.page.link
I have even deleted the ios folder and re-created it again
I have a URL scheme set to my bundle id
I have followed all steps but still, my apps open.

How to directly go to App Store with Firebase dynamic link in iOS?

Using Firebase dynamic link in the iOS App. It's working when app is installed, but if the app is not installed it going to the App Store but showing a another page before going to the App Store.
Please check below image.
Those are app preview pages: https://firebase.google.com/docs/dynamic-links/link-previews#app_preview_pages
These allow for deep linking after install, and avoid some issues with jumping straight to the app store. You can customise them by providing metadata in your link, or disable them by using the parameter efr=1.
I had the same issue , i found it was because i didn't add the app store id you should add IOS parameters in this format
.setIosParameters(
new DynamicLink.IosParameters.Builder("com.example.ios")
.setAppStoreId("123456789")
.setMinimumVersion("1.0.1")
.build())
I was facing the same issue. It was because I had wrong app Id in the Firebase project settings. Open button started work correctly when I set correct App store Id.

Firebase dynamicLinks: Do i need an app on the store for my link to work correctly?

I created a dynamic link on firebase dynamics like in their tutorial here
https://firebase.google.com/docs/dynamic-links/ios/receive
using an app ID (WhatsApp) which is not mine because not yet on App Store.
When i click on it (in Notes or Mail), it goes to Safari and ask if i want to open WhatsApp in AppStore.
When i come back to my app, i don't receive any link.
Do i need to publish my app to the appstore before it works?
You do not need to publish your App in AppStore in order to test the Firebase Dynamic Links.
Did you followed steps here https://firebase.google.com/docs/dynamic-links/ios/receive regarding Set up Firebase and the Dynamic Links SDK and Open Dynamic Links in your app?
Is your App receiving any link in UIApplicationDelegate's openURL: method? Can you reproduce the issue with quick-start App https://github.com/firebase/quickstart-ios/tree/master/dynamiclinks ?

Firebase iOS is not opening my app from Safari

I tested the dynamic links Firebase. Configured everything in the project, the implementation did exactly like the Google documentation and created links on the console. When I test in Safari it does not open the application.
Thank you
iOS 9+
Due to the limitations on the iOS platform, Firebase Dynamic Links must rely on Apple's Universal Link system to open the app directly from a link when it is installed. One of the constraints placed on Universal Links is that the app-open behavior is only triggered from a user's click and not by a redirect or copy/paste into Safari.
We have found it very challenging to test Universal Links in the simulator and pretty much always use a real device for this type of thing. Basic steps: install app > SMS link to your test device > click link > observe app open.
iOS 8 and prior
iOS versions prior to 9 handle opening the app from a Dynamic Link through Safari, so if the app is not opening when you copy/paste the link into Safari then some setup is incomplete. Please review your Firebase project for information and confirm that your bundle IDs/custom schemes match on the project page, in your link, and in your app; be sure that the bundle ID is listed in URL Types in your Xcode project setup along with any custom scheme you wish to use.
Other Info
Here is a link to a prior answer that may be helpful as well.
Firebase dynamic link not opening the app iOS

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

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?

Resources