Questions tagged [cloudkit-web-services]

70 questions
1
vote
1 answer

How Do I read CloudKit Errors?

I have a php script that's trying to create a record in a CloudKit database. It returns this error: object(stdClass)#1 (3) { ["uuid"]=> string(36) "c70072a1-fab6-491b-a68f-03b9056223e1" ["serverErrorCode"]=> string(11) "BAD_REQUEST" …
Peter Wiley
  • 820
  • 7
  • 19
1
vote
1 answer

Cloudkit Web Service Query BadRequestException

I'm trying to query CloudKit for a simple object where the name equals a string but I am getting back a BadRequestException. The RecordType is "Teacher" with parameters "Name" and "Grade". I'm guessing there is something wrong with my query filter…
adam0101
  • 1,198
  • 2
  • 16
  • 24
1
vote
1 answer

Cloudkit JS sample code?

I have an iOS app using Cloudkit and now I'm developing a web application (with HTML5, CSS and Javascript) to register users. I already read the documentation and follow some tutorials, but nothings seems to work. Sometimes there is no error, so i…
1
vote
1 answer

Angular 2 and Cloudkit JS - resolving response promises

I'm trying to get Angular 2 work with Cloudkit JS, currently a simple Todo. todo.request.js: var todorequest = { get: function(){ var container = CloudKit.getDefaultContainer(); var publicDB = container.publicCloudDatabase; …
1
vote
1 answer

How to authenticate CloudKit JS in react JS or React-Redux JS

I am very new to web development. I have downloaded the CloudKit JS & adding in index.html in script tag. And I made sure it loads before my react-redux bundle JS. I have…
1
vote
1 answer

React native Cloudkit push notifications in android

How to register for cloudkit push notifications in react-native android? Thanks!
Ted
  • 22,696
  • 11
  • 95
  • 109
1
vote
1 answer

Using CloudKit public storage to store messages - security concerns

I'm wanting to use CloudKit public storage to power a messaging app. All messages would be stored on the public storage, with the sender and recipient Users as relationships, that way someone using my app can fetch all messages where they are the…
Andrew
  • 7,693
  • 11
  • 43
  • 81
1
vote
3 answers

Can I access standard iOS Notes and Reminders' data using CloudKit web services or something like that?

I am thinking of building an Android app that fetches Notes and Reminders associated with an Apple ID. Is it possible to access them with http requests somehow? icloud.com uses their data, so I thought maybe it is exposed via some API, but I cannot…
alchemiss
  • 398
  • 4
  • 16
1
vote
1 answer

How do I query for nil values with CloudKit.js?

Using CloudKit.js, how do I construct a query that matches items where a field is nil? Every permutation I've tried fails - either it's clearly matching on a string value (i.e. "null" or "nil") or it throws an error if I actually try to pass…
Hunter
  • 4,343
  • 5
  • 42
  • 44
1
vote
2 answers

Updating a record with CloudKit JS

CloudKit JS offers methods to save, delete and fetch records but there is no easy methods to update en existing one. The documentation explains how to do it: var query = { operationType : 'forceUpdate', recordType: 'List', record : { …
Armand Grillet
  • 3,229
  • 5
  • 30
  • 60
1
vote
0 answers

Is it a way to create CloudKit account based on Facebook login button?

The issue with CloudKit web services is the authentication. Who use CloudKit from browser or from a web component on Android, will not have Apple ID, so they have to go though the registration process. choose Apple ID set birthday set first / last…
János
  • 32,867
  • 38
  • 193
  • 353
1
vote
1 answer

How to create auto-increment ID's in CloudKit JS?

Is there a solution for this in CloudKit JS? I have not been able to write a successful query to even get the ID of a Record. The question in this link was here before, it is related if you'd like to take a look. How to query for Metadata in…
SamYoungNY
  • 6,444
  • 6
  • 26
  • 43
0
votes
0 answers

How to fetch ckWebAuthToken?

I am trying to make CloudKit Web service work by following the Apple Documentation at https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/SettingUpWebServices.html I am able to get the…
Mohamed Wasiq
  • 490
  • 4
  • 17
0
votes
0 answers

Using PHP to Create a CloudKit Location Object (BYTES) for use with cURL

I'm attempting to use the server-to-server key in CloudKit to submit records to the public database. The cURL submission looks something like…
Dexter
  • 1,128
  • 3
  • 25
  • 51
0
votes
1 answer

CloudKit REST API

I'm trying to use the CloudKit API to create records in the public database from my server, using a server-to-server key. I'm using the following shell script to generate the curl command. When I run it, the response from Apple just says there was…
Gargoyle
  • 9,590
  • 16
  • 80
  • 145