Skip to content

Initialize Firebase without GoogleService-Info.plist #8603

Answered by ncooke3
flying-turtle-tech asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there and thanks for the question.

Have you considered the FirebaseApp.configure(options:) API? Essentially, you can create a FirebaseOptions object, set the configuration info (from yourGoogleService-Info.plist) and then pass that into the above API to configure the Firebase App. This prevents the need for including a GoogleService-Info.plist file in your project.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paulb777
Comment options

Answer selected by flying-turtle-tech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants