You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two iOS devices that have the same iCloud and the same gallery.
We use the "id" field in AssetEntity as a unique identifier for the image.
However, if I do AssetEntity.fromId(1) on one device and AssetEntity.fromId(1) on another, will I get the same image?
As I understand it, the id field is local for each device (localIdentifier), so I will receive different images using the same identifier.
Is there any way to get the same image on different devices but with the same gallery?
This is important for my application because I need to remember which images the user has already used, and if he wants to transfer the data to a new device, then I will have problems with this.
Platforms
iOS
Description
I have two iOS devices that have the same iCloud and the same gallery.
We use the "id" field in AssetEntity as a unique identifier for the image.
However, if I do AssetEntity.fromId(1) on one device and AssetEntity.fromId(1) on another, will I get the same image?
As I understand it, the id field is local for each device (localIdentifier), so I will receive different images using the same identifier.
Is there any way to get the same image on different devices but with the same gallery?
This is important for my application because I need to remember which images the user has already used, and if he wants to transfer the data to a new device, then I will have problems with this.
My code
No response
Try do it
I see that iOS has a cloudIdentifier. Is it possible to somehow get it using PhotoManager via AssetEntity?
https://developer.apple.com/documentation/photokit/phcloudidentifier
The text was updated successfully, but these errors were encountered: