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

Issues with Flutter Connection sample #26910

Closed
2 tasks done
MananGandhi1810 opened this issue May 31, 2024 · 1 comment · Fixed by #26939
Closed
2 tasks done

Issues with Flutter Connection sample #26910

MananGandhi1810 opened this issue May 31, 2024 · 1 comment · Fixed by #26939
Labels
bug Something isn't working frontend Related to supabase dashboard good first issue Good for newcomers help wanted Extra attention is needed pr-opened A PR has been opened to resolve the issue

Comments

@MananGandhi1810
Copy link

Bug report

When we try to get the sample code for connecting to supabase from Flutter app, the code sample is not readable, and the parameters to be pass, i.e. url and anonKey are not wrapped inside quotes (not marked as strings), causing them to cause syntax errors.
image

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The sample connection code is not properly formatted, and contains syntax errors.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Create a new Supabase project
  2. Click on Connect Button on Project Home
  3. Go to Mobile Frameworks tab
  4. Select Flutter Framework

Expected behavior

The code should be formatted, and must contain string quotes for initialization of connection.

Screenshots

image

System information

  • OS: [e.g. macOS, Windows]: MacOS
  • Browser (if applies) [e.g. chrome, safari]: Brave
@MananGandhi1810 MananGandhi1810 added the bug Something isn't working label May 31, 2024
@encima encima added help wanted Extra attention is needed good first issue Good for newcomers frontend Related to supabase dashboard labels May 31, 2024
@MlNl-PEKKA
Copy link
Contributor

Hey guys, I've raised a PR which resolves this issue.
PR #26939

@Hallidayo Hallidayo added the pr-opened A PR has been opened to resolve the issue label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Related to supabase dashboard good first issue Good for newcomers help wanted Extra attention is needed pr-opened A PR has been opened to resolve the issue
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants