File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,22 @@ Configure the following environment variables:
4545- ` MASTER_KEY `
4646- ` USE_REGION `
4747
48+ Make sure the following options are configured on the LeanCloud console:
49+
50+ - Data Storage > Settings > Include ACL with objects being queried: ** checked**
51+ - Push Notification > Push notification settings > Prevent clients from sending push notifications: ** unchecked**
52+ - Settings > Security > Service switches > Push notifications: ** enabled**
53+ - Settings > Security > Service switches > SMS: ** disabled**
54+
55+ And there is a cloud function naming ` add ` which returns ` 3 ` for ` add(a=1, b=2) ` deployed on the LeanEngine production environment of the application.
56+ For example:
57+
58+ ``` js
59+ AV .Cloud .define (' add' , async function (request ) {
60+ return request .params [" a" ] + request .params [" b" ]
61+ })
62+ ```
63+
4864Install dependencies:
4965
5066``` sh
You can’t perform that action at this time.
0 commit comments