It is a simple cast error in session.dart file, below is the logs:
E/flutter ( 6054): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'List<String>' in type cast E/flutter ( 6054): #0 new Session.fromMap (package:appwrite/src/models/session.dart:152:39) E/flutter ( 6054): #1 Account.createEmailPasswordSession (package:appwrite/services/account.dart:646:27) E/flutter ( 6054): <asynchronous suspension> E/flutter ( 6054): #2 _LoginScreenState.login (package:e_commerce_flutter/src/view/screen/auth/login_screen.dart:25:5) E/flutter ( 6054): <asynchronous suspension> E/flutter ( 6054): D/DecorView: onWindowFocusChanged hasWindowFocus false
This is from the flutter's appwrite package : 13.1.0, but i initially tried 13.1.1 and it also resulted in the same error!
Works! Thanks!
Recommended threads
- hi guys! my site is not accesible in my ...
- Appwrite github organization error
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...