I've managed to set up a deep link on Flutter for my app (currently only on android), here is the intent filter in the AndroidManifest.xml file to set up the deep link (using example host name and prefix):
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="example.com" android:pathPrefix="/prefix"/>
</intent-filter>
This works, whenever I access http://example.com/prefix on my phone, it suggests to open my app.
Now, I want to be able to pass in parameters to the deep link, maybe a URL parameter like http://example.com/prefix?code=abc123. So I can read it from my Flutter app like getParam('code')
returns abc123
for example.
Is this possible?