Fetch The Data From Firebase Database In React Native Expo Apps | React Native Tutorial | JavaScript

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

КОМЕНТАРІ • 47

  • @BugNinza
    @BugNinza  2 роки тому +2

    Do Subscribe and keep supporting❤️

  • @halfamoose
    @halfamoose Рік тому +3

    Read over 10 completely diff ways to do this, and yours is the one that worked....You're the Man.

    • @BugNinza
      @BugNinza  Рік тому

      Haha Thanks!! Keep supporting 🫡

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

    Plz help, - I want to access data after login, (based on a specific phone number ) -:
    Condition -
    1. Phone number is already stored in database.
    when a user login - only number that is stored can access login.
    -2. After login the details which is stored in database is fetch on a specfic login user.

  • @tamaspalya5374
    @tamaspalya5374 2 роки тому +1

    I subscribed, great videos mate!

  • @inezkok3746
    @inezkok3746 Рік тому +1

    hi is there any reason why my cards are displayed as blanks and how do i solve this issue? (the number of cards are correct but the data in each card is missing)

    • @BugNinza
      @BugNinza  Рік тому

      Change the font color of the text displayed in the card. Typos and formatting errors can sometimes occur, so it's always a good idea to double-check your work.

  • @RajPatel-ql5ly
    @RajPatel-ql5ly Рік тому +1

    I am trying to get a random data so that I can display only one document. Every time I refresh, it should show one random data. Can you help me?

  • @rabnawazali6061
    @rabnawazali6061 11 місяців тому

    hey sir plz make a vedio on content user access only in firebase with reactnative expo

    • @BugNinza
      @BugNinza  11 місяців тому

      I am not getting you. Can you please explain 🧐

  • @makolilikoko3884
    @makolilikoko3884 2 роки тому

    thanks bug ninza🤗 you are good

    • @BugNinza
      @BugNinza  2 роки тому

      Thank you too. Do Subscribe and keep supporting❤️

  • @olp9667
    @olp9667 Рік тому

    Thanks m8, you just saved my ass! :D

    • @BugNinza
      @BugNinza  Рік тому

      Haha..!! Keep supporting 🫡

  • @brnbk8910
    @brnbk8910 2 роки тому

    I would like to add images using this method, could you help me?

    • @BugNinza
      @BugNinza  2 роки тому

      you can add an image and store it to firebase's storage. You can check this: ua-cam.com/video/S8AGpWn9qrM/v-deo.html

  • @susanshu7725
    @susanshu7725 2 роки тому

    Every time, when I first enter into this page, it cannot grab the data, which shows "undefined is not an object". Does anyone have the same situation?

    • @BugNinza
      @BugNinza  2 роки тому

      I think you are using come undefined object. Can you tell me more about your error. You can send me screenshots on my social media handle.

    • @flywithnelson
      @flywithnelson 2 роки тому

      @@BugNinza I'm having the same issue.. TypeError: undefined is not an object (evaluating '_authApi.default.firestore')

  • @ahmadirtisam9593
    @ahmadirtisam9593 Рік тому

    will it work for real time database ?

    • @BugNinza
      @BugNinza  Рік тому

      you have to change your code a lil bit.

  • @mageshwars5191
    @mageshwars5191 2 роки тому

    Im getting an error.......useEffect must not return anything besides a function.......it says that it is because we use async in use effect

    • @BugNinza
      @BugNinza  2 роки тому +1

      Remove async ()

    • @mageshwars5191
      @mageshwars5191 2 роки тому

      @@BugNinza another doubt....I have to fetch date too....how do I do that?.....i tried to fetch createdAt....but it's not working

    • @norman2213
      @norman2213 Рік тому

      const fetchTodos = async () => {
      const snapshot = await todoRef.get();
      const userArray = [];
      snapshot.forEach((doc) => {
      const { heading, text } = doc.data();
      userArray.push({
      id: doc.id,
      heading,
      text,
      });
      });
      setUsers(userArray);
      };
      useEffect(() => {
      fetchTodos();
      const unsubscribe = todoRef.onSnapshot(() => {
      fetchTodos();
      });
      return () => {
      unsubscribe();
      };
      }, []);
      should work here

  • @MikessGaming
    @MikessGaming Рік тому

    can you make how to search using firebase database

  •  Рік тому

    so thanks bro.

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

    can i know its work for android

  • @brnbk8910
    @brnbk8910 2 роки тому

    Ótimo tutorial, muito obrigado 🙏

    • @BugNinza
      @BugNinza  2 роки тому

      Que bom que funcionou. Continue apoiando

  • @brnbk8910
    @brnbk8910 2 роки тому

    Pode me ajudar ?
    Como eu faço para renderizar uma imagem ?

    • @BugNinza
      @BugNinza  2 роки тому +1

      ua-cam.com/video/3X_F3IarWOU/v-deo.html

    • @ismaelpaul367
      @ismaelpaul367 2 роки тому +2

      @@brnbk8910 mano, o cara não fala português. usa um google translator pra pelo menos facilitar pro cara

    • @brnbk8910
      @brnbk8910 2 роки тому +1

      @@BugNinza I would like to add images using this method, could you help me?

  • @olivierboulanger1118
    @olivierboulanger1118 Рік тому

    That do not work. Metro encoured an error ... No solutions found

    • @BugNinza
      @BugNinza  Рік тому

      Check the dependencies version, then check your components and code. Or if you're confused then start fresh

  • @muhammadshiraz5805
    @muhammadshiraz5805 2 роки тому

    please share code with me because i have a error

  • @jonasradtke9658
    @jonasradtke9658 2 роки тому +1

    where Souce?

  •  Рік тому

    İf its worked i will be your sub

    • @BugNinza
      @BugNinza  Рік тому

      Let me know. I'll make sure it will work 😃

  • @reverseArchive
    @reverseArchive Рік тому

    옹ㅋ