Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

algolia_helper_flutter Error: No named parameter with the name 'maxFacetHits #1307

Open
Karthikn-n opened this issue Dec 12, 2024 · 0 comments
Labels
type: bug Issues that need priority attention. Things which are obviously broken and are reported as such.

Comments

@Karthikn-n
Copy link

Describe the bug
I followed the step to build the app locally using https://contribute.freecodecamp.org/how-to-setup-freecodecamp-mobile-app-locally/ but it throw the exception from algolia_helper_flutter package

To Reproduce
Steps to reproduce the behavior:

  1. flutter upgrade.
  2. Follow the step to run mobile-app locally https://contribute.freecodecamp.org/how-to-setup-freecodecamp-mobile-app-locally/.
  3. Run the project to your device or emulator.
  4. This will product the error as mentioned in additional context.

Smartphone (please complete the following information):

  • Device: [Samsung s20 FE]
  • OS: [Android 13]
  • Version [33]

Additional context
I just upgraded flutter to latest release 3.27.0
AppData/Local/Pub/Cache/hosted/pub.dev/algolia_helper_flutter-1.1.0/lib/src/service/algolia_client_extensions.dart:41:7: Error: No named parameter with the name 'maxFacetHits'.
maxFacetHits: maxFacetHits,
^^^^^^^^^^^^
/AppData/Local/Pub/Cache/hosted/pub.dev/algolia_client_search-1.27.3/lib/src/model/search_for_hits.dart:21:9: Context: Found this candidate, but the arguments don't match.
const SearchForHits({
^^^^^^^^^^^^^

@Karthikn-n Karthikn-n added the type: bug Issues that need priority attention. Things which are obviously broken and are reported as such. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issues that need priority attention. Things which are obviously broken and are reported as such.
Projects
None yet
Development

No branches or pull requests

1 participant