-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[macOS] User sees permissions popup saying, "[App] wants to use your confidential information stored in 'com.firebase.FIRInstallations.installations' in your keychain." #5540
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
Comments
I found a few problems with this issue:
|
@JakeSc Thank you for the report. Since Firebase Mac OS is in a state of Community Support, there still may be cases that are not handled really well. We appreciate your help with making Mac OS support better. The alert is a result of Firebase Installations SDK storing a generated device ID and supplementary information in the Keychain. Could you please provide more details on your workflow:
|
Hi @maksymmalyhin, thanks for the information. I see this issue when running the app signed with a Developer ID Cert and ProvProf, as well as an Apple Development Cert. I have not tested this with a Distribution Cert + PP. How do I observe Keychain items created by my app? I searched Keychain Access for the name / bundleID and didn't see anything there. I am hesitant to allow access, because I fear that would be permanent and I would thus be unable to test this flow as my users would. In other words, I want to make sure I continue to see the popup until this issue is fixed or there is a workaround. How can I reset the keychain access state, so I can reproduce the issue after allowing access? |
How do I observe Keychain items created by my app? I could reproduce the prompt by installing an app signed with one dev account and then re-installing the app but signed with a different dev account. Firebase issue We will consider a Mac OS specific fix to make the Keychain service name unique per application to avoid the interference. |
@JakeSc As you currently know how to reset relevant Keychain Items for testing, could you please let us know if you observer the alert when you reinstall the application without changing signing settings? Also we would appreciate testing of the changes from #5603 (currently in master) if you can. You may add the following line to your
I would recommend publishing your app to users with #5603 changes (expected to be officially released in ~2 weeks) to avoid potential permission popups in case a user has another app with Firebase installed. |
Hey @JakeSc. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Hey @JakeSc. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @JakeSc if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
@JakeSc I hope the issue was solved for you, but feel free to reopen with more details if not. |
I added the suggested line
`Launching lib/main.dart on macOS desktop in release mode...
Error output from CocoaPods: Error running pod install` |
When adding pods from the master branch, it also may be required to include its dependencies that are also in the repo. In this case |
However, in this case, it's not likely to help, since the bug was addressed in the already releases |
Ok so I tried pod up update before posting. No luck. Next, I tried adding
Note, after running this and then running the app it would not even build. The following build commands failed:
In Podfile: Specs satisfying the None of your spec sources contain a spec satisfying the dependency: You have either:
finally, I added both suggestions In Podfile:
None of your spec sources contain a spec satisfying the dependencies: You have either:
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target |
@bsneider The fix is part of Firebase 6.26.0, so there is no need to use a branch. As mentioned above, there are several cases when the permissions popup is presented and some of them cannot be fixed on Firebase side. Could you please answer the questions from the comment to understand better your particular case? |
For future readers– this issue resurfaced in later Firebase versions and was fixed in Firebase 9.6.0. Please see this post for more details. To fix this issue, upgrade to Firebase 9.6.0+ and ensure that the provisioning profile you use to sign your macOS target has the Keychain Sharing capability enabled. |
[REQUIRED] Step 1: Describe your environment
Firebase/Crashlytics
andFirebase/Analytics
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
This is for a macOS application, running on macOS 10.15.4. I see the issue when signing my app with a Developer ID cert with the DEBUG flag, but I don't see it when running with a macOS Development certificate.
In
applicationDidFinishLaunching
, I have simply:Upon launch I then see this:

I haven't tried to proceed by entering my password, or Denying the request.
Relevant Code:
Is there a workaround for this, so I can avoid spooking my users with this keychain perms request? Thanks!
The text was updated successfully, but these errors were encountered: