I am running an app with the Firebase 3.x SDK, and looking to conditionally use a different configuration .plist to point to a different Firebase location depending on whether the app is configured for development vs production.I am trying to use FIRApp's configureWithOptions to accomplish this, where I set a different plist path for the FIROptions that I pass as a parameter. However, when I use a path to something like "GoogleService-Dev-Info.plist" I get a console warning from Firebase/Core that states "GoogleService-Info.plist" could not be found. I see that all of the properties of the FIROptions object are populated with what I would have expected out of my GoogleService-Dev-Info.plist file, so I'm not sure what I'm not understanding. Is there something hardcoded in the Firebase SDK to go to GoogleService-Info.plist regardless of any options passed in?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/7a7c16e4-49b2-4146-a7a7-f7dd2a22ab17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
let plistPath: String!
if (isDebug) {
plistPath = Bundle.main.path(forResource: "GoogleService-Info-Debug", ofType: "plist")
} else {
plistPath = Bundle.main.path(forResource: "GoogleService-Info", ofType: "plist")
}
if let options = FIROptions.init(contentsOfFile: plistPath) {
FIRApp.configure(with: options)
} else {
print("Couldn't find options file at \(plistPath)")
}
--T
Shawn,Can you please share specific version info (more specific than 3.x) as well as some code illustrating?☼, Kato
On Wed, Nov 9, 2016 at 8:27 AM, Shawn Paulson <slpa...@gmail.com> wrote:
I am running an app with the Firebase 3.x SDK, and looking to conditionally use a different configuration .plist to point to a different Firebase location depending on whether the app is configured for development vs production.I am trying to use FIRApp's configureWithOptions to accomplish this, where I set a different plist path for the FIROptions that I pass as a parameter. However, when I use a path to something like "GoogleService-Dev-Info.plist" I get a console warning from Firebase/Core that states "GoogleService-Info.plist" could not be found. I see that all of the properties of the FIROptions object are populated with what I would have expected out of my GoogleService-Dev-Info.plist file, so I'm not sure what I'm not understanding. Is there something hardcoded in the Firebase SDK to go to GoogleService-Info.plist regardless of any options passed in?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/7a7c16e4-49b2-4146-a7a7-f7dd2a22ab17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"GoogleService-Dev-Info" ofType:@"plist"];
FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath];
FIRApp configureWithOptions:options];
2016-11-10 11:09:36.792 AuthenticationExample[77556] <Error> [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
2016-11-10 11:09:36.793 AuthenticationExample[77556] <Error> [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
Shawn,Can you please share specific version info (more specific than 3.x) as well as some code illustrating?☼, Kato
On Wed, Nov 9, 2016 at 8:27 AM, Shawn Paulson <slpa...@gmail.com> wrote:
I am running an app with the Firebase 3.x SDK, and looking to conditionally use a different configuration .plist to point to a different Firebase location depending on whether the app is configured for development vs production.I am trying to use FIRApp's configureWithOptions to accomplish this, where I set a different plist path for the FIROptions that I pass as a parameter. However, when I use a path to something like "GoogleService-Dev-Info.plist" I get a console warning from Firebase/Core that states "GoogleService-Info.plist" could not be found. I see that all of the properties of the FIROptions object are populated with what I would have expected out of my GoogleService-Dev-Info.plist file, so I'm not sure what I'm not understanding. Is there something hardcoded in the Firebase SDK to go to GoogleService-Info.plist regardless of any options passed in?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/7a7c16e4-49b2-4146-a7a7-f7dd2a22ab17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
let plistPath: String!
plistPath = Bundle.main.path(forResource: "GoogleService-Dev-Info", ofType: "plist")
if let options = FIROptions.init(contentsOfFile: plistPath) {
FIRApp.configure(with: options)
} else {
print("Couldn't find options file at \(plistPath)")
}
2016-11-10 12:58:48.117 AuthenticationExample[77881] <Error> [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
2016-11-10 12:58:48.118 AuthenticationExample[77881] <Error> [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
I'm trying to figure out if this is just noise due to an issue in the Firebase SDK (which would be unfortunate) or if I truly have a problem.
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/Y-lZjENzXZ8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/01429be4-954e-476a-9cd7-f98277c66baf%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/9c2f69c6-2693-4253-9213-1c5feb479ef7%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/4d8bd26e-a200-4ef1-be31-ab0dccba5184%40googlegroups.com.