We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f901c commit e7d55acCopy full SHA for e7d55ac
readme.md
@@ -122,30 +122,3 @@ fcm()
122
])
123
->send();
124
```
125
-
126
-### Notes
127
128
-## Sending different payloads
129
130
-This packages uses a singleton pattern for the `Fcm` facade and `fcm()` helper.
131
-If you want to send different payloads to Firebase in the same request you have to use use the `Kawankoding\Fcm\Fcm` class directly:
132
133
-```php
134
-use Kawankoding\Fcm\Fcm;
135
136
-$fcm1 = new Fcm;
137
-$fcm1->to($recipients)
138
- ->data([
139
- 'title' => 'Test FCM 1',
140
- 'body' => 'This is a test of FCM 1',
141
- ])
142
- ->send();
143
144
-$fcm2 = new Fcm;
145
-$fcm2->to($recipients)
146
- ->notification([
147
- 'title' => 'Test FCM 2',
148
- 'body' => 'This is a test of FCM 2',
149
150
151
-```
0 commit comments