Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup [FIRapp configureWithOptions] passing Google .plist #880

Merged
merged 1 commit into from
Oct 3, 2018
Merged

setup [FIRapp configureWithOptions] passing Google .plist #880

merged 1 commit into from
Oct 3, 2018

Conversation

chrisid
Copy link
Contributor

@chrisid chrisid commented Sep 27, 2018

Fix for issue #866
Gets path for GoogleService-Info.plist and pass it as a parameter to FIRApp configureWithOptions

@briantq
Copy link
Contributor

briantq commented Sep 27, 2018

@chrisid Any idea why this is needed? I took a quick look at that method you reference and the only documentation that is provided is related to multiple projects and dynamically loading plists. From your code submission I don't think you are trying to load different plists, just the default one. I was trying to figure out why that is required.

@soumak77
Copy link
Contributor

@briantq based on the issue description, it might be an issue with iOS 12

@soumak77
Copy link
Contributor

Though if I were to have read the other comments, the issue is also being seen on iOS 11. Perhaps it's an issue with xcode 10?

@chrisid
Copy link
Contributor Author

chrisid commented Sep 28, 2018

@briantq I don't know why that's exactly needed but it's the only way I was able to get it working again. When the file is not passed, FIRApp does not find it and silently fails to configure. I'd love to understand why.

@soumak77 I also tried XCode 9 iOS 11 and the same happened.

@soumak77
Copy link
Contributor

soumak77 commented Oct 1, 2018

@briantq when you have a chance, could you verify this works with your app? So long as it doesn't break anything it seems fine to merge.

@briantq
Copy link
Contributor

briantq commented Oct 3, 2018

@soumak77 my project is in a bad state at the moment (still trying to figure out why...). One thing that crossed my mind is that if we think this is a XCode 10 issue that we might see if upgrading FIrebase resolves the issue (they might have included a fix for something). The current verision is 5.9.0 while we are using 5.7.0.

@soumak77
Copy link
Contributor

soumak77 commented Oct 3, 2018

Based on @chrisid comments, it also happens with xcode 9. There is a known issue with cordova-ios supporting xcode 10, but I'm not sure if that is related.

@soumak77
Copy link
Contributor

soumak77 commented Oct 3, 2018

It wouldn't hurt to upgrade the firebase SDK, but I don't think it'll fix this issue

@briantq briantq merged commit 81601bb into arnesson:master Oct 3, 2018
@briantq
Copy link
Contributor

briantq commented Oct 3, 2018

@soumak77 Thanks for mentioning about the known issue in XCode 10, that was why I was not able to get anything to work. I did test with the branch and after using the work around, did see notifications so I think the PR works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants