fix: update Deep Link query parameters and add tests #998
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a bug fix for handling query parameters in deep links within the
flutter_modular
package. It updates the version to6.3.4
and includes corresponding changes in the implementation and tests to ensure correctness.Bug Fix: Deep Link Query Parameters
flutter_modular/lib/src/presenter/navigation/modular_route_information_parser.dart
: Updated theparseRouteInformation
method inModularRouteInformationParser
to passrouteInformation.uri.queryParameters
as arguments to theselectBook
method.Documentation Update
flutter_modular/CHANGELOG.md
: Added a new entry for version6.3.4
, documenting the fix for deep link query parameters.Version Update
flutter_modular/pubspec.yaml
: Bumped the package version from6.3.3
to6.3.4
.Test Coverage
flutter_modular/test/src/presenter/navigation/modular_route_information_parser_test.dart
: Added a new test to verify thatparseRouteInformation
correctly callsselectBook
with the expected arguments, including query parameters.Checklist
fix:
,feat:
,docs:
etc).docs
and added dartdoc comments with///
.examples
.Breaking Change
Expected behavior

The correct Splash page will open, and the r.args.data must be filled with the deep link query parameters.
Related Issues
#999