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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...