Facebook Sign in Using React Native and Firebase Tutorial | React Native Tutorial And Project | JS

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

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

  • @congthanh3924
    @congthanh3924 4 месяца назад

    Why do I have this error : Invariant Violation: requireNativeComponent: "RNSScreen" was not found in the UIManager.

  • @christophergabba5431
    @christophergabba5431 Год назад +2

    Do you have to have the app uploaded to the play store in order for the Facebook SDK to accept your bundle identifier? I'm getting an error called 'There was a problem verifying that package name" when I try to submit my bundle identifier like you did on the meta for developers website.

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

      Have you found a solution how to sign in with Facebook without/before publishing to Google Play?

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

    Why does it only work with development build? Also, is development build mean ejecting from expo or just creating a build?

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

      Expo did not support native code previously, but after the Expo version 47 update, they now allow native code to be used within the Expo framework. To test your code on your device or emulator, the Expo team provides two methods - development build and preview mode. It's important to note that using these methods does not require you to eject from Expo. Instead, they are just alternative methods that can be used within the Expo framework. Once you start using them, you will become more comfortable.

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

      @@BugNinza Thank you for your response, i am currently using Expo version 46, does this mean i need to upgrade to 47 in order to use Facebook login? Also, Does this tutorial use version 47?

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

    dude i build approx 80% of my app using expo go, now im trying to work on auth i descover google fb etc.. works on EAS build, if i convert my app from expo go to standalone app, will this affect all the features that i build before, im trying to be carefull before i switch all my app

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

      No, it won't affect your previous code. Test your code in the development build method.

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

      @@BugNinza thnks bro

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

    hello sir what do you think this problem related to what ([Error: User logged in as different Facebook user.]) on signin

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

      You must signin to your facebook account in the testing device too (Android or iOS). Keep in mind that your account should be same. Follow the video carefully.

  • @williamferreira6427
    @williamferreira6427 7 месяцев назад

    My app display "The sdk has not been initialized. facebooksdk.sdkinitialize() ", What is this?
    Can you help-me?

    • @BugNinza
      @BugNinza  6 месяцев назад

      i'll update this tutorial video. stay tuned

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

    bro new subscriber here, i have one question, do i need to create another app in firebase console for facebook login? i have an app already for google login and i want my expo application to have google and facebook auth at the same time. Please answer

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

      No you don't have to create a separate firebase App for Facebook alone. Enable Google and Facebook sign in from the authentication section and fill the required keys

  • @DM-xq6ez
    @DM-xq6ez Год назад

    Hi, thank you for the tutorials. I am stuck on one issue where on the facebook web page it says "Submit for login review. Some permissions below have not been approved for use by facebook". Do you have any ideas on this? Thanks!

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

      Because we use the dummy data. Make sure to add the correct information

  • @СергейЛавринюк
    @СергейЛавринюк Год назад

    Hi, bro thx a lot for you tutorial, but could you plz help, i can continue works with expo publish --release-channel? Or i need use dev-client always ?

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

      The `expo publish` command is typically used in conjunction with the Expo CLI, which is a command-line tool for building and publishing Expo projects. If you are using the Expo CLI to build and publish your app, then you will not need to use the `dev-client` to continue working on your app. Instead, you can make changes to your app using your preferred text editor or IDE, and then use the `expo publish` command to build and publish your app when you are ready.

    • @СергейЛавринюк
      @СергейЛавринюк Год назад

      @@BugNinza ok cool, but how i can test FacebookSDK events ?

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

    Hi thank you for answering me questions in your authentication tutorials. I learn a lot. I have one more question, is there some way I can build Googlesignin and FBsignin using Expo go? Thank you.

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

      Yes, watch this video.

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

      @@BugNinza Hi Thank you for your reply. I watched your FB and Google signin with EAS build which cannot use Expo go. I am sorry for suggestion, if you can make a tutorial about Expo Auth Session for GoogleSignin in the future. Again, always appreciate you made these useful tutorials.

    • @minhnguyenhainhat234
      @minhnguyenhainhat234 10 месяцев назад

      @@liuyan8066 it absolutely can not use in expo go. You can read the document to understand

  • @JohnLhesterArco
    @JohnLhesterArco 6 месяцев назад

    LOG [TypeError: Cannot read property 'logInWithPermissions' of null]

    • @BugNinza
      @BugNinza  6 месяцев назад

      I'll update this tutorial. stay tuned

  • @tmr.hortezano
    @tmr.hortezano Год назад

    android bundling failed, in expo theres an error in dependencies... why?

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

      Retry. Sometimes it fails

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

    I am using google auth session (import * as AuthSession from 'expo-auth-session';) and this one. When I start my application with expo start I can only access google, when I start with expo start --dev-client I can't log in with google. I got this error (Error: Cannot use the AuthSession proxy because the project full name is not defined. Please ensure you have the latest version of expo-constants installed and rebuild your native app. You can verify that originalFullName is defined by running `expo config --type public` and inspecting the output.)facebook works fine, so I gave the command expo config --type public and is everything alright. Can you help me please, I liked so much yours videos.

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

      If you are using Facebook Auth with native codes then you have to use either the development build method or prebuild method to test. You cannot test the app in the expo go application.

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

      @@BugNinza I am using the building method from this video. I download he apk and enter with he url that I got the the terminal.

  • @Arshadkhan-tn6wh
    @Arshadkhan-tn6wh Год назад

    very nice sir your topics is awesome forever

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

      So nice of you. Keep supporting

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

    eas build failed after installing react-native-fbsdk-next. Without react-native-fbsdk-next, the build worked fine. any ideas how to fix it?
    react-native-fbsdk-next: 11.0.0
    expo: 46.0.0
    firebase: 9.11.0

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

      yeah, some times eas build show errors without any reason. There might be some kinda glitches. watch the video, follow the steps, and retry

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

      @@BugNinza Thanks for the video. I tried a couple of times again and it's the same result. I went to the eas build details and saw these errors:
      [stderr] Note: /home/expo/workingdir/build/node_modules/react-native-gradle-plugin/src/main/java/com/facebook/react/codegen/generator/SchemaJsonParser.java uses or overrides a deprecated API.
      ....
      > Task :react-native-fbsdk-next:compileDebugJavaWithJavac
      [stderr] /home/expo/workingdir/build/node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBProfileModule.java:50: warning: non-varargs call of varargs method with inexact argument type for last parameter;
      [stderr] callback.invoke(null);
      [stderr] ^
      [stderr] cast to Object for a varargs call
      [stderr] cast to Object[] for a non-varargs call and to suppress this warning
      [stderr] Note: Some input files use or override a deprecated API.
      [stderr] Note: Recompile with -Xlint:deprecation for details.
      [stderr] Note: /home/expo/workingdir/build/node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/Utility.java uses unchecked or unsafe operations.
      [stderr] Note: Recompile with -Xlint:unchecked for details.
      [stderr] 1 warning

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

    bro this video is insane thanks you so much, if my app work i want to give you money no joke

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

      Haha.. I'll make sure it will work. DM me if you face any error. But first, make sure to follow the video carefully. Step by step

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

      I have a question, when i want to install new package, i need to build again with eas? I want to install axios@@BugNinza

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

      Any changes to the app.json file. Rebuild

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

    thank you always bro you're amazing
    suggestion next video : CRUD Tutorial Using React Native + Firebase

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

      It's already here: ruclips.net/video/sc7RNl2YZHY/видео.html

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

    when you create google signe in created Android app in Firebase.but fecebook signein created web app in firebase and added initialize config. i confused in 1 app how to i uses both. thanks bro for awsome video.

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

      it is possible to merge a Firebase web app and a Firebase Android app into a single Expo app. Expo supports Firebase integration, and you can configure both the web and Android projects to use the same Firebase project.

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

    Hello, I got an error says "null is not an object (evaluating 'LoginManager.logInWithPermissions')" . do you know what might cause it?
    and your tutorials are awesome! I have followed previous one for google sign in and it works perfectly. :D
    looking forward for more!

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

      Check your signInWithFB function, I think you are passing null value to the LoginManager component. In case of any confusion, you can message me on my social media handle.

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

      @@BugNinza I rebuild the project and everything work perfectly both google and facebook. thank you so much for help :D you truely save my day

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

      Anytime, babu

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

      ​@@BugNinzahi i have the same error please help me

  • @केशव108
    @केशव108 2 месяца назад

    thanks buddy koi 100 like kr do bhai k

  • @emreusul6589
    @emreusul6589 10 месяцев назад

    invalid scopes:email error help

    • @BugNinza
      @BugNinza  10 месяцев назад

      await LoginManager.logInWithPermissions(['public_profile', 'email']);

    • @emreusul6589
      @emreusul6589 10 месяцев назад

      @@BugNinza When I add an email it doesn't allow it.

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

    iOS video please?

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

    thank you

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

      Welcome! Keep supporting

  • @johnkennethambag6554
    @johnkennethambag6554 10 месяцев назад

    hellppp meeee

    • @BugNinza
      @BugNinza  10 месяцев назад

      Yes??? DM me for quick response

  • @NoorMuhammad-f8v
    @NoorMuhammad-f8v 4 месяца назад

    i am facing an issue i had sent you message on insta but you have not replied me yet

  • @topvideos6141
    @topvideos6141 Год назад +1

    Attempt to invoke virtual method 'void com.facebook.AccessTokenTracker.stopTracking()'
    pleaseeeeeeeeeeeeeeeeee bro

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

      Don't use my key and it won't run on expo go app. Follow the video carefully

    • @DM-xq6ez
      @DM-xq6ez Год назад

      @@BugNinza I am also running into this issue. I am using development build and using my own key.