Skip to content

Commit dbe347d

Browse files
committed
Update cloud-functions.md
1 parent 901f141 commit dbe347d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/ff-concepts/adding-customization/cloud-functions.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,7 @@ For this example, we'll use the result (i.e., generated logo image URL) and set
245245
<div class="video-container"><iframe src="https://www.loom.
246246
com/embed/0c4306c1951a4d9099aa96324c7561af?sid=69709110-ad60-4e98-bf53-36a50a99e425" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
247247

248-
## Testing Cloud Functions
249-
250-
### How can I test sending push notifications without writing to Firestore?
248+
## Testing Cloud Functions by sending push notifications without writing to Firestore
251249

252250
The Google Cloud console has built-in functionality to allow you to trigger a Cloud Function for testing. This means that after deploying Cloud Functions, you can test them without writing to Firestore (either from FlutterFlow or otherwise).
253251

@@ -258,9 +256,9 @@ Here's how to test FlutterFlow's `sendUserPushNotificationsTrigger` function in
258256
\
259257
In here:
260258
- Replace `<projectID>` with your GCP or Firebase project.
261-
- If you want to test a different Cloud Function, update `sendUserPushNotificationsTrigger` too.
259+
- If you want to test a different Cloud Function, update `sendUserPushNotificationsTrigger` with the relevant cloud function name.
262260
2. Paste the following JSON into the <kbd>Configure Triggering Event</kbd> text area.
263-
```json
261+
- If you want to test a different Cloud Function, update `sendUserPushNotificationsTrigger` with the relevant cloud function name.
264262
{
265263
"value": {
266264
"name": "projects/<projectID>/databases/(default)/documents/sendUserPushNotificationsTrigger/<documentID>",

0 commit comments

Comments
 (0)