How to Setup Deep Links With Capacitor (iOS & Android)

preview_player
Показать описание
In this video we set up deep links (also known as universal links or app links) within our Ionic app using Capacitor!

#############################

👨‍💻 Want to read instead of watch?

😱 NEW: Capacitor Crash Course!

⚡️Take my famous 7 Day Ionic Crash Course

🤷‍♂️Want more Ionic tutorials?

#############################

❤️You can also find me...

Or join our Facebook group:

#############################

00:00 Intro
01:27 Ionic Deeplink Setup
06:19 iOS Universal Link Setup
12:56 Android App Link Setup
24:26 Outro
Рекомендации по теме
Комментарии
Автор

Just want to put it out here, this tutorial works and is very helpful. Managed to get our android and ios apps working with deeplink! Thanks!

MaximaToluene
Автор

Hello Simon! Can you make a video on the "Ionic-React" Push notification? I feel a bit weird following the Ionic-Angular video while working with Ionic-React.

tanmayapatra
Автор

How can we add Deferred Deeplink? if user clicks and don't have app installed redirect them to appstore / playstore them after installation take them to clicked link content in app?

saq.ib
Автор

Thank you for this tutorial ! You are the best ionic tutor ever

behicsakar
Автор

Hi Simon, crucial question:

does this work consistenly on iOS today? I wasted a bunch of time for iOS a year ago and the blue OPEN button only showed up very incosistently... why?

quickmaths
Автор

Hey Simon! Thank you for the amazing content! 🙏🏼
This will also work with push notifications as well right for Ionic-Angular?
I guess I need to send the URL in the notification for the specific Route I want to open? So when a user receives a notification from my app in his system tray on his phone, upon tapping on that notification, the app should open for example on the notifications page of my app.

cornelcristianfilip
Автор

"Hello, it's working fine on Android versions up to 12, but on Android 13, I'm encountering an issue. When I navigate to Settings > Default Apps > Opening Links > My App, my domain isn't listed under verified links. However, when I attempt to manually add a link, it suggests my domain name. I'm looking to have my domain automatically added to the verified links list."

harishsankar
Автор

Thank you for the quick win as always.

CarlosSanchez-dpwv
Автор

Danke. Das ist eine Erleichterung. Ich brauch das nämlich für ein Projekt von mir 😀

Автор

Hi, I have a question: What if I have multiple apps, from the same team ID, that need to have deeplinks? Should I add them somewhere in this apple association file or should I create a new file for each one of them? Thanks and congratulations for the video...

thiagoprudencio
Автор

Hi Simon, I have one page or link that I would always like to open on the browser how do I exclude it from deep linking so that it doesn't take users to the app. I've tried to figure and think about this but no solutions. Tried to even listen on this link events and open it using an in app browser but the app crashes.

minenhledlamini
Автор

Hi Simon, is there a way to open the App directly upon opening the URL in the browser - without having to click the small button at the top?

PplusV
Автор

Great work Simon!! Could you please do a video on live reloading of Angular ionic/capacitor application on external android device connected through USB? Struggling with it . 'ionic capacitor run android -l --external' command isn't working for me, it's very irritating to build the whole app and install on device for every small change, hope you do a tutorial on it soon 🤞

dksanket
Автор

One quick question, if I just attach .well-known code to my app without all these capacitor code, the website will still show the deep-linking popup, right ? Or How to add multiple domains for deeplinking ?

noone
Автор

Hi Simon, Thanks for all your great videos, I owe my Ionic career to you.
Please I have a question on this deeplink, I am trying to build a 2nd version of an app with ionic/capacitor,
The previous dev used swift and java, and implemented the deep link, it works perfectly.

I have implemented all the steps in your video, using the existing AASA file formerly hosted on the root of the organisation's site but it's not working for me, even though it still works for the previous version. Specifically for iOS, I couldn't test for Android because of the SHA fingerprint thing.

I used the AASA validation site to check their site and found some errors, I have told the internal developers to fix the errors, but they are saying it shouldn’t be a problem because the previous one still works regardless.

So I am confused on the way forward.
Please any recommendations on way out for me?

ikenna
Автор

Firebase dynamic links next? Struggling to get dynamic short links working in iOS.

flonmackenzie
Автор

Hello Simon! I'm facing issue in android like everything I've setup according to your video but still if I write URL in my mobile browser then app run in browser but not open already installed app, Can you help me on this how i can open my app?

HitNataf
Автор

Hi,
this video is helpful
Trying to add deep link for android. when i click on domain URL(form text file or WhatsApp) its opening the App with selected route.
but not working when visiting the web.
When i visit the web it not opening installed app or not giving any option to open app like in IOS.

expected result: When i visit the web in android will open the app if install or any option to open page in android app as option coming in IOS safari

VijayKumar-eozg
Автор

Hello Simon. where can we setup the custom url scheme for the app?

alfisyahri
Автор

Hi, I have a question, which was sent via instagram, its about this topic of app links for android, (pictures included)

deanvangreunen