Glover
  • Introduction
  • Video Guide
    • How to Setup Vendor
  • Usage Flows (FlowCharts)
  • Firebase
    • Firebase
    • Firebase firestore database
    • Firebase Security
    • Firebase Storage
    • Firestore indexes
    • Chat & Live tracking
  • Backend
    • NOTICE
    • VPS/Shared Hosting
    • Installation
    • Database Configuration
    • GUI Installer
    • Timezone
    • Firebase
      • Firebase Forgot password
    • Web Notification
    • Reskin Mobile App
    • Change Backend Color
    • Terminal
      • Commands
    • Screenshots
    • Auto-assignment
    • Order schedule
    • CRON job
    • Clear Data (Users/Orders etc)
    • Email Server Settings
    • SMS Gateway
    • Payment Gateways
    • Webhooks - Payment gateway
    • Vendor Subscription
    • Language / Translation
    • HOW TO UPDATE
    • In-App Live chat/support
    • Geocoding and Place search
    • Features
      • Firebase/Notification Delay
      • Fleet Management
      • Loyalty points
      • Home Screen Design
      • Featured Vendors
      • Trip recalculation/Outstanding payments
      • Switch between Taxi/Regular Driver
      • Data Translation - Backend
  • 🔥Supervisor Setup - VPS
    • Introduction
    • Install & Setup Supervisor
    • Taxi Booking
    • How to verify Taxi driver Vehicle
    • Websocket Setup
      • Laravel reverb Config
  • Flutter App
    • Getting Started
    • Steps
    • Directory Structure
    • Change App Name & ID
    • Change App icon & splash
    • App Color / Theme
    • Connect To Backend
    • Firebase
    • Firebase Auth - Phone
    • Firebase Phone OTP - Android
    • Firebase Phone OTP - iOS
    • Firebase Notification iOS
    • Share link - Firebase dynamic link
    • Social Media Login
      • Google login
      • Facebook Login
      • Sign-In with Apple
    • Google Map
    • Change App Language
    • Notification Sound
    • Custom Translation ~ 1.4.8
    • Custom Translation +1.5.0
    • Change App Font
    • Running on VS Code
    • Running on Android Studio
    • Generate Android Release App
    • Upload to Apple App Store
    • Screenshots
  • Demo Accounts
  • FAQs
    • Backend Image not working
    • Backend Backup not working
    • Upgrade without losing data
    • Backend Rollback
    • Blank Home screen
    • Custom Token
    • Product price zero(0) in details
    • Auto-cancel Not working
    • Pharmacy vendor
    • Vendor default rating
    • App logins
    • Error ==> type 'String' is not a subtype of type 'int'
    • NDK version error
    • Push Notification
    • Delivery Zone Map error
    • HOW TO UPDATE ADMINEND
    • Driver app rejected by Google
    • Cron job error
    • Auth pages Not working - App
    • Update App Translation
  • HOW-TO
    • Onboarding Settings
    • Setup Parcel Vendor
    • Set Vendor Custom Fees
    • Digital Products
    • Setup Taxi driver
    • Multiple Currency Taxi support
    • How Prescription Order works
    • Earning
      • Vendors
      • Drivers
    • QR Code Login
    • Single Vendor Mode
    • Enforce CASH Payment For Delivery Fee Only
    • System Contact Email
    • Driver Matching Flow
  • Extensions
    • Driver tracking extensions
    • Paymongo Gateway
    • Mercadopago Gateway
    • Nagad [Bangladeshi]
    • Paytrail
    • Paymaya Gateway
    • Emailer
    • POS
      • Mobile App
        • Requirement
        • Flutter SDK
        • Change App Name & ID
        • Connect To Backend
        • App build & release
      • Change logs
    • Glover Website
    • External Notifier
      • Slack Setup
      • Telegram Setup
    • Instamojo - Payment
  • Upgrades
    • How to update
    • Important: Backend VPS/Shared hosting
    • Older Version Upgrade Instructions
      • Upgrade to 1.2.1
      • to 1.2.3
      • ~ 1.3.2
      • to 1.3.1
      • to 1.3.3
      • to 1.3.4
      • to 1.3.5
      • to 1.3.7
      • to 1.3.8
      • to 1.3.9
      • to 1.4.0
      • to 1.4.1
      • to 1.4.2
      • to 1.4.3
      • to 1.4.5
      • to 1.4.6
      • to 1.4.7
      • 1.4.8
    • 1.5.0 - 1.5.9
      • 1.5.0
      • 1.5.1
      • 1.5.2
      • 1.5.3
      • 1.5.4
      • 1.5.5
      • 1.5.5-fix-1
      • 1.5.6
      • 1.5.7
      • 1.5.8
      • 1.5.9
    • 1.6.0 - 1.6.70
      • 1.6.0
      • 1.6.1
      • 1.6.2
      • 1.6.3
      • 1.6.4
      • 1.6.5
      • 1.6.6
      • 1.6.62
      • 1.6.63
      • 1.6.70
    • 1.7.00 - 1.7.21
      • 1.7.00
      • 1.7.01
      • 1.7.02
      • 1.7.10
      • 1.7.20
      • 1.7.21
    • 1.7.30 - 1.7.60
      • 1.7.30
      • 1.7.31
      • 1.7.40
      • 1.7.41
      • 1.7.42
      • 1.7.43
      • 1.7.44
      • 1.7.45
      • 1.7.50
      • 1.7.51
      • 1.7.60
    • 1.7.70
  • Change logs
