ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Mastering Deep Linking in Flutter: A Comprehensive Guide for Android & iOS
ฝัง
- เผยแพร่เมื่อ 14 ส.ค. 2024
- Learn how to harness the power of deep linking in Flutter with our in-depth tutorial! In this video, we provide a step-by-step explanation and hands-on coding demonstration of implementing deep linking within your Flutter apps. Deep linking enhances user experience by seamlessly directing users to specific content or pages within your app. Whether you're a beginner or an experienced Flutter developer, our guide covers everything you need to know about integrating deep linking effectively. Watch now to gain a solid understanding and confidently implement deep linking in your next Flutter project! 🔗📱
Source code: github.com/Yas...
Key Topics:
Understanding the fundamentals of deep linking
Setting up deep linking in your Flutter project
Creating custom URL schemes and handling incoming links
Navigating to specific screens through deep links
Leveraging deep linking for enhanced user engagement
Unlock the potential of deep linking in Flutter and take your app to the next level.
Don't forget to like, subscribe, and hit the notification bell to stay updated on my latest Flutter tutorials and guides! 💡🚀
Timestamps:
0:00 - Intro
0:20 - Deep Linking Explanation
07:45 - Flutter code
10:19 - Android Configuration in AndroidManifest.xml
12:45 - Website Configuration in web server
15:20 - Testing in Emulator
18:24 - Testing in Physical Device
20:32 - Outro
About Me
I'm Yash Makan, a 19-year-old enthusiast hailing from Bangalore, India. My passion lies in crafting innovative creations and exploring the realm of technology. On this channel, you'll uncover a treasure trove of captivating ventures and captivating content spanning Flutter, Python, and the broader technological landscape. Beyond my role as a TH-camr, I extend my expertise as a freelancer, tech blogger, and educator. Join me on this exciting journey of discovery and empowerment!
Have any doubts?
- comment below!
- DM me on Twitter - @Yash_Makan
You can also follow me on Twitter for more insights related to technology.
Hey developers, I hope you enjoyed the video. If you do, make sure to hit the like button and subscribe my channel for more of this content.
Quick note: To get the sha1/sha256 code you can run below command in your terminal or cmd
WINDOWS: keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android (Replace USERPROFILE with your windows user name)
MAC: keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
If keytool is not recognized, make sure that Java is present in PATH environment.
Thanks for watching!
Hi, thanks for a very informative video.
I have a splash-screen in my app which restores user login. When I click the deep-link it is not going through my splash-screen (route name is /).
Instead it is directly going to the intended screen.
How to restore user login and then redirect to the deep link screen?
Hi Developer, I think you focused more on Android part. According to Apple documentation we need to add different json file on server and some additional configurations in xCode. Right?
Thanks, this is what i was looking for
Really great video, very well explained and easy to understand each step. Highly Appreciated 👏 keep it up
Thank you so much
Amazing, could you please help me with my situation: i want the button to launch another app inside my project in vscode, not an external app. Could you please help me with that. Thanks
bro its not auto verifying link when i published it to play store i need to manually verify link from app info plzz give solution of it my apps main function stuck at this
please do a configuration on iOS as well
i used this code but when i click link from whatsapp then it doesn't redirect to app its open in what's app web
Certainly the clearest and the most complete explaination about this complex subject.
Great video
Bro need one help how can we directly open our application using link basically i don't want to give choice for selection of browser
I want solution like TH-cam video link directly open TH-cam app not giving selection of app
it is also required a web configuration for ios and you are not providing it ._. of course wont work on ios
Hi Yash, I have a doubt if I want a dynamic path like if i want to pass a id or a parameter in url can i redirect that also to the Application if i have got a widget which shows a id
Hey Anurag, yeah so at 17:23 I mentioned about passing dynamic id as well so I hope that works for you. Basically we can use state.pathParameters['id'] to get the specific id and then you can pass that id to the screen and further call api and render widget accordingly.
Excellent 👌, just 1 question where am i supposed to get thre sha 256 code from, and should the backend developer handle creating the.links?
I have pinned my comment regarding accessing the sha256 code so you can check the pinned comment. Thanks for pointing it out as it will help others also if they are having the same issue.
@@YashMakan Thanks!
Great video man 👍
Thanks, glad the video turned out to bee helpful. Please subscribe and check out more videos on the channel!
Perfect, does it work on iOS too?
Thanks for watching and I am glad you liked the video. I haven't checked in iOS but most probably it should work as well. Just the host scheme we needed to add in info.plist like yashmakan.co.in(any website host here)
only if you have enrolled to Apple Developer Program.
What happen if you don't have app/ don't installed before ?
if the app isn't installed in device then it will only give options to open the url with the available browser like chrome etc and if app is installed then the app will appear in the dialogue which can be picked to open the url in app. Please subscribe the channel if you found the content helpful as it'll just make my day. Anyways, thanks for watching the video.
@@YashMakan yeah it opens the link, but the link directs to app store or Google play market ? By the way, Thanks for your answer and doing contents like these.
@@shahmirzali_huseynov it'll actually open the website so in the video, I've linked the app with mine website yashmakan.co.in so it'll open the website link only and not any store.
@@YashMakan You didn't think about implementing redirect to app markets if app not installed ?
@@shahmirzali_huseynov yea that can be achieved as well in the website so for example you can create a url myfakewebsite.com/app. Now whenever user visits the url you can redirect to playstore or app store separately using js. If app is installed then it'll just open the app.
why it is not working on android 13
Need domain verification if android higher than 12
@@jamshedkhan5665 how we can do it?
@@jamshedkhan5665and how we will do the verification domain?