Search code examples
androidiosfirebasefirebase-analytics

Same package name for iOS and Android apps in Firebase


I have added the iOS version of my App in firebase already, now I'm trying to add the Android version of the same App, but the problem is that both iOS and Android have the same package names. While adding Android, I'm getting the error An unexpected error has occurred. [Reason: Requested entity already exists]

Is it compulsory to keep bundle/package names different for both iOS and Android in firebase?


Solution

  • No, both iOS and Android app can have same package name. In fact, I have an Android/iOS apps which are connected to Firebase. For security reasons, I have to hide package name and other confidential information. But as you can see, you just need to click Add app button and create 2 apps one for Android, one for iOS. Best regards.

    Note: I added Android app first then added iOS App. If you still have a problem, there might be bug in Firebase side.

    enter image description here