
Hello, I'm trying to use flutter web, so far I cannot make it work on my local machine. So, any help is really appreciated.
I'm trying to print all the documents on my collection. My code in flutter is:
testAppwrite() {
Client client = Client();
client
.setEndpoint('https://192.168.20.56/v1')
.setProject('smgc')
.setSelfSigned(status: true);
Account account = Account(client);
Future accResult = account.createEmailSession(
email: 'email@gmail.com',
password: 'admin123',
);
accResult.then((response) {
print("correct");
print(response);
}).catchError((error) {
print("error");
print(error.response);
});
// Databases databases = Databases(client);
// Future result = databases.listDocuments(
// databaseId: 'smgc_db_coexccol',
// collectionId: 'sensores',
// );
}
And Actually, Idk what to put by Package Name
, now I'm using *
. And did not understand what is that auth.html
file
BTW: Im getting this error on web console: Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
Please help me.

😦

You're getting a self signed certificate error. In the window that opens your flutter web app, would you please open https://192.168.20.56 and accept the self signed certificate? Then, you can refresh your flutter web app.

Awesome, it worked! Thank you @Steven

[SOLVED] Help getting started with Flutter Web
Recommended threads
- Google OAuth2 Login Gets Stuck in Redire...
I'm facing an issue with the Google OAuth2 login flow on my Flutter Android app using the Appwrite SDK. After a successful sign-in with Google, the browser ente...
- Facebook OAuth with Appwrite Cloud fails...
I’m integrating Facebook login in my Flutter app using Appwrite Cloud. Google OAuth works fine, but I’m stuck with Facebook. Here’s what happens: When I log i...
- Issues connecting my appwrite 1.7.4
Im trying to connect my app using the app-starter but all the pings are getting an error 500, Ive tried with windows / android and web all give the same 500 err...
