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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Paused project can't activate
I have failed to reactivate one my projects which had been paused