[2024] React Native Firebase Authentication Phone Auth

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 14

  • @rusbelpm3132
    @rusbelpm3132 Месяц назад +2

    Thanks friend for those tutorials, they are very helpful.🙃

  • @noorsaid2259
    @noorsaid2259 Месяц назад +1

    amaaaaazers, you are an angel 🙌🏻

  • @Canon_gss
    @Canon_gss Месяц назад +1

    Hi, thanks for the video. However, I'm facing an issue with phone authentication-I don't receive the OTP when using my real number. I can only get it to work with the test number you used in the video.

    • @andrewheimdev
      @andrewheimdev  Месяц назад

      Yeah no problem.
      Can you make sure you don't have your number as a test number?
      Something else to try is if you already have a google developer account. I would create an app, have google signing for your keys. And generate the sha1 and sha256 key, add it to the firebase google account. Redownload the google-services.json file and it to your app, and rebuild.
      Check if OTP is in spam as well.
      Check if your application ID matches with your package-name
      There could be a lot of things that is causing it, but from looking at some stack overflow, it sounds like a problem with the sha-1 key. And in the tutorial I only get the debug key.

    • @Canon_gss
      @Canon_gss Месяц назад +1

      yes, I was encountering SHA-1 issues, but I've already resolved that. now whenever I try, I keep getting an "auth/internal-error" with no additional error details.

    • @andrewheimdev
      @andrewheimdev  Месяц назад +1

      @@Canon_gss Hmmm yeah not sure without more details, but make sure you are using a test number. You might be hitting your OTP limit for firebase

    • @Canon_gss
      @Canon_gss Месяц назад

      @@andrewheimdev yeah, i think so.

  • @gabrieledid9568
    @gabrieledid9568 Месяц назад +1

    Did you have to do expo Eject for this solution?

    • @andrewheimdev
      @andrewheimdev  Месяц назад

      No you don't need to! You just need to modify the app.json to change the native code.

  • @syntax_studioz
    @syntax_studioz 19 дней назад +1

    If you'd please be more detailed you do a lot of jumps take not there are beginners watching

    • @andrewheimdev
      @andrewheimdev  19 дней назад

      sure thing, I'll try and keep the pacing slower for these tutorials