android – %EMAIL% string doesn’ t work in firebase. Methods to repair this?


I’ve made an forgot password web page and if i click on on the button to ship an password forgot e-mail i get this message: W/System (19102): Ignoring header X-Firebase-Locale as a result of its worth was null. I’ve enabled the verification technique in firebase and the login/register web page work but additionally do not ship emails. I’ve accomplished some digging and that i noticed in firebase that %EMAIL% does not work. so firebase does not know the place to ship the e-mail. How am i able to repair this?

That is the code from the forget_password web page

import 'bundle:firebase_auth/firebase_auth.dart';
import 'bundle:flutter/materials.dart';
import 'bundle:hetmaantje/reusable_widget.dart';
import 'bundle:hetmaantje/utils1/colours.dart';

class ResetPassword extends StatefulWidget {
  const ResetPassword({Key? key}) : tremendous(key: key);

  _ResetPasswordState createState() => _ResetPasswordState();

class _ResetPasswordState extends State<ResetPassword> {
  TextEditingController _emailTextController = TextEditingController();
  Widget construct(BuildContext context) {
    return Scaffold(
      extendBodyBehindAppBar: true,
      appBar: AppBar(
        backgroundColor: Colours.clear,
        elevation: 0,
        title: const Textual content(
          "Wachtwoord resetten",
          model: TextStyle(fontSize: 24, fontWeight: FontWeight.daring),
      physique: Container(
          width: MediaQuery.of(context).dimension.width,
          top: MediaQuery.of(context),
          ornament: BoxDecoration(
              gradient: LinearGradient(colours: [
              ], start: Alignment.topCenter, finish: Alignment.bottomCenter)),
          baby: SingleChildScrollView(
              baby: Padding(
                padding: EdgeInsets.fromLTRB(20, 120, 20, 0),
                baby: Column(
                  youngsters: <Widget>[
                    const SizedBox(
                      height: 20,
                    reusableTextField("Vul je email in", Icons.person_outline, false,
                    const SizedBox(
                      height: 20,
                    firebaseUIButton(context, "Reset je wachtwoord", () {
                          .sendPasswordResetEmail(email: _emailTextController.text)
                          .then((value) => Navigator.of(context).pop());


Leave a Reply