Open
Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2019.4.13f1
- Firebase Unity SDK version: 6.16.1
- Source you installed the SDK: Unity Package Manager
- Problematic Firebase Component: Auth
- Other Firebase Components in use: App (Core), Cloud Messaging, Dynamic Links, Instance ID, Realtime Database, Cloud Storage, Cloud Functions
- Additional SDKs you are using: Facebook
- Platform you are using the Unity editor on: N/A
- Platform you are targeting: MacOS
- Scripting Runtime: IL2CPP
[REQUIRED] Please describe the issue here:
Having multiple builds on the one Mac with different names causes SaveUserData and DeleteUserData keychain errors. It seems as if the delete error appears once, followed by the adding error, and then the deleting error once more.
Error -25299 adding <app>.firebase.auth/__FIRAPP_DEFAULT: The specified item already exists in the keychain.
Error -25244 deleting <app>.firebase.auth/__FIRAPP_DEFAULT: Invalid attempt to change the owner of this item.
While this appears to mostly only be an issue for our dev team, we just want to find out whether there is anything we can do about it, as theoretically it could happen to end-users. Our builds are distributed through direct website downloads, rather than the Mac App Store, which means in the unlikely event that someone keeps an old build and renames it to something, this may occur.
Steps to reproduce:
- Create two versions of application using Firebase Auth for login, with different names (appending "copy" to the end of the name is sufficient).
- Clear keychain of anything related to application.
- Open primary build instance.
- Sign into any account.
- Application password is created in keychain.
- Open secondary build instance.
- Errors will occur.