How to launch an other screen than the main one after receiving a sharing intent in Flutter?

Viewed 182

I've been trying to solve this but haven't succeeded yet.

I am planning a mobile application in flutter. The main function of this app is to get a link from a different source/application and save it to my database. The problem is that when I receive a shared intent I want to open a new screen (not my main screen) where I'd complete the database process. Right now, it's not working as I want it to and it is redirecting to the main screen.

I am using the receive_sharing_intent library for getting the links from outsources.

I don't know what to do next since that feature (redirecting to a different screen) is vital for my application.

0 Answers
Related