-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[firebase_auth]: <windows firebase flutter failure> #13340
Comments
Kindly share a sample reproducible code |
Kindly share the code in the comment rather than sharing it as a file. |
import 'package:firebase_auth/firebase_auth.dart'; import 'package:cashgo/toast.dart'; class FirebaseAuthService { Future<User?> signUpWithEmailAndPassword(BuildContext context, String email, String password) async {
} Future<User?> signInWithEmailAndPassword(BuildContext context, String email, String password) async {
} import 'package:flutter/material.dart'; Future main() async { // Initialize Firebase and handle errors try {
} catch (e) { runApp(MyApp( class MyApp extends StatelessWidget { const MyApp({ @OverRide // This function decides what the initial screen is based on authentication state
} import 'package:cloud_firestore/cloud_firestore.dart'; class LoginPage extends StatefulWidget { @OverRide class _LoginPageState extends State { @OverRide @OverRide
} void _signIn() async {
} } import 'package:flutter/material.dart'; void showCustomSnackBar(BuildContext context, String message) { ScaffoldMessenger.of(context).showSnackBar(snackBar); |
This could be an OS issue rather than FF plugin issue. Kindly try running the |
@SelaseKay testing for now on windows I'm plaining to do the app to work for android/iOS and windows. |
I understand. Could you please try running the |
aah i see that will prove it okey,,,where i find this example app? |
Hey @NajdKarajeh. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Windows
Description
[ERROR:flutter/shell/common/shell.cc(1065)] The 'firebase_auth_plugin/auth-state/[DEFAULT]' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
Reproducing the issue
the description i provided says that channel sent a message from native to flutter on an non-platform channel messages..i do handle this on my code correct but i still get this warrning
Firebase Core version
3.4.1
Flutter Version
3.24.0
Relevant Log Output
No response
Flutter dependencies
n
flutter:
sdk: flutter
http: ^1.2.2
provider: ^6.0.0
image_picker: ^1.1.2
cloud_firestore: 5.4.1
firebase_analytics : 11.3.1
firebase_auth : 5.2.1
firebase_core : 3.4.1
intl : 0.19.0
shared_preferences : 2.3.2
connectivity_plus: 6.0.5
fluttertoast: 8.2.8
font_awesome_flutter: 10.7.0
google_sign_in: 6.2.1
The text was updated successfully, but these errors were encountered: