Hello, i build a little todo app with flutter and appwrite. So far it is working with chrome but not with macos and android. What is not working? The login process. Eveytime i press the login button, nothing is working. So i googled the problem yesterday. For android i added the activity com_linusu.flutter_web_auth in AndroidManifest in android/app/src/main. And i used the package name for the appwrite flutter app in appwrite. In Macos i added the appwrite dependency and created in the appwrite web gui the macos project with the buildidentifier from the general Tab in Xcode. Now i'm running out of gas. Do you know how i can help myself to get forward?
Hello. Are you sure that the activity was in the correct place?
Inside the android manifest file, I mean
Also it should be a separate activity
Could you send here how your activity file looks like?
Hello, i could fix it with a hint from stackoverflow. I don't know if it is best practise. But WidgetsFlutterBinding.ensureInitialized(); as first command in the main before running runApp(MyTodos()). fixt it.
This is how my todo looks like. I feel ashamed about it, because most of them stuff i just tried to get something work, without understand fully what i am doing there. So i think the main reason for the problem is my lack in understanding the core concepts and relationships of flutter.
Oh, yes, I had too a problem and solved with that. That makes flutter wait for the elements, etc being fully loaded and rendered before executing anything else
[SOLVED] Account.dart
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...