Coder Social home page Coder Social logo

deep_link's Introduction

deep_link

  1. 앱링크

사용할 도메인(서브도메인 포함)의 /.well-known/assetlinks.json에 파일을 등록해주어야 한다. Android Studio의 App Links Assistant에서 쉽게 처리할 수 있다.

  1. 딥링크 URI Scheme을 사용한 딥링크의 경우, manifest에 아래와 같은 형태로 정의한 이후에 사용할 수 있다.

그림1

이후 액티비티에서 intent.dataString으로 가져와서 url을 파싱할 수 있음. 어느 특정 액티비티에서 앱링크 / 딥링크의 url을 파싱해서 적절한 화면으로 넘겨주는 기능이 필요함.

  1. 구현 방식에 따른 차이

앱링크 https에 따른 앱링크 방식으로 구현할 경우, 삼성 인터넷에서 웹 페이지를 보다가 추가적으로 뜨는 버튼을 이용하여 웹 페이지로 바로 이동할 수가 있음. 카카오톡에서 링크를 눌렀을 때 기본적으로는 웹페이지로 이동하고 다른 앱에서 열기를 누르면 우리의 앱으로 이동함.

딥링크 -카카오톡에서 눌렀을 때 바로 이동 가능 -> 추후 만들어질 모바일 웹을 지원하는 그라운드 웹버전에는 앱링크를 달아놓고, 앱 간의 공유를 위한 url을 따로 둬서 앱이 존재하는 경우에는 url scheme(ground://~~)으로 넘기는 방식을 이용해야할 것 같음.

deep_link's People

Contributors

jiho1996 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.