Skip to content

Commit eb95010

Browse files
authored
note time_to_live
1 parent 8fa72d2 commit eb95010

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ fcm()
102102
->send();
103103
```
104104

105+
**NOTE**: By default, Firebase server will queue your notification in 4 weeks. You could change this behavior by setting `->timeToLive(value_in_seconds)`. For example snippet above "->timeToLive(0)" will skip the queue, the target device (eg. android) must be online when the notification arive, otherwhise the target device will not receive the notification.
106+
107+
105108
If You want to send a FCM to topic, use method toTopic(\$topic) instead to() :
106109

107110
```php

0 commit comments

Comments
 (0)