Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 220.127.116.11 release ready!
Owner and Founder. Opencart
In this article, we will discuss about deep linking in flutter via flutter_share plugin which provides you a web link that point you to a specific screen of an application which is already installed in your phone. These web browser links can help you navigate to any specific with required data like any news feed, post or promo codes etc.For an example if somebody want to share a facebook post then a url is shared with the other user and if that user clicks on it, it navigates to that specific facebook post. You may also send any data using query parameters with this url.
Create a new flutter project and add latest version of flutter_share plugin under dependencies in pubspec.yaml file of your project as following example and run flutter pub get run command to install this package in your project.
Add following line in your class to import the package.
Add following code into your MainActivity class in Android folder.
2. iOS: Add if not exists one row to the ios/podfile after target runner in iOS folder
Add following code in your App deligate class into iOS folder.
You can use following code to perform share functionality.
In this article, we have learned about deep linking in flutter with flutter_share plugin.Thanks for reading this article, for more such techie posts please visit our mobikul blog site .Happy Coding 🙂
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.