✏️
WorDroid
  • Getting Started
  • Requirements
  • Changelog
  • Step 1: Register your app
    • Register your app
    • Add your site
    • Add Navigation Drawer & Bottom Navigation Items
    • Configure Basic Settings
  • Step 2: Wordpress Plugin
    • Install the WordPress plugin
    • Sync the settings from dashboard
    • Customize app homepage
    • Notification Settings
  • OneSignal Configuration
  • Firebase Configuration
  • Step 3 : Android Studio Part
    • Change Package Name
    • Firebase Configuration
    • Add Site URL and Other Configuration
    • Change Text-to-speech language
    • Configure Login
    • Generating APK / Signed APK
  • FAQ
  • Bug Fixes
    • Release APK Crashes after signing
    • Unable to comment on posts
  • Data Helper
Powered by GitBook
On this page
  • Create a Firebase project and add you app automatically (Recommened)
  • Create a Firebase project Manually (Ignore this if you already have one)
  • Add your app to your Firebase Project

Was this helpful?

  1. Step 3 : Android Studio Part

Firebase Configuration

PreviousChange Package NameNextAdd Site URL and Other Configuration

Last updated 5 years ago

Was this helpful?

Create a Firebase project and add you app automatically (Recommened)

Use the Firebase Assistant

To open the Firebase Assistant in Android Studio:

  • Click Tools > Firebase to open the Assistant window.

  • Click to expand one of the listed features (for example, Analytics), then click the provided tutorial link (for example, Log an Analytics event).

  • Click the Connect to Firebase button to connect to Firebase and add the necessary code to your app.

Create a Firebase project Manually (Ignore this if you already have one)

  1. Create a Firebase project in the , if you don't already have one. Click Add project. If you already have an existing Google project associated with your mobile app, select it from the Project name drop down menu. Otherwise, enter a project name to create a new project.

  2. Optional: Edit your Project ID. Your project is given a unique ID automatically, and it's used in publicly visible Firebase features such as database URLs and your Firebase Hosting subdomain. You can change it now if you want to use a specific subdomain.

  3. Follow the remaining setup steps and click Create project (or Add Firebase if you're using an existing project) to begin provisioning resources for your project. This typically takes a few minutes. When the process completes, you'll be taken to the project overview.

Add your app to your Firebase Project

  1. Click Add Firebase to your Android app and follow the setup steps. If you're importing an existing Google project, this may happen automatically and you can just .

  2. When prompted, enter your app's package name. It's important to enter the package name your app is using; this can only be set when you add an app to your Firebase project.

  3. During the process, you'll download a google-services.json file. You can again at any time. Replace the exisiting google-services.jsonfile with the one you just downloaded.

  4. After you add the initialization code, run your app to send verification to the Firebase console that you've successfully installed Firebase.

Firebase console
download the config file
download this file