Powered by GitBook
On this page
  • Android Setup
  • Select an App or Create a New App
  • Edit Your Resources and Manifest
  • Associate Your Package Name and Default Class with Your App
  • Provide the Development and Release Key Hashes for Your App
  • iOS Setup
  • Setup iOS Info.plist
  • Firebase Setup

Was this helpful?

  1. Flutter App
  2. Social Media Login

Facebook Login

PreviousGoogle loginNextSign-In with Apple

Last updated 3 years ago

Was this helpful?

To start working with facebook login, you must first create a facebook app in your facebook developer console.

To create a facebook app, click on this link:

  • On the create app page, select Consumer as the type of the app and click on Next

  • On the details page fill in your App Display name and support email. Then click on Create App

  • Now you have successfully created a facebook app.

Android Setup

Select an App or Create a New App

  1. Skip the step 2 (Download the Facebook App)

  2. Skip the step 3 (Integrate the Facebook SDK)

Edit Your Resources and Manifest

  1. Edit Your Resources and Manifest add this config in your android project

    • Open your /android/app/src/main/res/values/strings.xml file, or create one if it doesn't exists.

    • Replace YOUR APP NAME with your actual app name

    • Add the following (replace {your-app-id} with your facebook app Id):

      <string name="app_name">YOUR APP NAME</string>
      <string name="facebook_app_id">{your-app-id}</string>
      <string name="fb_login_protocol_scheme">fb{your-app-id}</string>

Associate Your Package Name and Default Class with Your App

In this step make sure your enter your application id/package id. Then the enter your package/application id in the second input field with .MainActivity. As your can see below, our application id is online.edentech.fuodz and the second input field online.edentech.fuodz.MainActivity.

Then click on Save

Provide the Development and Release Key Hashes for Your App

You should add key hashes for every build variants like release, debug, CI/CD, etc.

Note: Skip/Ignore the rest steps on the page

iOS Setup

  • Skip the step 2 (Set up Your Development Environment).

  • In the step 3 (Register and Configure Your App with Facebook) you need add your Bundle Identifier This is the same as your application/package id. Then click on Save.

  • You can find your Bundle Identifier in Xcode (Runner - Target Runner - General)

Setup iOS Info.plist

In the Step 4 you need configure your Info.plist file inside ios/Runner/Info.plist

From Xcode you can open your Info.plist as Source Code .

Under the CFBundleURLSchemes section replace {your-app-id} with your facebook app Id

Now at the very bottom of the Info.plist file change the following with values from your facebook app.

  1. APP-ID - same as facebbok app id

  2. CLIENT-TOKEN - This value can be found under Settings > Advanced > Client Token in your Facebbok App Dashboard.

  3. APP-NAME - Use your app name

Firebase Setup

Note: You must have completed setup of facebook login for android/ios setup to be able to setup facebook login on firebase console.

You need to enable Facebook sign-in on your firebase project. Login to your firebase console and select your project.

  1. Then select Authentication.

  2. On the authentication page select Sign-in methods.

  3. Then select Add New provider.

  4. After select Facebook in the list of auth providers.

  5. Enter your Facebook App id and secret

  6. Click the enable switch to enable it

  7. Then save

Go to

To find info to how to generate you key hash go to

Note: if your application uses then you should get certificate SHA-1 fingerprint from Google Play Console and convert it to base64

Go to and select or create your app.

Facebook Login for Android - Quickstart
https://developers.facebook.com/docs/facebook-login/android?locale=en_US#6--provide-the-development-and-release-key-hashes-for-your-app
Google Play App Signing
Facebook Login for iOS - Quickstart
https://developers.facebook.com/apps/create/