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

Поделиться
HTML-код
  • Опубликовано: 14 ноя 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!

    • @BugNinza
      @BugNinza  2 года назад

      Much appreciated!

  • @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 🧐

  • @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 2 года назад +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?

    • @BugNinza
      @BugNinza  2 года назад

      Use random query

  • @makolilikoko3884
    @makolilikoko3884 2 года назад

    thanks bug ninza🤗 you are good

    • @BugNinza
      @BugNinza  2 года назад

      Thank you too. Do Subscribe and keep supporting❤️

  • @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')

  • @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

  • @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: ruclips.net/video/S8AGpWn9qrM/видео.html

  • @olp9667
    @olp9667 Год назад

    Thanks m8, you just saved my ass! :D

    • @BugNinza
      @BugNinza  Год назад

      Haha..!! Keep supporting 🫡

  •  Год назад

    so thanks bro.

  • @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

  • @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

      ruclips.net/video/3X_F3IarWOU/видео.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?

  • @jonasradtke9658
    @jonasradtke9658 2 года назад +1

    where Souce?

  • @MuthuAnushya
    @MuthuAnushya 9 месяцев назад

    can i know its work for android

  • @ahmadirtisam9593
    @ahmadirtisam9593 Год назад

    will it work for real time database ?

    • @BugNinza
      @BugNinza  Год назад

      you have to change your code a lil bit.

  • @muhammadshiraz5805
    @muhammadshiraz5805 2 года назад

    please share code with me because i have a error

  •  Год назад

    İf its worked i will be your sub

    • @BugNinza
      @BugNinza  Год назад

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

  • @reverseArchive
    @reverseArchive Год назад

    옹ㅋ