Populate FCM tokens if FCM v1 API is enabled

This commit is contained in:
Kijin Sung 2024-04-21 20:30:01 +09:00
parent 9699ed3416
commit 4f35d82b6d

View file

@ -433,7 +433,7 @@ class Push
$args->member_srl = $this->getRecipients();
$args->device_token_type = [];
$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';
}