Skip to content

Initialize Firebase App Instance with Credentials #2

@srbobo

Description

@srbobo

User Story

As an engineer, I should be able to initialize a Firebase SDK using my credentials so that my application can leverage the suite of authentication tools firebase provides.

Acceptance Criteria (Gherkin)

GIVEN: An engineer has obtained Firebase credentials (see below)
WHEN: The initialization method is called using the provided credentials
THEN: A Firebase App object is returned with the initialization information

Technical Notes

  • Example code below for the initializeApp method which displays the credentials required
// Initialize default app
// Retrieve your own options values by adding a web app on
// https://console.firebase.google.com
firebase.initializeApp({
  apiKey: "AIza....",                             // Auth / General Use
  authDomain: "YOUR_APP.firebaseapp.com",         // Auth with popup/redirect
  databaseURL: "https://YOUR_APP.firebaseio.com", // Realtime Database
  storageBucket: "YOUR_APP.appspot.com",          // Storage
  messagingSenderId: "123456789"                  // Cloud Messaging
});
  • Keith: Sam Bobo I think maybe the easiest way to approach this would be to take in a user's firebase app credentials and initialize the SDK in our library. The SDK also includes an initialization function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions