Is Userdefault Standard tied to Team ID?

Hi!

If the Team ID changes (due to app ownership change) but the bundle ID remains same, during over-installation from previous version of the app with old Team ID to newer version of the app with new Team ID, does the saved Userdefaults Standard in local devices will still be accessible after over-installation?

Thank you for your post. This is an excellent question. UserDefaults data is based on the app and Bundle ID.

If the bundle ID remains unchanged, the saved UserDefaults standard data should remain accessible after an over-installation, even if the Team ID changes. The bundle ID serves as the primary key associated with the application’s data sandbox on iOS devices.

However, if the application is sandboxed and the bundle ID were to change, accessing the previous UserDefaults would not be possible unless manual data migration is performed during the update.

The question arises whether your bundle ID will change or remain the same, thereby allowing the app to be updated.

Albert Pascual
  Worldwide Developer Relations.

Is Userdefault Standard tied to Team ID?
 
 
Q