Next Hour App
  • Introduction
    • Introduction
    • Key Features
    • Flutter
  • Installation
    • Flutter Installation
    • App Secret Key
  • project setup
    • App Deployment
      • Firebase
    • iOS Setup Instructions
    • Google Drive Key
    • OneSignal
    • Images
    • Reskinning
  • Publish your app
    • Requirements to Publish App
  • FAQ
    • Installation FAQ's
    • Access Denied
    • General Setting
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • Troubleshoot
    • Troubleshoot
    • Changelogs
  • Source & credit
    • Source & Credit
  • Support
    • Support
  • conclution
    • Conclusion
  • our products
    • Next Hour Addons
    • Our Products
  • Api Document
    • Getting Started
  • Get secret key
  • Auth Api
    • Login
  • Home Page Api
  • Actor detail page
  • Payment Api
    • Payment Method List
    • Manual payment list
    • Subscribed with manual payment
    • Subscribed with free subscription
    • Subscription Stop and Resume
    • Invoice
  • Player Setting Api
    • Player Setting
    • Advertise
  • User Api
    • View User profile
    • Wishlist
    • Watch History
    • User Profile Update
    • Manage Profile
    • Notification
  • Coupon Api
  • Other Api
    • List of Contents
    • Menu
    • Slider
    • Package
    • List of all movies
    • List of all tvseries
    • List of all movies, tveries and top movie and tvseries
    • Recent Movies and Tvseries
    • List of menu by movies and tvseries
    • Language by movies and tvseries
Powered by GitBook
On this page
  • Firebase Console Setup
  • Google Login
  • Facebook Login
  • SHA1 and SHA-256 KEY
  1. project setup
  2. App Deployment

Firebase

PreviousApp DeploymentNextiOS Setup Instructions

Last updated 3 years ago

Firebase Console Setup

  1. Go to firebase console

2. Create your firebase account

3. Click on Add project

4. Enter your app name and then click on continue

5. Enable Google analytics for this project and then continue

6. Select default account for firebase, then create project

7. Your firebase project is set up

Google Login

  1. Click on your project, select android app [ IMAGE 1 ]

  2. Then click on continue to console in the last step

  3. go to firebase console -> project overview -> project setting [ IMAGE 3 ]

  4. Copy SHA1 and SHA-256 key and paste it in the firebase project by add fingerprint and save the keys [ IMAGE 4,5,6 ]

  5. Download the google-services.json file and add this file in the app code

    Go to project directory -> android ->app

    now add your google-services.json file here

  6. Then to enable google login

  7. Go to Authentication, click on get started. Then go to sign in method.

  8. Go to google, enable the google. Add support email and then save

Facebook Login

2. Click on get started

3. Register your app as a Developer account

4. Click on Create app and then Select Business and continue

5. Complete the details of the app and then click on create app

6. Now complete the details and use the app id in the app code at the path

project directory-> android-> app-> src-> main-> res-> values-> strings.xml

To create hash key

• Copy the command to create hash key

• Open command prompt

• Paste the command in cmd

• edit your path and then enter the keystore password used in the app code

• copy that hash key and paste it in the Key hashes column and continue

SHA1 and SHA-256 KEY

  • go to the android studio

  • open terminal and run the command as follow

  • cd android [enter]

  • then run the command gradlew signingReport [enter]

  • copy the SHA key [ SHA1 and SHA-256 ] [Variant: release ]

Register your app by adding package name, app name and [IMAGE 2 ]

1. Go to

https://developers.facebook.com/
sha1 certificate
https://console.firebase.google.com/
Add your App name
Select your Default Account