آموزش جاوا و اندروید

یادداشت های یک برنامه نویس معمولی

آموزش جاوا و اندروید

یادداشت های یک برنامه نویس معمولی

طبقه بندی موضوعی

۱ مطلب در آذر ۱۴۰۴ ثبت شده است

Types of Deep Linking in Android

1. Classic deep links (Traditional Deep Linking):

- The app registers a custom scheme (e.g., myapp://)
- When a URL with this scheme is clicked, Android automatically opens the app
- ❌ Not secure - anyone can use your scheme
- ⚠️ Multiple apps can register same scheme; user chooses
- ❌ No domain verification
- Shows "Open with..." dialog if multiple apps handle it


2- App Links (Verified):

- Adding <intent-filter> with android:autoVerify="true" in the manifest
- Links like https://www.example.com/…
- The system directly opens your app without asking which app to use
- ✅ Highly secure - domain ownership verified
- ✅ Verification via assetlinks.json on your web server



 

۰ نظر موافقین ۰ مخالفین ۰ ۰۵ آذر ۰۴ ، ۱۴:۱۴
میم دال