Skip to content

Commit d204045

Browse files
committed
add config
1 parent 40fe2e0 commit d204045

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

config/fcm-batch.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Location of Google Service Credential JSON
8+
|--------------------------------------------------------------------------
9+
|
10+
| This is the credential JSON downloaded after a 'service' is created in
11+
| GCP (https://console.cloud.google.com/apis/credentials?project=). Each
12+
| service has defined API permissions. In this case, permissions for Cloud
13+
| Messaging is required.
14+
|
15+
*/
16+
17+
'credential_path' => env('FCMB_SERVICE_JSON_BASE_PATH'),
18+
19+
20+
/*
21+
|--------------------------------------------------------------------------
22+
| Custom Sound for Notification
23+
|--------------------------------------------------------------------------
24+
|
25+
| Set custom sound for your application notification.
26+
|
27+
*/
28+
29+
'fcm_sound' => env('FCMB_SOUND', 'default'),
30+
31+
32+
/*
33+
|--------------------------------------------------------------------------
34+
| Temporary Folder for Creating Text File
35+
|--------------------------------------------------------------------------
36+
|
37+
| Temporary file will be created at local storage to be use when sending
38+
| batch FCM. This file will contain all payloads of individual FCMs.
39+
|
40+
*/
41+
42+
'temp_file_path' => env('FCMB_TEMP_FOLDER', 'firebase/')
43+
];

0 commit comments

Comments
 (0)