로딩중입니다
How to set Deeplink?
8/24/2016 6:11:55 PM

Guide to Deep Link Settings

This article will guide you through ways to set Deep Link in the app. Deep Link will land users to specific page in the app from web browser using "myapp://".


Android Deep Link Settings

Add 'inter-filter' below in AndroidManifest.xml file to set the Deep Link feature for Android App. 

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="YOUR_SCHEME_NAME_HERE" />
</intent-filter>


If you haven't decided the scheme value, you can use adbrix App Key instead.

Please refer to below example to edit AndroidMadifest.xml for using adbrix App Key instead of scheme value. (example adbrix App Key: 123456)

<activity android:label="@string/app_name" ...... >
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="adbrix123456"/>
    </intent-filter>
</activity>


Deep Link Test

You can check whether Deep Link you set is working in order by following below test process.

  1. Build and open the app you set Deep Link by following above guide. 
  2. Open the Window Command (Win+R key, enter 'cmd')
  3. Run 'db shell' 
  4. C:/>adb shell
    
  5. Enter adb command.  In case of using adbrix App Key, enter 'adbrix123456://' in [URI}.
  6. [명령어]
    am start -a android.intent.action.VIEW -d [URI] [PackageName]
    
    [예시]
    am start -a android.intent.action.VIEW -d "adbrix123456://" com.myapp.packageName


If the app is working in order during the test, Deep Link setting is successfully completed. 

Please refer to Google Developer Guide for detailed information for Deep Link Setting. 


iOS Deep Link Settings

Edit 'info.plist' file to set the Deep Link in the app for iOS App. 


  1. Please open 'Info Paner' at Xcode Project. 

  2. Add 'URL Schemes" at URL types. 
  3. If you haven't decided the scheme value, you can use adbrix App Key instead.
    Please refer to below example to use adbrix App Key (App Key: 123456)


Deep Link Test

You can check whether Deep Link you set is working in order by following below test process.

  1. Build and run the app you set Deep Link. 
  2. Open the app using Safari browser with the device that the app installed or with Emulator. 
  3. Enter the scheme value in the address bar. In case of using adbrix App Key, please enter 'adbrix123456://'

If the app is working in order during the test, Deep Link setting is successfully completed.