You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are deep links?
Deep Links are the links that open a certain screen in an application, when clicked.
How do implement these in our application?
In order to setup deep links, we need to setup things separately for Android & iOS.
Why? Both these platforms have their own way of doing this. Even the Flutter community suggests us to do the same. Besides, they are the best and the most secure way to setup deep links.
It is also recommended that we use Router for navigation but named routes are also fine.
Once we have all the screens ready and the routes set-up, we can just move on to the platform specific set-up procedure.
In case you're wondering how a deep link would look like, here is how it would look like:
For Android
In Android, we use the Android App Links to handle Deep Links
Configure the Android Manifest for the application to work with the Android App Links
In order to be able to use links like the one shown above, we need to publish an assetlinks.json file on the same domain, as our links.
To host the links on the same domain, we can just put the assetlinks.json file inside our Flutter application's web directory and host the web application through our domain. And, if the user is using Flutter web, they will be taken to the same destination on the web.
Generate Deep Links for each event to share on the community.dev platform.
The text was updated successfully, but these errors were encountered: