Flutter Firebase Email Password Authentication | Store Data In Firebase Firestore | Form Validation

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 316

  • @abhisheksitar
    @abhisheksitar 6 місяців тому +7

    Hey bro, I had to tell you that after having seen many video series over the years from mid 2000's on UA-cam, this is hands down one of the best tutorial series. Hats off to this amazing effort of yours.
    I was wondering if you do AWS backend with Mongodb and if there is any plan on making a series.
    Big fan!

    • @CodingwithT
      @CodingwithT  6 місяців тому +2

      Wow, thank you so much dear for such kind words.
      I am currently about to launch Admin Panel of this Playlist on Patreon and will share the updates.
      After that I will try to for these suggested platforms.

    • @abhisheksitar
      @abhisheksitar 6 місяців тому +1

      @@CodingwithT I would happily subscribe once that is available. I hope you let me know when it’s shareable.

  • @Rifat-s4u
    @Rifat-s4u 2 місяці тому +6

    All missing thing here:
    Exception:
    class TFirebaseException implements Exception {
    final String code;
    TFirebaseException(this.code);
    String get message {
    switch (code) {
    case 'permission-denied':
    return 'You do not have permission to perform this action.';
    case 'unavailable':
    return 'The server is currently unavailable. Please try again later.';
    case 'weak-password':
    return 'The password provided is too weak.';
    case 'email-already-in-use':
    return 'The account already exists for that email.';
    case 'invalid-email':
    return 'The email address is malformed.';
    default:
    return 'A Firebase error occurred. Please try again.';
    }
    }
    }
    class TFormatException implements Exception {
    const TFormatException();
    String get message => 'Invalid data format.';
    }
    class TPlatformException implements Exception {
    final String code;
    TPlatformException(this.code);
    String get message {
    switch (code) {
    case 'network_error':
    return 'Network error. Please check your internet connection.';
    case 'device_not_supported':
    return 'This feature is not supported on your device.';
    default:
    return 'A platform error occurred. Please try again.';
    }
    }
    }
    User Model:
    class UserModel {
    final String id;
    final String username;
    final String email;
    String firstName;
    String lastName;
    String phoneNumber;
    String profilePicture;
    UserModel({
    required this.id,
    required this.username,
    required this.email,
    required this.firstName,
    required this.lastName,
    required this.phoneNumber,
    required this.profilePicture,
    });
    String get fullName => '$firstName $lastName';
    String get formattedPhoneNumber => TFormatter.formatPhoneNumber(phoneNumber);
    static List nameParts(fullName) => fullName.split(" ");
    static String generateUsername(fullName) {
    List nameParts = fullName.split(" ");
    String firstName = nameParts[0].toLowerCase();
    String lastName = nameParts.length > 1 ? nameParts[1].toLowerCase() : "";
    String camelCaseUsername =
    "$firstName$lastName"; // Combine first and last name
    String usernameWithPrefix = "cwt_$camelCaseUsername"; // Add "cwt_" prefix
    return usernameWithPrefix;
    }
    // Static function to create an empty user model.
    static UserModel empty() => UserModel(
    id: "",
    firstName: "",
    lastName: "",
    username: "",
    email: "",
    phoneNumber: "",
    profilePicture: "");
    // Convert model to JSON structure for storing data in Firebase.
    Map toJson() {
    return {
    'FirstName': firstName,
    'LastName': lastName,
    'Username': username,
    'Email': email,
    'PhoneNumber': phoneNumber,
    'ProfilePicture': profilePicture,
    };
    }
    // Factory method to create a UserModel from a Firebase document snapshot.
    factory UserModel.fromSnapshot(
    DocumentSnapshot document) {
    final data = document.data()!;
    return UserModel(
    id: document.id,
    firstName: data['FirstName'] ?? "",
    lastName: data['LastName'] ?? "",
    username: data['Username'] ?? "",
    email: data['Email'] ?? "",
    phoneNumber: data['PhoneNumber'] ?? "",
    profilePicture: data['ProfilePicture'] ?? "",
    );
    }
    }

    • @CodingwithT
      @CodingwithT  Місяць тому +1

      Thank you for helping others.

  • @shellcode-v6e
    @shellcode-v6e 10 місяців тому +16

    Hello sir after watching thoroughly the entire video this are the parts you didn't show please consider to show them in the next tutorial before proceeding so that we can also test our codes
    inside authentication repository and user repository
    1. TFirebaseAuthException,
    2. TFirebaseException
    3. TFormatException,
    4. TPlatformException
    inside signup controller
    1. VerifyEmailScreen (or is it the same as VerifyPasswordScreen that we created sometime back?)
    2. docerAnimation (Its not in the startup kit or any other previously shared kit)
    please remember to address that on the next video. thank you

    • @CodingwithT
      @CodingwithT  10 місяців тому +4

      Exceptions are almost same but also I will add those files in the Free Starter kit so that you can download the Animations and Exceptions as well. 😀🎊

    • @alansomathew10
      @alansomathew10 10 місяців тому +1

      Did you add the animation file to the starter kit? If you added it, we can download and use it@@CodingwithT ❤

    • @ayushjain8338
      @ayushjain8338 8 місяців тому

      @@CodingwithT Where is docerAnimation?

    • @ayushjain8338
      @ayushjain8338 8 місяців тому

      @@alansomathew10 Do you have docerAnimation?

    • @madhurtyagi803
      @madhurtyagi803 8 місяців тому +3

      I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?

  • @Nomiiiso
    @Nomiiiso 3 місяці тому +4

    Is there a fix for the latest connectivity_plus for this line?
    At 17:14, this line of code isn't working -> _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
    Error: A value of type 'StreamSubscription' can't be assigned to a variable of type 'StreamSubscription'
    Proposed solution was to use the version connectivity_plus ^5.0.1 as in the tutorial. How can i update the code to support new version, it seems like it is expecting a list "List

    • @CodingwithT
      @CodingwithT  2 місяці тому +8

      If you have updated your Connectivity Plus package then now you have to change your ConnectivityResult to a List as the package did some changes in the way we can use package.
      CODE __
      import 'dart:async';
      import 'package:get/get.dart';
      import 'package:connectivity_plus/connectivity_plus.dart';
      import 'package:flutter/services.dart';
      import '../popups/loaders.dart';
      /// Manages the network connectivity status and provides methods to check and handle connectivity changes.
      class NetworkManager extends GetxController {
      static NetworkManager get instance => Get.find();
      final Connectivity _connectivity = Connectivity();
      late StreamSubscription _connectivitySubscription;
      final RxList _connectionStatus = [].obs;
      /// Initialize the network manager and set up a stream to continually check the connection status.
      @override
      void onInit() {
      super.onInit();
      _connectivitySubscription = _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
      }
      /// Update the connection status based on changes in connectivity and show a relevant popup for no internet connection.
      Future _updateConnectionStatus(List result) async {
      _connectionStatus.value = result;
      if (result.contains(ConnectivityResult.none)) {
      TLoaders.customToast(message: 'No Internet Connection');
      }
      }
      /// Check the internet connection status.
      /// Returns ⁠ true ⁠ if connected, ⁠ false ⁠ otherwise.
      Future isConnected() async {
      try {
      final result = await _connectivity.checkConnectivity();
      if (result.any((element) => element == ConnectivityResult.none)) {
      return false;
      } else {
      return true;
      }
      } on PlatformException catch (_) {
      return false;
      }
      }
      /// Dispose or close the active connectivity stream.
      @override
      void onClose() {
      super.onClose();
      _connectivitySubscription.cancel();
      }
      }

    • @Nomiiiso
      @Nomiiiso 2 місяці тому

      @@CodingwithT Thank you so much for the update.

    • @mahboublarbimohammed5377
      @mahboublarbimohammed5377 Місяць тому

      ❤❤❤❤❤❤

    • @dextrogaming369
      @dextrogaming369 Місяць тому

      ​@@CodingwithTthanks brother 🙏

  • @addicted_lover
    @addicted_lover Місяць тому +1

    After initializing the Generalbinding, by opening the application the snackbar is showing as no internet connection.
    So could you check it

    • @CodingwithT
      @CodingwithT  Місяць тому

      Make sure that it correctly listens to connectivity changes and only triggers the Snackbar when there's an actual disconnection. Sometimes, it might show a no-connection status during app startup due to how the listener is set up. If this not helps, you can contact us on whatsapp

  • @rahulshimpi8914
    @rahulshimpi8914 10 місяців тому +2

    Hello Sir,
    I have purchase your full code but my question is can we convert GetX to Bloc state management with same code architecture?

    • @CodingwithT
      @CodingwithT  10 місяців тому

      Yes you can do that. Just add back-end logic using BLoC and you are good to go

    • @A2Vloogs
      @A2Vloogs 10 місяців тому

      can you please send me??. It will help me in my semester end project as submission in near. PLEASE....

    • @pinkisingh9218
      @pinkisingh9218 7 місяців тому

      can you please share source code ?

  • @abiodunosagie
    @abiodunosagie 7 місяців тому +2

    Hi bro been learning through your tutorial very helpful understanding flutter but you didn't show us the TFirebaseAuthException code so we can follow suit, you skipped those custom exceptions please show us so we can learn in full and also the usermodel too, you didn't show us either.

    • @CodingwithT
      @CodingwithT  7 місяців тому +2

      Exceptions are visible in the next video and also UserModel is completely available

  • @JirolBikes
    @JirolBikes 6 місяців тому +3

    At 17:14, this line of code isn't working -> _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
    Error (A value of type 'StreamSubscription' can't be assigned to a variable of type 'StreamSubscription'.)

    • @Jiayoujiayoulalalla
      @Jiayoujiayoulalalla 6 місяців тому +1

      same here.

    • @JirolBikes
      @JirolBikes 6 місяців тому

      @@Jiayoujiayoulalalla I can't proceed to the next tutorial because of this error. If you find a solution please tell me.

    • @Jiayoujiayoulalalla
      @Jiayoujiayoulalalla 6 місяців тому +8

      @@JirolBikes Hi, I found the solution already. In your pubspec.yaml file, you should not add the latest connectivity_plus, instead, you should add the same version in the video which is connectivity_plus ^5.0.1

    • @AlifJulaihi-m2q
      @AlifJulaihi-m2q 6 місяців тому +1

      @@Jiayoujiayoulalalla thanks brother

    • @gautamsolanki3644
      @gautamsolanki3644 6 місяців тому

      thnx bro

  • @footballgrinta-8714
    @footballgrinta-8714 7 місяців тому +2

    I got a problem when I click on create account it shows the error snack bar i think you didn't show us the rest of user model file i hope to answer please

    • @CodingwithT
      @CodingwithT  7 місяців тому

      I'm sorry to hear that you're encountering an error when trying to create an account. To better assist you, could you please provide more details about the error message displayed in the Snackbar? This will help us identify the specific issue and provide you with an accurate solution. Thank you for your patience!

    • @footballgrinta-8714
      @footballgrinta-8714 7 місяців тому

      @@CodingwithT i fix it but in Google sign in i encounter a problem when i tap the command that you provided to get the sha-1 and sha-256 it show me invalid keystore format so i triés to generate a keystore file in Android/app and i got the keys but it stills not working it shows a popup to choose account and then when i click on an account it stops loading and shows a snack bar error sign in failed please help

  • @CodeEasy11
    @CodeEasy11 Місяць тому

    At last point when account is created successfully my VerifyEmailScreen not showing and before the Popscope occurs it shows red screen

  • @geiseebag8754
    @geiseebag8754 7 місяців тому +2

    you didn't make a video about the loaders.dart or put it in the startup kit.

    • @CodingwithT
      @CodingwithT  7 місяців тому +4

      I apologize for the oversight. I'll make sure to create a video about loaders.dart and include it in the startup kit for your convenience. Thank you for bringing this to my attention!

    • @dieudonnehagenimana7988
      @dieudonnehagenimana7988 7 місяців тому

      @@CodingwithT waiting for loaders.dart video to finish this amazing tuto!

    • @bobobod888
      @bobobod888 4 місяці тому

      @@CodingwithT where is the video

  • @albiummid
    @albiummid 10 місяців тому +1

    Your topic based teaching process is very effective and impressive.
    Big ❤ from Bangladesh

    • @CodingwithT
      @CodingwithT  10 місяців тому +1

      Thank you so much 😊 🎉😍

  • @RehmanJutt-zo4eg
    @RehmanJutt-zo4eg 3 місяці тому +1

    Sir whenever I start performing any action through firebase.
    This error show me.
    Oh snap.
    (Type Authentication Repository is not a subtype of Type Authentication Repository in Type Cast Ware).
    I am very upset with this error.
    If you see this error please reply.

    • @CodingwithT
      @CodingwithT  2 місяці тому +1

      I'm sorry to hear about the error you're facing with Firebase. It seems like a type casting issue. Have you tried reviewing your code where you're casting types? Sometimes a careful review or adjusting how types are cast can resolve such errors. If your error didn't resolve then I am here for your help[

    • @tanishkagoel7781
      @tanishkagoel7781 Місяць тому

      not resolved yet. Please help​@@CodingwithT

  • @RAGULS-b6g
    @RAGULS-b6g 3 місяці тому +4

    You dont show the UserModel Code

  • @abderrazakschannel4491
    @abderrazakschannel4491 10 місяців тому +1

    i am having a problem the keyboad is hiding the text field even when i've added "resizeToAvoidBottomInset:true" ,any help

    • @PradeepS-lk3ky
      @PradeepS-lk3ky 7 місяців тому

      set to false and try, even it fails try wrapping with SingleChildScrollView

  • @khimleshgajuddhur6892
    @khimleshgajuddhur6892 2 місяці тому

    Hello,
    I'm having issues with the animation for processing information, it's not showing. Similarly for the success snackbar after the account has been created.

    • @CodingwithT
      @CodingwithT  Місяць тому +1

      Please check did it start and stop loading properly

  • @Oueslati455
    @Oueslati455 10 місяців тому +5

    big ❤ from Tunisia , mashalah brother keep going ✌👏👏👏

    • @CodingwithT
      @CodingwithT  10 місяців тому +1

      Thank you 😊😍

    • @geiseebag8754
      @geiseebag8754 7 місяців тому

      mechi shih l pfe?

    • @rabebsassi
      @rabebsassi 6 місяців тому

      chrit code t7bchi techri b 80dt

  • @Occult552
    @Occult552 7 місяців тому

    I have an issue, since completing video 34 it now shows a black screen only and in the output log reads: W/Choreographer(11099): Frame time is 0.047482 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. Also before this it seems to be stuck on 4053
    I/ViewRootImpl@602f9d6[MainActivity](18014): [DP] cancelDraw null isViewVisible: true, Ant suggestions appreciated thanks.

    • @CodingwithT
      @CodingwithT  6 місяців тому

      You can debug the code and check where the issue is and share the error with me so that i can help you.

    • @Occult552
      @Occult552 6 місяців тому

      @@CodingwithT Hi, the issue is with firebase integration, as soon as I add firebase it just remains on a black screen

  • @dragonthis7948
    @dragonthis7948 8 місяців тому +1

    docerAnimation is still not up for starter kit sir..can help us check? Thank u

    • @CodingwithT
      @CodingwithT  8 місяців тому +1

      You just have to add it in the image strings

  • @shreyashgupta2706
    @shreyashgupta2706 3 місяці тому

    my just putting an email and passwod , i am redirecting to next page, other fields are not required.. why?

    • @CodingwithT
      @CodingwithT  3 місяці тому

      You can make them required with validation

  • @Rivero727
    @Rivero727 Місяць тому

    Excuse me, but You don't show how I created the Loaders class, just some messages but not what the complete structure is, can you provide it to me?

    • @Rivero727
      @Rivero727 Місяць тому

      Sorry, I already saw it at minute 19:02😅

    • @CodingwithT
      @CodingwithT  Місяць тому

      Fantastic 😅🚀

  • @mohamedalhamri9714
    @mohamedalhamri9714 4 місяці тому

    I have a question: Can we use the built-in function in Dart String for validations? such as string.isEmail, string.isPhoneNumber? and thank you for your perfect tutorial 👌

    • @CodingwithT
      @CodingwithT  4 місяці тому

      Yes you can use any features you like. You welcome ❤️✌️😀

  • @user-wq9om4et9s
    @user-wq9om4et9s 9 місяців тому +1

    Hello Sir,
    I have been following you from the video one of this playlist and I don't have any errors in my code . Just one issue after clicking on signup my screen is stuck on docer animation and I am not getting any errors in log , kindly help
    It has been a great playlist I have learned a lot

    • @CodingwithT
      @CodingwithT  9 місяців тому

      Thank you.
      Please try to debug and share any error

    • @user-wq9om4et9s
      @user-wq9om4et9s 9 місяців тому

      When I debugged my app , it is not going ahead of if(signupFormKey.currentState!.validate()) return; this line@@CodingwithT fixed it "!" was missing in start of this line thanks for support

    • @madhurtyagi803
      @madhurtyagi803 8 місяців тому

      I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?

    • @maryemlahmer3184
      @maryemlahmer3184 5 місяців тому

      I have the same error, once i removed the 'finally' from the exception the screen got stuck on the docker animation without going to the verifyMailScreen. If you fixed it kindly tell me how.

  • @cherryReddy-v2k
    @cherryReddy-v2k 10 місяців тому +2

    Great Video Sir. but I think you forgot to show TException files which are 3 and also PopScope, it would be great help if u show us in the next video. or else we are getting so many errors. Thankyou sir.

    • @CodingwithT
      @CodingwithT  10 місяців тому +1

      Thank you 🙏.
      In the beginning of this video I added a note that Exceptions will be in the next video.
      PopScope is a built-in class from Flutter. So, just use it. 🎉😃

  • @Jack-g7f5g
    @Jack-g7f5g 7 місяців тому

    hello sir. I got an exception when i push button "Create account", Null check operator used on a null value. i hope to answer please

    • @CodingwithT
      @CodingwithT  7 місяців тому

      First of all check that you are connected to firebase. If it is connected then debug the code and check where the issue is. If the issue persists you can contact us on whatsapp

  • @sohelindian1988
    @sohelindian1988 8 місяців тому +2

    dacerAnimation file is not in the asset. kindly provide it in starter kit

  • @ano7371
    @ano7371 10 місяців тому

    What if we just need to sign in?, for example like an internal application in a company whose account is created by an admin. Can I create an account directly in Firebase?

    • @CodingwithT
      @CodingwithT  10 місяців тому

      You can ask admin to create accounts in the admin panel and do not redirect users for their email verification.

  • @khanhduy4273
    @khanhduy4273 8 місяців тому +1

    I am getting this error when following your video ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?

    • @PhenomenalPulse
      @PhenomenalPulse 8 місяців тому

      This is due to lottie package.. or may be you are not passing animation in SignupController.dart
      AFullScreenLoader.openLoadingDialog('We are processing your information...',AImages.docerAnimation);
      so solution:
      1) passes animation
      or
      2) remove openLoadingDialog and also remove stoploading cases it will solve the issue.

    • @madhurtyagi803
      @madhurtyagi803 8 місяців тому

      Did you find any solution bro?

    • @madhurtyagi803
      @madhurtyagi803 8 місяців тому

      I am also facing the same issue

    • @Xxdarkon
      @Xxdarkon 8 місяців тому

      I had this error too. I was using the wrong extension type. try to use a .json asset

    • @kaismsalmi
      @kaismsalmi 7 місяців тому

      Did you find any solution ? 😑

  • @sarahismail-ob4is
    @sarahismail-ob4is 2 місяці тому

    Hello, may I know what are the last few lines of code of 'factory UserModel.fromSnapshot' function in user_model.dart ? Thank you !!

    • @CodingwithT
      @CodingwithT  2 місяці тому +1

      I think you are talking about what is the code in else right? here it is "return UserModel.empty();"

    • @sarahismail-ob4is
      @sarahismail-ob4is 2 місяці тому

      @@CodingwithT thank you very much

  • @Calligraphyreyu
    @Calligraphyreyu 4 місяці тому

    Till this video i follow perfectly but after this i faced error related to depreciation and out of memory Please how can i fix it .

    • @CodingwithT
      @CodingwithT  4 місяці тому

      Can you please state you errors in detail.

  • @yjskrishnateja
    @yjskrishnateja 2 місяці тому

    Sir, I am having this is it to be concerned?
    Note: C:\Users\Dell\AppData\Local\Pub\Cache\hosted\pub.dev\cloud_firestore-4.14.0\android\src\main\java\io\flutter\plugins\firebase\firestore\FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details

    • @CodingwithT
      @CodingwithT  2 місяці тому

      I am sorry for your error. This is because you are not using latest dependencies. Use command flutter pub upgrade. Or go to pub.dev and find the latest version.

  • @samarth_pachpile_patil3533
    @samarth_pachpile_patil3533 Місяць тому

    bro signupform validations is not triggering for my input fields. they are not getting displayed. plz help

    • @CodingwithT
      @CodingwithT  Місяць тому

      I am sorry for that. You just have to assign the key to the form and in the controller you have to validate the form.

  • @AtchayaGnanasekaran
    @AtchayaGnanasekaran 6 місяців тому

    I have give the correct code but I have Unexpected Null value from validation I will setup the firebase correctly from I watch your video but I have this error why? I hope to answer please

    • @cybertolu
      @cybertolu 6 місяців тому

      What's the error saying

    • @CodingwithT
      @CodingwithT  5 місяців тому

      It seems there might be an unexpected null value triggering the validation error. Check your code thoroughly, especially where you're handling form validation. Ensure that all required fields are properly initialized and that your Firebase setup is correct. If the issue persists, consider debugging the specific part of your code where the validation error occurs.

  • @ธีร์ธวัชสงวนรัตน์

    Please ,How to do it in the section TFirebase AuthExcwption , TFirebaseException ,TFormatException , TPlatformException where can i see it?

    • @fizz1028
      @fizz1028 6 місяців тому +1

      I have the same problem, did you find a solution?

    • @maxxy-r3q
      @maxxy-r3q 5 місяців тому

      @@fizz1028 on the link staterted kit, u can download it

    • @gilbertotauanja5283
      @gilbertotauanja5283 4 місяці тому

      Yes. Didn’t you?

  • @kassacamara7089
    @kassacamara7089 7 місяців тому

    Salam. I really like the way you explain things but in my case what I would like to do is to always use firebase for authentication, but when I register a new user, I want this information must be saved in the database of an API that I set up and not in Firebase directly.

    • @CodingwithT
      @CodingwithT  7 місяців тому

      Yes, you can do that and still can customise your Authentication

  • @Hamza-yq7sj
    @Hamza-yq7sj 10 місяців тому

    When i uncheck the checkbox field and press on create account. it gives me warning message and redirect to email verification screen How to handle this?

    • @CodingwithT
      @CodingwithT  10 місяців тому +1

      You are not calling return after warning message

  • @user_11221
    @user_11221 10 місяців тому +4

    Great explaination brother ❤. Some of the files you skipped to show us and that are giving me errors
    1) PopScope form FullScreenLoader
    2) TFirebaseAuthException, TFirebaseException, TPlatformException, TFormatException from AuthenticationRepository
    This is the first time I got errors in this playlist please kindly reply with the solution brother🥺, that would be a great help.

    • @CodingwithT
      @CodingwithT  10 місяців тому +2

      Thank you 🙏.
      In the beginning of this video I added a note that Exceptions will be in the next video.
      PopScope is a built-in class from Flutter. So, just use it. 🎉😃

    • @deepankarvarma4513
      @deepankarvarma4513 10 місяців тому

      Were you getting a red and white screen while it was loading and no loader was shown?

  • @toemsamnob7978
    @toemsamnob7978 5 днів тому

    Hi sir, how to fix Ignoring header X-Firebase-Locale because its value was null, thanks

    • @CodingwithT
      @CodingwithT  4 дні тому

      Check some null values which should not be there.

  • @tanishkagoel7781
    @tanishkagoel7781 Місяць тому

    type 'list' is not a subtype of type 'pigeonuserdetails?' in type cast
    getting this error. Can anyone help me out in this?

  • @eshu9838
    @eshu9838 8 місяців тому +1

    having problem in docker animation and loader file... can you please add updated starter kit?

    • @CodingwithT
      @CodingwithT  8 місяців тому

      You just have to add that in the image strings.

    • @madhurtyagi803
      @madhurtyagi803 8 місяців тому +1

      I am getting this error when following your video when i click on create account then instead of doceranimation this is coming on the screen ''Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $'', can you explain why this error occurs and how to resolve it? Is that Okay ?

  • @richeriyas6888
    @richeriyas6888 6 місяців тому

    Hii sir. Hope fully helped this video but form validation and checkbox validate after i put create account button i got some error this "use jsonreader.setlenient(true) tp accept malformed JSON at path $ " this error i got how to handle this sir. And also my usercredentials does not saved in firestore database. Can you explain sir

    • @CodingwithT
      @CodingwithT  6 місяців тому

      This happens due to multiple reasons and the possibility here is that your json model is not properly mapped

    • @sandipshaw3848
      @sandipshaw3848 6 місяців тому

      @mrraeesyt9762 Issue is with we passed .png or jpeg file in lottie which expect json file . Now i passed the json file and issue is resolved

    • @gautamsolanki3644
      @gautamsolanki3644 6 місяців тому

      @@sandipshaw3848 thnxxx bro
      error solve kru ya coding karu kucchh samaj nahi aa raha

    • @fizz1028
      @fizz1028 6 місяців тому

      @@sandipshaw3848 You can explain exactly how he did it. I use the file as a gif

  • @SamirAa-tw8xh
    @SamirAa-tw8xh 8 місяців тому +2

    When i uncheck the checkbox field and press on create account. it gives me warning message and redirect to email verification screen and i add return after warning message same problem

    • @CodingwithT
      @CodingwithT  8 місяців тому

      Debug your code it will show you where the issue is.

  • @fro9ylo9
    @fro9ylo9 3 місяці тому

    hello brother,First i want to thank you for your effort and your good work, i don't have the docerAnimation image in my TImages can u please give me where i can get it from ? you used it at 16:16
    Thanks in advance

    • @CodingwithT
      @CodingwithT  3 місяці тому +1

      Hi 👋,
      I am glad it’s helpful.
      You can download the new starter kit in which we have all the assets added

  • @AshwiniBhatBhat
    @AshwiniBhatBhat 8 місяців тому +1

    Hi sir,
    Please provide loaders.dart in start up kit. Downloaded latest file. In that file is not exist.

    • @CodingwithT
      @CodingwithT  8 місяців тому +1

      Noted

    • @TheArtOfWarStrategy
      @TheArtOfWarStrategy 7 місяців тому

      @@CodingwithT Sure man you didn't add up the popups files TFullScreenLoader in starter kit do we have to buy it because m stuck in this section. BIG UP BRO

    • @krishnakumar-sy1gk
      @krishnakumar-sy1gk 6 місяців тому

      did uh get it bro??

    • @meybad6365
      @meybad6365 4 місяці тому

      can you send the code loader.dart sir please

  • @ankitdhattarwal2286
    @ankitdhattarwal2286 9 місяців тому

    Hello Sir, i not clear too much concepts beacause i litterly starting flutter can suggesst any more tutorial so that i learn all concept of this video very deeply and learn how things work and thank you for good video content

    • @CodingwithT
      @CodingwithT  9 місяців тому +2

      Yes, sure. Please watch the flutter Crash Course that I've already uploaded on my Channel.

    • @ankitdhattarwal2286
      @ankitdhattarwal2286 8 місяців тому

      Thank you @@CodingwithT

  • @muhammedemad9782
    @muhammedemad9782 5 місяців тому +1

    I am stuck at we are processing your information animation screen

    • @CodingwithT
      @CodingwithT  5 місяців тому

      Please share the error details with me on WhatsApp, and I'll do my best to assist you further.

    • @maryemlahmer3184
      @maryemlahmer3184 5 місяців тому

      Same ! can't move to verifyMailScreen. If you fixed the error kindly tell me how.

  • @samahati_ati
    @samahati_ati 6 місяців тому

    Hello
    Can I know where can i find these files :
    FirebaseFirestore
    DocumentSnapshot
    FirebaseStorage
    FirebaseAuth
    UserCredential

    • @CodingwithT
      @CodingwithT  6 місяців тому

      These files are added to your project if you connect it to firebase. And by including package firebase core.

  • @eltiganimohammed-c1y
    @eltiganimohammed-c1y 10 місяців тому

    Greetings! I wanted to take a moment to extend my appreciation for your spectacular efforts. I would like to know your opinion on using abstraction to hide the implementation of controllers and how the app responds to responsiveness for multiple screens.

    • @CodingwithT
      @CodingwithT  9 місяців тому

      Hi 👋,
      Thank you for your kind words.
      Abstraction does many other benefits as well also useful for large and projects which have a team.
      To make a design response you can try Expanded and Flexible with Media Query to achieve that. Which we will learn in the next admin panel playlist where I'll create a design for mobile tablet and desktop.
      Currently app design is adaptive for different devices.

  • @cricmaniaofficial
    @cricmaniaofficial 10 місяців тому

    popscope widget giving me error...
    the methode isn't defined for the type "TFullscreenLoader"

    • @CodingwithT
      @CodingwithT  10 місяців тому +2

      Try WillPopScope

    • @cricmaniaofficial
      @cricmaniaofficial 10 місяців тому

      @@CodingwithT I have already solve it by using WillPopScope.
      Thanks for your content ☺️

    • @zvidzaimukarati2385
      @zvidzaimukarati2385 4 місяці тому

      @@CodingwithT Thanks it worked was experiencing the same problem

  • @karthickdinesh5589
    @karthickdinesh5589 5 місяців тому

    all your animation assets are in json format why sir?

    • @CodingwithT
      @CodingwithT  4 місяці тому

      Just using Lottie animations, that's why

  • @muhibmehboob2560
    @muhibmehboob2560 5 місяців тому

    Assalam Allikum Sir, please help while saving new user in Firebase i cant asccess user in "id: userCredential.user!.uid" , what is the fix?

    • @CodingwithT
      @CodingwithT  5 місяців тому

      Wa alaikum Assalam. Is your user added in the firestore or Authentication?

    • @rhmazeem7993
      @rhmazeem7993 5 місяців тому

      "id: userCredential!.user!.uid"

  • @mawandenxumalo4901
    @mawandenxumalo4901 9 місяців тому

    What video number do you code AuthenticationRepo?

    • @CodingwithT
      @CodingwithT  9 місяців тому +1

      ua-cam.com/video/GYtMpccOOtU/v-deo.htmlsi=6lMM06xIXbSLzUjC

  • @shellcode-v6e
    @shellcode-v6e 10 місяців тому +1

    awesome video brother ❤🔥 . don't forget to add a theme switch in settings before the series ends

  • @jude2chika
    @jude2chika 4 місяці тому

    Can anyone help with RegExp code for Nigerian phone number validation? Many thanks in advance

  • @maazafridi2090
    @maazafridi2090 10 місяців тому +1

    bhaii ap iss mein bohat speed say jarahay hain... thora explain kr diya karei... bohat prblem hotiii haii ye backend mein...

    • @CodingwithT
      @CodingwithT  10 місяців тому +2

      Noted 😃. Will try this in new videos.

  • @codetoflutter-x4q
    @codetoflutter-x4q 18 днів тому

    when he created user model? can anyone help me

    • @CodingwithT
      @CodingwithT  6 днів тому

      If you still need help please reach out to me at codingwitht.com/contact-us

  • @Hamza-yq7sj
    @Hamza-yq7sj 10 місяців тому

    How i store gender and DOB value in Firebase using Google sign ?

    • @CodingwithT
      @CodingwithT  10 місяців тому

      Simply get the Gender in string and DOB in datetime variable and store as we are storing others

    • @Hamza-yq7sj
      @Hamza-yq7sj 10 місяців тому

      @@CodingwithT ok sir

  • @alansomathew10
    @alansomathew10 10 місяців тому

    Thank you for this hands on Project❤.I have one doubt the PopScope is a inbuilt function but if I'm using that it display an error.can you please help to resolve that error

    • @CodingwithT
      @CodingwithT  10 місяців тому

      Thank you, please make sure there is no const keyword before it.

    • @alansomathew10
      @alansomathew10 10 місяців тому

      There is no const keyword. Is this PopScope is version depended im using the newest version of flutter @@CodingwithT

    • @CodingwithT
      @CodingwithT  10 місяців тому

      PopScope is the latest version of WillPopScope. Make sure to check WillPopScope also if it works.
      api.flutter.dev/flutter/widgets/PopScope-class.html

    • @alansomathew10
      @alansomathew10 10 місяців тому

      Thank you for the guidance❤🥰 @@CodingwithT

    • @theupperroom5331
      @theupperroom5331 10 місяців тому

      Just upgrade your flutter
      #flutter upgrade

  • @TusharKhandelwal-m6b
    @TusharKhandelwal-m6b 5 місяців тому

    bhai ye popups and loaders ke code kon krvaega seedha daal diye

  • @UmarFarooq-kw1nu
    @UmarFarooq-kw1nu 4 місяці тому

    Bhai ye 32;55 min pr throw tFrirebaseexpection ha isko kesy enter krna

    • @CodingwithT
      @CodingwithT  4 місяці тому

      Get it from the Starter kit

  • @project-v4n
    @project-v4n 9 місяців тому +2

    please give me the docer animation file drive link please

    • @CodingwithT
      @CodingwithT  9 місяців тому

      Already uploaded in the free starter kit

    • @Ikkiahsan
      @Ikkiahsan 9 місяців тому

      Sorry in advance sir, but I didn't find docer animation in the free starter kit even though I downloaded the latest one. can you tell me where the file is? Thank you sir@@CodingwithT

    • @CodingwithT
      @CodingwithT  9 місяців тому

      It's in the assets folder.

    • @Ikkiahsan
      @Ikkiahsan 9 місяців тому

      Sorry sir, it looks like I didn't see it at all. I've searched but can't find it sir, can you tell me which animation it is. Thank you sir 🙏🙏@@CodingwithT

    • @CodingwithT
      @CodingwithT  9 місяців тому

      I will share the updated version

  • @SyahmieHazren
    @SyahmieHazren 10 місяців тому

    Can you make a tutorial video for booking an appointment ?

    • @CodingwithT
      @CodingwithT  10 місяців тому +2

      Sure 😃, I think I should create booking app also 😸

    • @abiodunosagie
      @abiodunosagie 7 місяців тому

      Please do, i'll love to learn that too.😊@@CodingwithT

  • @CyberWu
    @CyberWu 10 місяців тому

    Sir, you didn't write the loaders class in the video. I'm confused。。😁

    • @CodingwithT
      @CodingwithT  10 місяців тому

      That's a helper class and if i write that then the tutorial will become lengthy.
      Although I showed in almost every tutorial.

    • @CyberWu
      @CyberWu 10 місяців тому +2

      ​@@CodingwithT Sir, helper classes, model classes, controller classes, and storage classes are pain points for Flutter beginners. It's not that they don't know how to write them, but rather that they don't know how to write them better. I hope there can be detailed explanations.Thank you for your selfless dedication.

  • @project-v4n
    @project-v4n 9 місяців тому +1

    please give me the drive link to docer animation

    • @CodingwithT
      @CodingwithT  9 місяців тому

      It's added in the free starter kit.

  • @shreyashgupta2706
    @shreyashgupta2706 3 місяці тому

    where is user model?

  • @ishannasker2489
    @ishannasker2489 6 місяців тому

    There is error throwing in doceranimation

    • @CodingwithT
      @CodingwithT  6 місяців тому

      I am sorry for your error. Can you please share your error?

  • @berkantyurtsever41
    @berkantyurtsever41 4 місяці тому

    dance Animation file is not in the asset.

    • @berkantyurtsever41
      @berkantyurtsever41 4 місяці тому

      dacerAnimation file is not in the asset. waiting your add in asset. @CodingwithT

    • @berkantyurtsever41
      @berkantyurtsever41 4 місяці тому

      I find. Check this assets and write the in image.strings.dart

  • @muvut3144
    @muvut3144 10 місяців тому

    Sir...app development karni hai...kya apse contact hosakta hai....???

    • @CodingwithT
      @CodingwithT  10 місяців тому

      G bilkul anytime.
      Message Coding with T on WhatsApp. wa.me/923178059528
      Or Mail me at support@codingwitht.com

  • @lenzyounda4449
    @lenzyounda4449 8 місяців тому

    there is not UserModel

  • @devellop44
    @devellop44 3 місяці тому

    I'm blocked in the step of the checkbox

    • @CodingwithT
      @CodingwithT  3 місяці тому +1

      Is there is anything you want to know?

    • @devellop44
      @devellop44 3 місяці тому

      @@CodingwithT Hello, my application does not display my snackbar although I followed the tutorial.

  • @Tharun-h4e
    @Tharun-h4e 9 місяців тому

    I didn't find the screen redirect video bro

  • @abdelouahebbenouar6157
    @abdelouahebbenouar6157 2 місяці тому

    Can't find docer animation

    • @CodingwithT
      @CodingwithT  2 місяці тому

      You can get that from the starter kit

  • @kuntal183
    @kuntal183 5 місяців тому

    Bro i had problem in onInit function

    • @CodingwithT
      @CodingwithT  5 місяців тому

      It sounds like you're encountering an issue with the onInit function. Could you please provide more details about the problem you're facing? This will help me assist you more effectively.

    • @isaacipole7157
      @isaacipole7157 5 місяців тому

      @@CodingwithT same here error on this line to be particular "_connectivitySubscription =_connectivity.onConnectivityChanged.listen(_updateConnectionStatus);"

    • @athulmp9952
      @athulmp9952 3 місяці тому

      @@isaacipole7157 i have same error .how to solve it

  • @TusharKhandelwal-m6b
    @TusharKhandelwal-m6b 6 місяців тому

    u should have given code snippetss in description

    • @CodingwithT
      @CodingwithT  6 місяців тому

      You can get the code from codingwitht.com/product/flutter-ecommerce-app-with-firebase/

  • @cedosseng
    @cedosseng 10 місяців тому

    hello sir thank for the tutorial where is
    1. TFirebaseAuthException,
    2. TFirebaseException
    3. TFormatException,
    4. TPlatformException😮‍💨😮‍💨😮‍💨

    • @CodingwithT
      @CodingwithT  10 місяців тому +2

      Added in the free Starter kit 🆓🎉💕

  • @codewithroman8180
    @codewithroman8180 10 місяців тому

    Firebase firestore data insertions and retrive

  • @cedosseng
    @cedosseng 10 місяців тому

    thanks sir you are the best

  • @richeriyas6888
    @richeriyas6888 6 місяців тому

    Buddies that json. Reader error will be on our tfullscreenloader.

    • @CodingwithT
      @CodingwithT  6 місяців тому

      can you please share complete error so that I get to know where the issue is.

  • @domcareer4048
    @domcareer4048 6 місяців тому

    hello sir i can not move to verifiedemailscreen this is show null operator use error please guide me

    • @CodingwithT
      @CodingwithT  6 місяців тому

      It seems like there might be a string or variable in your code that is expecting a value but isn't being assigned one, resulting in a null value. Make sure to check your code for any instances where a value might be missing. If you need further assistance, feel free to provide more details about the specific error you're encountering.

  • @FaheemAbbas-oj6pg
    @FaheemAbbas-oj6pg 5 місяців тому

    exceptional

  • @collinsolokpedje6818
    @collinsolokpedje6818 10 місяців тому

    Yay

  • @djamamockejoel159
    @djamamockejoel159 4 місяці тому

    i can create account but the next screen for email verfiication does not appear. on the console, i have this [GETX] GOING TO ROUTE /VerifyEmailScreen
    [GETX] CLOSE TO ROUTE /VerifyEmailScreen. please support

    • @CodingwithT
      @CodingwithT  4 місяці тому

      Have you debug the code?
      Check if you are sending proper email to next screen if required

    • @djamamockejoel159
      @djamamockejoel159 4 місяці тому

      @@CodingwithT i have solved it. i have removed the loaded TFullScreenLoader.stopLoading() in the finaly block

    • @alghanykennedy
      @alghanykennedy 2 місяці тому

      @@CodingwithT same error here, what do you mean proper email sir?

  • @albiummid
    @albiummid 10 місяців тому

    ❤❤🎉

  • @Suleiman-PC
    @Suleiman-PC 10 місяців тому

    😄🥰😍

  • @rahulborse7873
    @rahulborse7873 2 місяці тому

    type '(ConnectivityResult) => Future' is not a subtype of type '((List) => void)?' in type cast
    this error occur on this line _connectivitySubscription=_connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
    please give solution

    • @CodingwithT
      @CodingwithT  2 місяці тому +1

      This is because you have update connectivity plus package. Please contact us on whatsapp wa.me/447456285429 for the updated code.

  • @leguidehigh-tech.10
    @leguidehigh-tech.10 7 місяців тому

    Bonjour, je suis rendu à l'étape des controllers mais j'ai un champ avec déjà un Controller pour choisir la ville et un champ avec un bouton et un texte comment faire cela ? : TextFormField(
    controller: _cityController,
    onTap: _showCityPicker,
    readOnly: true, // Empêche l'ouverture du clavier
    decoration: const InputDecoration(
    labelText: 'Sélectionnez votre ville et votre quartier',
    prefixIcon: Icon(Icons.location_city_sharp),
    ),
    ),
    et if (_selectedFile != null) ...[
    const SizedBox(height: ESizes.defaultSpace),
    Text(
    'Justificatif téléchargé : ${_selectedFile!.path.split('/').last}',
    style: Theme.of(context).textTheme.bodyMedium,
    ),

  • @yungfizz8537
    @yungfizz8537 5 місяців тому

    Welldone sir, i get lost at the Network_manager . I am having issues with _connectivityStatus i need to create the class and also the _connectivity.onConnectivityChanged.listen(_updateConnectionStatus) is showing error

    • @CodingwithT
      @CodingwithT  5 місяців тому +1

      The reason is that Connectivity package changed the Connectivity to the list so we have to modify the code

    • @farelalgibrananhar4024
      @farelalgibrananhar4024 5 місяців тому +1

      @@CodingwithT can you show me the modified code?

    • @ahmedfouad1802
      @ahmedfouad1802 5 місяців тому

      Hi did u find the solution

    • @hackershood1341
      @hackershood1341 4 місяці тому

      try this
      @override
      void onInit() {
      super.onInit();
      StreamSubscription subscription = Connectivity().onConnectivityChanged.listen((List result){
      });
      }
      Future subscription (ConnectivityResult result) async {
      _connectionStatus.value = result;
      if (_connectionStatus.value == ConnectivityResult.none) {
      TLoaders.warningSnackBar(title: 'No internet Connection');
      }
      }

    • @RehmanJutt-zo4eg
      @RehmanJutt-zo4eg 4 місяці тому +1

      @@CodingwithT sir meny package bi new add kia hai oske bawajod _connectivity.onConnectivityChanged.listen(_updateConnectionStatus_ ya error arha hai plss help me-kafi kosish ki hai error resolve nhi ho raha

  • @godkingus
    @godkingus 10 місяців тому

    😜🤪♥♥♥