Besi
Besi

Reputation: 22959

Shared resources for two Apps from the same developer

Is it possible that AppA and AppB which are from the same developer share some local resources on a given device. For example they might use the same login credentials for some service.

Upvotes: 1

Views: 1076

Answers (4)

George
George

Reputation: 2594

In 2023, I am using App Groups to share data between apps. An App Group allows multiple apps developed by the same team to access one or more shared containers. See Apple documentation here https://developer.apple.com/documentation/xcode/configuring-app-groups

Upvotes: 0

Nikolai Ruhe
Nikolai Ruhe

Reputation: 81878

Apps cannot share files.

But they can share keychain access to store login credentials using keychain-access-groups. You have to set this up in the "Entitlements" section in the project summary.

Upvotes: 2

Stephan
Stephan

Reputation: 4263

No you can not share resources on the device directly but you can let them sync by iCloud.

iCloud allows you share resources between different devices, so why not between different application on the same device?

Sure there are some restriction with this approach, e.g. network connection, data size,.. but for some UseCases this might be a approach

Upvotes: 1

The dude
The dude

Reputation: 7924

Apps are sandboxed and can't share resources.

Upvotes: -1

Related Questions