Build Full Stack Social Media App in React Native #2 - Supabase Authentication

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

КОМЕНТАРІ • 30

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

    We appreciate the time you take to create these tutorials filled with valuable knowledge that benefit us.

  • @alfaloverss3116
    @alfaloverss3116 Місяць тому +2

    Waiting for more video .. upload krdo ek saath sir

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

    Thanks for these tutorials man, I'd been looking for a proper database setup for react native for a couple of days before finding your channel, keep it up ✌

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

    🎉 Was waiting for this to be released! Going to purchase the full source code to support the channel! Thanks so much @codewithnomi

  • @m__link6499
    @m__link6499 29 днів тому +2

    Nomi I found something very weird : when I try to implemente the supabase.auth.signUp I have notice that the createClient function (in supabase.js file) is empty. In your video (6:37), when you pass the cursor over the function createClient, you got "(alias) CreateClient

    • @vianneygiovannelli3360
      @vianneygiovannelli3360 13 днів тому +1

      Check this ! do you have the same ?
      import { AppState } from 'react-native'
      import 'react-native-url-polyfill/auto'
      import AsyncStorage from '@react-native-async-storage/async-storage'
      import { createClient } from '@supabase/supabase-js'
      import { supabaseAnonKey, supabaseUrl } from '../constants'
      export const supabase = createClient(supabaseUrl, supabaseAnonKey, {
      auth: {
      storage: AsyncStorage,
      autoRefreshToken: true,
      persistSession: true,
      detectSessionInUrl: false,
      },
      })
      // Tells Supabase Auth to continuously refresh the session automatically
      // if the app is in the foreground. When this is added, you will continue
      // to receive `onAuthStateChange` events with the `TOKEN_REFRESHED` or
      // `SIGNED_OUT` event if the user's session is terminated. This should
      // only be registered once.
      AppState.addEventListener('change', (state) => {
      if (state === 'active') {
      supabase.auth.startAutoRefresh()
      } else {
      supabase.auth.stopAutoRefresh()
      }
      })

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

    Great job my friend!

  • @MersiliaWax
    @MersiliaWax Місяць тому +2

    hello nice tutorial, I would be interested in subscribing to your courses but I have a couple of questions :)
    1. Why didn't you include the auth functions (onAuthStateChange, SignIn, SignUp, SignOut) inside the AuthContex.Provider provider, is there any particular reason?
    2. I don't see any function to recoverPassword via Email (Supabase offers these functions by sending a magic link to the email).

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

    why did you stop using tailwindcss ?

  • @naweedjaulim6058
    @naweedjaulim6058 12 днів тому

    Hi Nomi, thank you so much for this. I followed your tutorial and the sample code (through the coffee :)). I am getting an error and unable to integrate the auth provider. I have followed up your Travel App UI stack navigation example before and now trying to get supabase auth integrated. so essentially struggling to understand where I wrap the authprovider, whether it is in App.js or in the navigation. Appreciate the support.

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

    Amazing, can you please make a tutorial on rtl ltr on the latest expo 51? Thank you brother for your work!

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

    Thank you for your video.

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

      I supported this source code :) thank you again

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

      Thank you

  • @theekshanajw
    @theekshanajw 23 дні тому

    do a tutorial for password reset and google auth

  • @sachinarora7994
    @sachinarora7994 9 днів тому

    Hi @codewithnomi I am getting the white simulator screen after making the MainLayout. I copied you exact same but don't know the issue. Am stuck here. Can we connect on some other medium so I can show you the issue.
    Thanks in advance.

  • @hariprasadsingh405
    @hariprasadsingh405 10 днів тому

    Hii Nomi, I have an error when I am trying to sign up user it says database error saving new user pleas help me

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

    Could you provide any guide for running the backend on AWS? thanks

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

    hello Nomi please Add multi-language supported RTL
    and on change language don't restart the App with react-native-restart make the style change the Direction and language

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

    Finance app next time please

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

    If I use React-native Cli, is it actually installs Suoa?

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

    Make job searching app fully function plz plz plz

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

    Hugeicons looks good but it is no free…

  • @bilqimlb
    @bilqimlb 22 дні тому

    i have error
    Unable to resolve "./SupabaseClient" from "node_modules\@supabase\supabase-js\dist\main\index.js"