Skip to content

iOS Firebase failing initialization - componentDidMount call #25

@JosephSemrai

Description

@JosephSemrai

Describe the bug
Upon trying to load the LandingScreen component, the app throws an error due to not having a call to firebase.initializeApp(). This is after configuring the config file in the React Native build, as well as adding the Google services plist.
image

To Reproduce
Steps to reproduce the behavior:

  1. Follow developer instructions
  2. Create iOS client and move the Google services plist to the root of the iOS build directory
  3. Build application using xCode 11 with a target of 13.1
  4. See error upon opening app

Expected behavior
Login screen to be displayed

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Virtual iPhone 11 Pro Max
  • OS: iOS 13.1
  • Browser: Not relevant
  • Version: xCode 11

Additional context
Add any other context about the problem here.

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