[Android] Implement DeepLinking using HOKO

First of all, what's mobile deep link and when do I need it?

From wikipedia : In the context of mobile appsdeep 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 isn't already installed. Depending on the mobile device platform, the URI required to trigger the app may be different.

To put it simply, mobile deep linking is this : you click an url - and it will take you to specific screen on your app.

When do you need it? When you want to provide shortcut for your mobile application's navigation through shareable url.

How do you achieve deep linking in your app? Well, there are several ways : you can implement it using given Android SDK features - or through third party. Since third party library offers benefits such as easy setup, deferred deep link, dashboard, etc - we decided to go with HOKO (after several considerations & comparisons).

So here we go :

  1. Setup is quite tricky. They have a walkthrough for quick setup - but you need to revisit the doc to ensure that all things are properly set-up. In my case, I get the wrong access token. After reading the docs and change the token with the correct value, it works properly.
  2. Documentation is good. The steps are quite clear. We have no problem understanding a simple usage of the SDK. We haven't touch a deeper integration though.

To install the SDK, just follow some steps in this link https://support.hokolinks.com/quickstart/android/ - and to receive the deeplink action, implement route mapping(s) described on this guide https://support.hokolinks.com/android/android-deeplinking/

That's it! I'm done. Quick and mostly painless.

Feel free to visit https://hokolinks.com and try it on your own!


Cheers!

Btw, Flipbox is Hiring!

要查看或添加评论,请登录

Bukhori Aqid的更多文章

  • Anti-Pattern: How obvious are they?

    Anti-Pattern: How obvious are they?

    For the past year, I've been involved in the development of a large java server-side monolith that slowly morphed into…

    7 条评论
  • Flipbox's contributions to Web Technology

    Flipbox's contributions to Web Technology

    We love to use open source libraries, so we thought it's a must to contribute whatever we can for the communities, and…

  • [Android] Handling screen state using Sosoito

    [Android] Handling screen state using Sosoito

    Prologue : How many times that you, as an Android developer initiate a progress dialog for asynchronous operation (…

  • Using Katalon Studio for Automated Testing Creation

    Using Katalon Studio for Automated Testing Creation

    Prologue : Since last year, we've been using several tools for automated testing ( Postman Test Runner, Selenium IDE…

  • Progressive Web App with VueJS

    Progressive Web App with VueJS

    Prologue : We use VueJS as our main frontend framework ( starting from late 2016 ). Previously we use AngularJS or good…

  • Tinkering with RxJava retryWhen()

    Tinkering with RxJava retryWhen()

    Prologue : We have been working on a project that heavily rely on synchronization services, since all of the…

  • Kickstart your Android Development!

    Kickstart your Android Development!

    At my early days as Android Developer, I love finding different methods to speed up my Android development process. Due…

  • [Android] DataBinding Library + Espresso : IllegalAccessError

    [Android] DataBinding Library + Espresso : IllegalAccessError

    Problem : When creating espresso test for our new project using Data Binding Library, we keep on encountering…

    1 条评论
  • [Android] Missing ViewPager after resuming Fragment

    [Android] Missing ViewPager after resuming Fragment

    Problem : When returning back from other activity / fragment, a viewpager inside the current fragment is not resumed…

    7 条评论
  • Test your API using Postman Test Script

    Test your API using Postman Test Script

    Prologue : Having a different set of web developers in Flipbox sometimes resulting in different style and structure of…

社区洞察

其他会员也浏览了