llfbandit / app_links

Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler for Flutter.
https://pub.dev/packages/app_links
Apache License 2.0
220 stars 81 forks source link

Couldn't get my query params from url on IOS side. #137

Closed Abdusamad98 closed 4 months ago

Abdusamad98 commented 4 months ago

I have implemented App Links for both Android and IOS. Android side is working fine. But when it comes to ios I could not get my query params.

In my apple-app-site-association file I wrote this lines of json

{ "applinks": { "details": [ { "appIDs": [ "TEAM_ID_1.pro.example.app", "TEAM_ID_1.pro.example.app", ], "components": [ { "?": "page=?*" } ] } ] } }

In my url I am pressing this URL "https://app.exampl.pro?page=history". When I press the link in Android device I can get the query params. For IOS side I can't.

I read the instructions and implemented as it described

llfbandit commented 4 months ago

Your association file (AASA) feels wrong.

Here are few resources to help you. https://developer.apple.com/documentation/xcode/supporting-associated-domains#Add-the-associated-domain-file-to-your-website

https://developer.apple.com/documentation/technotes/tn3155-debugging-universal-links

Closing this because not related to the package.