-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Vidline wants to access key "com.firebase.FiRInstallations.installations.1:19 312161103:ios:513816e35120d976bf153a" in your keychain. #9392
Comments
I found a few problems with this issue:
|
I don't understand how to modify it, are there any detailed steps to modify it? |
Hi @Tang-Hai, Sorry for the trouble. The steps for #8335 are to ensure that your project is properly signed and has the enabled the "Keychain Sharing" capability. Here's a Stack Overflow answer with instructions on how to enable keychain sharing. If the above advice does resolve the issue, I have three follow-up questions to help the team better understand the problem:
Thanks! |
It still pops up, I read in the firebase documentation that macos are supported. |
I get this popup twice for everytime user opens the app. I'm distributing with TestFlight a macOS App, first time no popup because I:
MacOS Entitlements is basically this: But when I distribute an update - without any code change, the two popups comes out. One is for FIRInstallation... and another one is named after my Bundle Identifier - both popup are for giving permission to access keychain. Every time user opens the app they have to give permission to access keychain. If I remove in my project this What I'm trying to say is that FirebaseApp.configure(), when the macOS app is launched, creates two items in the user macOS Keychain two entries in "Login" and as well introduces two popups to access those two items in the keychain everytime the user opens the app. PS: The keychain login item in my keychain named as my Bundle Identifier is not a result of the keychain implementation in my project. Because, as I said, if I remove FirebaseApp.configure() I don't see it when I install the app and run it. Also my keychain implementation uses a different name for storing things such as apitokens etc... For @ncooke3 :
8.9.1 and tried also with 8.11 (problem persists)
Analytics and Crashlytics
macOS Firebase team, we need help here :D |
Hi, is your problem solved? Are there alternatives? |
@Tang-Hai No unfortunately I haven't been able to solve it myself. I tried everything I could the keychain access group, the kSecUseDataProtectionKeychain flag... that only seems to solve issues on my side of the Keychain Usage. Not on the Firebase library. That's the reason I'm waiting for Firebase to give us more indication or guide us how we can get rid of it. |
Is it possible to use something except the keychain on macOS to store the identifier? |
I wanted to leave a quick update here: we have been investigating the issue and are currently working on a solution. I will share an another update soon– thank you for everyone's patience! |
Really looking forward to your update |
Sorry for the bump, but do we have an update on this topic? It's currently blocking any macOS release with Firebase. |
Hi everyone (and thanks for the bump @tommienu), tldr; We identified a solution and have been working to get the fix out in the next release, Firebase 9.6.0. Currently, this release is scheduled to be released next week. 🎉 From Firebase 9.6.0 onward, macOS targets depending on Firebase should be signed with a provisioning profile that has the Keychain Sharing capability enabled. This will be mentioned in the release notes and documentation. A little background behind the above requirement:The reason that the Keychain Sharing capability is needed is because in order to make the permission pop-ups go away, the macOS keychain has to be configured to treat items like the iOS-style keychain. The iOS-style keychain doesn't request access from the user because iOS apps have a sandbox to freely interact with their designated portion of the keychain. To replicate this behavior on macOS, we had to make a code change to tell the macOS keychain to treat interactions like that on iOS (this is what is being released in Firebase 9.6.0). However, this change alone is not enough as macOS needs to know that a Mac app has access to modify its own items. Only you, the developer, can give official authorization. Therefore, macOS targets that depend on Firebase need to be signed with a provisioning profile that has the Keychain Sharing capability enabled. Together, the keychain pop-ups will go away as the system will know exactly what keychain items your Mac app has permission to modify. And, in case it is not clear, these changes only apply to macOS targets using Firebase. Non-macOS apps will not require any action. |
Hi everyone, Just a quick fyi that Firebase 9.6.0 has been released. Please give it a go and let us know if you run into any trouble! As noted in above post and in the release notes, please enable the Keychain Sharing capability for your macOS targets to make sure everything works properly. Thanks! |
How to stop this popup from appearin !!!
g
The text was updated successfully, but these errors were encountered: