Friday, April 19, 2024
HomeiOS DevelopmentFlutter iOS - Initialize a number of Firebase initiatives with out a...

Flutter iOS – Initialize a number of Firebase initiatives with out a number of Google Companies plist information


questions much like this has been requested a number of instances however I can not seem to discover one which matches what I want.

Utilizing my app on an Android system, I’m able to initialize Firebase initiatives with its choices and title with out having to place in a Google Companies file however on an iOS system it does not work.

I discovered that it wants the Google App Id particular for iOS from my Firebase undertaking. In Firebase for Swift, it’s potential to specify the google app id within the choices as proven right here:

configure Firebase undertaking with google app id

(https://firebase.google.com/docs/initiatives/multiprojects)

Firebase choices for initialization in Flutter doesn’t have the ‘google app id’ subject specified.
Firebase Choices parameters in Flutter

I additionally seen that the sector must be named Google App ID for it to work.
That is the error I get every time I attempt to initialize a secondary app:

code:

myApp = await Firebase.initializeApp(
              title: newOptions.projectId, choices: newOptions);

error:
Firebase error in console

Can anybody recommend a solution to remedy this drawback or a walk-around?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments