유니버설 링크 & 앱 링크
웹에서 안드로이드나, IOS 앱을 실행 시킬 수 있는 방법
이거 말고도딥 링크
라는 방법도 있음
IOS (유니버설 링크)
<a href="https://example.com/open-app?userId=12345">Open App</a>
https://example.com
: 이게 앱 경로userId=12345
: 데이터 전달- IOS 에서는 HTTPS 가 필수임
- Associated Domains 설정 필요
안드로이드 (앱 링크)
<a href="intent://open?userId=12345#Intent;scheme=myapp;package=com.example.myapp;end">Open App</a>
intent://
: 안드로이드 앱 실행용 스킴scheme=myapp
: 앱에 스킴(이름)package
: 앱에 패키지 명userId=12345
: intent 에 값 전달getIntent().getData()
로 사용가능
- Digital Asset Links 설정 필요