masoud
4 years ago
11 changed files with 130 additions and 14 deletions
-
72app/Channels/FcmChannel.php
-
8app/Listeners/BusinessUserCreateNotif.php
-
3app/Models/Fingerprint.php
-
10app/Models/User.php
-
17app/Notifications/FcmNotification.php
-
5app/Notifications/MailNotification.php
-
1app/Providers/AppServiceProvider.php
-
2config/cors.php
-
18config/fcm.php
-
1database/migrations/2020_08_18_085017_fingerprints.php
-
7resources/lang/fa/notification.php
@ -0,0 +1,18 @@ |
|||||
|
<?php |
||||
|
|
||||
|
return [ |
||||
|
|
||||
|
/* |
||||
|
|-------------------------------------------------------------------------- |
||||
|
| FCM API Key |
||||
|
|-------------------------------------------------------------------------- |
||||
|
| |
||||
|
| This key allows you to send Push Notifications. To obtain this key go |
||||
|
| to the porject settings and click on the "Cloud Messaging" tab, now |
||||
|
| copy the API Key of "Legacy server key". |
||||
|
| |
||||
|
*/ |
||||
|
|
||||
|
'key' => env('FCM_KEY'), |
||||
|
|
||||
|
]; |
Write
Preview
Loading…
Cancel
Save
Reference in new issue