new Parse()
Contains all Parse API classes and functions.
Classes
- ACL
- Analytics
- Cloud
- Config
- Error
- FacebookUtils
- File
- LiveQuery
- LiveQueryClient
- LiveQuerySubscription
- Object
- Polygon
- Push
- Query
- Relation
- Role
- Schema
- Session
- User
Members
(static) applicationId :string
Type:
-
string
(static) javaScriptKey :string
Type:
-
string
(static) liveQueryServerURL :string
Type:
-
string
(static) masterKey :string
Type:
-
string
(static) serverURL :string
Type:
-
string
Methods
(static) initialize(applicationId, javaScriptKey, masterKey)
Call this method first to set up your authentication tokens for Parse. You can get your keys from the Data Browser on parse.com.
Parameters:
Name | Type | Description |
---|---|---|
applicationId |
String
|
Your Parse Application ID. |
javaScriptKey |
String
|
(optional) Your Parse JavaScript Key (Not needed for parse-server) |
masterKey |
String
|
(optional) Your Parse Master Key. (Node.js only!) |
(static) setAsyncStorage(storage)
Call this method to set your AsyncStorage engine Starting [email protected], the ParseSDK do not provide a React AsyncStorage as the ReactNative module is not provided at a stable path and changes over versions.
Parameters:
Name | Type | Description |
---|---|---|
storage |
AsyncStorage
|
a react native async storage. |