Ionic iCloud

I am trying to generate iCloud token from iCloud container.

Is there any specific plugin in Ionic to get a id from iCloudContainer.

Like the below given code in swift

func iCloudUserIDAsync(complete: @escaping ( _ instance: CKRecord.ID?, _ error: NSError?) -> ()) {

let container = CKContainer(identifier: “iCloud.com.test.SampleApp”)

// let container = CKContainer.default()

container.fetchUserRecordID() {

recordID, error in

if error != nil {

print(error!.localizedDescription)

complete( nil , error as NSError?)

} else {

//print(“fetched ID (recordID?.recordName)”)

complete(recordID, nil )

}
}

Is there any procedure to use iCloud in ionic?

When it comes to iCloud/Cloudkit synchronization, no one responds or offers a solution. This is the most important feature and the only one missing from my app too…
Not being able to make an iOS app work with iCloud and the privates/public database to have synchronization between devices seems unacceptable to me in 2024 (without going through external solutions). There are plugins for everything, but nothing on this subject.