Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test Deferred Deep Linking with AppsFlyer?

I'm integrating AppsFlyer with Android Native Application. And I want to use Deferred Deep Linking, when user click landing page ads and download the app and upon first app open the user lands directly on the activity I want.

Link docs: https://support.appsflyer.com/hc/en-us/articles/207032096-Deferred-Deep-Linking-Getting-the-Conversion-Data

But I have not found a way to check that my code is running correctly. Please help me with this problem

like image 296
Anh Vinh Huỳnh Avatar asked Jan 09 '19 07:01

Anh Vinh Huỳnh


People also ask

How do I check my deep link app?

By using Android Debug Bridge (ADB) shell commands one can test the deep link flow. It is used to verify if the link navigates to the correct section of your app. This command starts the ADB shell with the VIEW action and specifies the deep link URL to be tested.

What is the difference between deep linking and deferred deep linking?

In the context of mobile apps, deep linking consists of using a uniform resource identifier (URI) that links to a specific location within a mobile app rather than simply launching the app. Deferred deep linking allows users to deep link to content even if the app is not already installed.


1 Answers

What was working for me is:

  1. Add physical device as a test device in AppsFlyer (here's how to do it)
  2. Enable Debug Mode in AppDelegate.swift in didFinishLaunchingWithOptions

    AppsFlyerTracker.shared().isDebug = true

  3. Add AppsFlyer methods in your AppDelegate.swift (as per article)

  4. Remove app (or test build) from physical device

  5. Open Deep Link from physical device, you will be redirected to App Store. Don't install app from the App Store!!! (just close it)

  6. Install app via XCode

After it, on a first install it will call onConversionDataReceived method and the rest staff.

like image 133
Anton Eregin Avatar answered Nov 15 '22 07:11

Anton Eregin