mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 13:32:16 +09:00
Populate FCM tokens if FCM v1 API is enabled
This commit is contained in:
parent
9699ed3416
commit
4f35d82b6d
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ class Push
|
||||||
$args->member_srl = $this->getRecipients();
|
$args->member_srl = $this->getRecipients();
|
||||||
$args->device_token_type = [];
|
$args->device_token_type = [];
|
||||||
$driver_types = config('push.types') ?: array();
|
$driver_types = config('push.types') ?: array();
|
||||||
if(isset($driver_types['fcm']))
|
if(isset($driver_types['fcm']) || isset($driver_types['fcmv1']))
|
||||||
{
|
{
|
||||||
$args->device_token_type[] = 'fcm';
|
$args->device_token_type[] = 'fcm';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue