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?