Can we access your project?
Current Behavior
Hello FlutterFlow Support,
My project is failing to compile for Web due to a Firebase Auth issue generated internally by FlutterFlow.
Error:
lib/auth/firebase_auth/firebase_user_provider.dart:30:19:
Error: The method 'updateEmail' isn't defined for the type 'User'.
Generated line:
await user?.updateEmail(email);
Additional info:
- I am using FlutterFlow UI Builder only (no manual Flutter coding).
- I already removed visible email update workflows/actions.
- I tested Google Sign-In only.
- I regenerated Firebase config files.
- I rebuilt the project multiple times.
- The same error still persists.
- Disabling auth providers caused massive dependency/build errors, so I restored them.
It seems FlutterFlow is still generating outdated auth code internally against newer Firebase Auth package versions.
Please help me:
- reset/regenerate the generated auth files
- clear any stale build cache
- identify where the outdated updateEmail() call is still being generated
Main Error:
lib/auth/firebase_auth/firebase_user_provider.dart:30:19:
Error: The method 'updateEmail' isn't defined for the type 'User'.
Generated line:
await user?.updateEmail(email);
Additional build output:
Target dart2js failed: ProcessException: Process exited abnormally with exit code 1.
Error: Failed to compile application for the Web.
What I already tested:
- Removed visible email update workflows/actions
- Removed email authentication workflows temporarily
- Tested Google Sign-In only
- Regenerated Firebase configuration files
- Rebuilt project multiple times
- Restored auth providers after rebuild instability
- Searched project for update email related actions
The error still persists even after removing visible update-email workflows.
This appears to be caused by internally generated FlutterFlow auth code using outdated Firebase Auth syntax against newer Firebase package versions.
Expected Behavior
The project should compile successfully for Web without FlutterFlow generating outdated updateEmail() auth methods that are incompatible with the installed Firebase Auth SDK version.
Steps to Reproduce
- Open the FlutterFlow project
- Configure Firebase Authentication and Firestore
- Enable authentication workflows
- Attempt to build/run the project for Web
- FlutterFlow starts generating web build files
- Build process fails during dart2js compilation
- Error appears inside generated file:
lib/auth/firebase_auth/firebase_user_provider.dart
- Error specifically references:
await user?.updateEmail(email);
- Compilation stops and Web build fails completely
Additional Reproduction Notes:
- The issue persists after removing visible email update workflows
- The issue persists after rebuilding the project
- The issue persists after regenerating Firebase config files
- The issue persists even when using Google Sign-In only
- The generated auth file still contains updateEmail() internally
Result:
Project fails to compile for Web due to outdated generated Firebase Auth method usage.
Reproducible from Blank
Bug Report Code (Required)
Wasm dry run findings: Found incompatibilities with WebAssembly. package:uni_stay/main.dart 1:1 - dart:html unsupported (0) Consider addressing these issues to enable wasm builds. See docs for more info: https://docs.flutter.dev/platform-integration/web/wasm Use --no-wasm-dry-run to disable these warnings. Target dart2js failed: ProcessException: Process exited abnormally with exit code 1: lib/auth/firebase_auth/firebase_user_provider.dart:30:19: Error: The method 'updateEmail' isn't defined for the type 'User'. - 'User' is from 'package:firebase_auth/firebase_auth.dart' ('/opt/.pub-cache/hosted/pub.dev/firebase_auth-6.1.3/lib/firebase_auth.dart'). await user?.updateEmail(email); ^^^^^^^^^^^ Error: Compilation failed. #0 RunResult.throwException (package:flutter_tools/src/base/process.dart:153:5) Error: Failed to compile application for the Web.
Visual documentation
- Open the FlutterFlow project
- Configure Firebase Authentication and Firestore
- Enable authentication workflows
- Attempt to build/run the project for Web
- FlutterFlow starts generating web build files
- Build process fails during dart2js compilation
- Error appears inside generated file:
lib/auth/firebase_auth/firebase_user_provider.dart
- Error specifically references:
await user?.updateEmail(email);
- Compilation stops and Web build fails completely
Additional Reproduction Notes:
- The issue persists after removing visible email update workflows
- The issue persists after rebuilding the project
- The issue persists after regenerating Firebase config files
- The issue persists even when using Google Sign-In only
- The generated auth file still contains updateEmail() internally
Result:
Project fails to compile for Web due to outdated generated Firebase Auth method usage.
Environment
Platform:
- FlutterFlow Web Builder
- Flutter Web
Browser:
- Google Chrome (latest version)
Operating System:
- Android device using FlutterFlow web interface
- Windows PC also tested
Firebase Packages Observed:
- firebase_auth: 5.6.0
- firebase_core: 3.14.0
- cloud_firestore: 5.6.9
Additional Information
The generated auth file still references:
await user?.updateEmail(email);
even after removing visible email update workflows from the project.
Can we access your project?
Current Behavior
Hello FlutterFlow Support,
My project is failing to compile for Web due to a Firebase Auth issue generated internally by FlutterFlow.
Error:
lib/auth/firebase_auth/firebase_user_provider.dart:30:19:
Error: The method 'updateEmail' isn't defined for the type 'User'.
Generated line:
await user?.updateEmail(email);
Additional info:
It seems FlutterFlow is still generating outdated auth code internally against newer Firebase Auth package versions.
Please help me:
Main Error:
lib/auth/firebase_auth/firebase_user_provider.dart:30:19:
Error: The method 'updateEmail' isn't defined for the type 'User'.
Generated line:
await user?.updateEmail(email);
Additional build output:
Target dart2js failed: ProcessException: Process exited abnormally with exit code 1.
Error: Failed to compile application for the Web.
What I already tested:
The error still persists even after removing visible update-email workflows.
This appears to be caused by internally generated FlutterFlow auth code using outdated Firebase Auth syntax against newer Firebase package versions.
Expected Behavior
The project should compile successfully for Web without FlutterFlow generating outdated updateEmail() auth methods that are incompatible with the installed Firebase Auth SDK version.
Steps to Reproduce
lib/auth/firebase_auth/firebase_user_provider.dart
await user?.updateEmail(email);
Additional Reproduction Notes:
Result:
Project fails to compile for Web due to outdated generated Firebase Auth method usage.
Reproducible from Blank
Bug Report Code (Required)
Wasm dry run findings: Found incompatibilities with WebAssembly. package:uni_stay/main.dart 1:1 - dart:html unsupported (0) Consider addressing these issues to enable wasm builds. See docs for more info: https://docs.flutter.dev/platform-integration/web/wasm Use --no-wasm-dry-run to disable these warnings. Target dart2js failed: ProcessException: Process exited abnormally with exit code 1: lib/auth/firebase_auth/firebase_user_provider.dart:30:19: Error: The method 'updateEmail' isn't defined for the type 'User'. - 'User' is from 'package:firebase_auth/firebase_auth.dart' ('/opt/.pub-cache/hosted/pub.dev/firebase_auth-6.1.3/lib/firebase_auth.dart'). await user?.updateEmail(email); ^^^^^^^^^^^ Error: Compilation failed. #0 RunResult.throwException (package:flutter_tools/src/base/process.dart:153:5) Error: Failed to compile application for the Web.
Visual documentation
lib/auth/firebase_auth/firebase_user_provider.dart
await user?.updateEmail(email);
Additional Reproduction Notes:
Result:
Project fails to compile for Web due to outdated generated Firebase Auth method usage.
Environment
Additional Information
The generated auth file still references:
await user?.updateEmail(email);
even after removing visible email update workflows from the project.