Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep Link for posting on community.dev #18

Open
2 of 3 tasks
CharanMN7 opened this issue Oct 6, 2023 · 1 comment
Open
2 of 3 tasks

Deep Link for posting on community.dev #18

CharanMN7 opened this issue Oct 6, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@CharanMN7
Copy link

CharanMN7 commented Oct 6, 2023

Generate Deep Links for each event to share on the community.dev platform.

  • Figure out how to do this
  • For Android
  • For iOS
@sampathbalivada sampathbalivada added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 6, 2023
@CharanMN7
Copy link
Author

Deep Links: Primer

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:
image

For Android

In Android, we use the Android App Links to handle Deep Links

  1. Configure the Android Manifest for the application to work with the Android App Links
  2. 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.

For iOS

coming soon...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants