Closed flowhorn closed 1 month ago
Yeah, this would be a breaking change on supabase_flutter for anyone using it with app_links, so we would wait until the next breaking change to introduce this update.
Maybe we can explore handling deep links without app_links dependencies? https://docs.flutter.dev/ui/navigation/deep-linking
Can't we try to call the old methods with a try catch, and fallback to the new one? Definitely isn't the best way, but it should work.
@Vinzent03 I really don't think it's possible, but you have surprised me so many times in the past. Could you show me how that would work?
What kind of change does this PR introduce?
With app_links version 6.0.0 there are breaking changes in the app_links api (https://pub.dev/packages/app_links/changelog):
Breaking: Renamed getInitialApp* and getLatestApp* methods to getInitialLink* and getLatestLink*.
I adjusted this in the PR and bumped the app_links package to ^6.0.1
Additional context
I don't know whether you directly want to bump the app_links version, as there were multiple breaking version releases in the last 2 months. Just wanted to make this small PR as I personally bumped the version for myself.