Issues with Flutter Connection sample #26910
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
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](https://private-user-images.githubusercontent.com/67302570/335453142-4a0028e8-428b-4d54-b19d-0048dc99dad3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI2MDcxMzMsIm5iZiI6MTcyMjYwNjgzMywicGF0aCI6Ii82NzMwMjU3MC8zMzU0NTMxNDItNGEwMDI4ZTgtNDI4Yi00ZDU0LWIxOWQtMDA0OGRjOTlkYWQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAyVDEzNTM1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFjZjE3NWEwNmE2NTBlYTM0ODE2ZDMxNmI1MjliMDdmYzUwYzZiYzUzYzFjNDhmNTI0MDY1ZTk5YzQ3MDkxYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ApK4J4m9q1kxuc1tc7L_O1o4jcm72rJDuq1--vUpJIs)
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:
Expected behavior
The code should be formatted, and must contain string quotes for initialization of connection.
Screenshots
System information
The text was updated successfully, but these errors were encountered: