Search code examples
iosapp-idbundle-identifier

Can 2 same bundle ID cause any conflict?


I read from Cocoa Core Competencies that

An App ID is a two-part string used to identify one or more apps from a single development team. The string consists of a Team ID and a bundle ID search string, with a period (.) separating the two parts.

However it also says that,

The bundle ID is a unique identifier that identifies a single app and cannot be used by other teams.

I see that we can't register an App ID in the Developer account portal with same bundle ID of an app that is on the appstore.

An App ID with Identifier 'com.example.myapp' is not available. Please enter a different string.

So I don't know if 2 apps from 2 developers can have same bundle ID (like com.example.MyApp), and if this causes any conflicts?

  • Can these 2 apps be installed on the device?
  • Can these 2 apps be allowed on the app store?
  • How does Push Notification work with these 2 apps ?
  • I see that many services like Fabric Crashlytics, Urban Airship, Google App Invites, ... depends on the Bundle ID to differentiate among apps.

Solution

  • Can these 2 apps be installed on the device?

    No, it won't. It will replace the existing app.

    Can these 2 apps be allowed on the app store?

    No, you cannot create Apps on App Store with same bundle ID.

    How does Push Notification work with these 2 apps ?

    Push Notifications will show for the app it is made for whose Push Certificates etc are made