Cloud namespace to configure CloudKit JS, and to access app containers and global constants.
- CloudKit JS 1.0+
Set up CloudKit JS by passing container and authentication information to the
configure method. Also, specify whether to use the development or production environment. You’ll need the container ID and API token to configure CloudKit JS. (Use CloudKit Dashboard to create an API token, as described in Accessing CloudKit Using an API Token.) Some operations require users to enter their Apple ID credentials. Apple presents the sign-in dialog, but you can customize the position and theme of the sign-in and sign-out buttons.