Skip to content
Permalink
Browse files

copy update

  • Loading branch information
squallstar committed Feb 14, 2020
1 parent c1ac3d9 commit 3fd22ec8e831c9fdc260be0073b03f9ffe392a87
Showing with 11 additions and 0 deletions.
  1. +11 −0 docs/API/fliplet-notifications.md
@@ -55,6 +55,17 @@ instance.insert({
})
```

#### Preview how many users will receive a segmented notification

If you want to preview how many users and push subscribed devices will get a notification for a particular scope, use the `getMatches` method as described below:

```js
instance.getMatches({ foo: 'bar' }).then(function (result) {
// result.count (int)
// result.subscriptions (int)
});
```

#### Schedule for later

You can schedule an in-app notification to be sent at a later date:

0 comments on commit 3fd22ec

Please sign in to comment.
You can’t perform that action at this time.