No video

Laravel Push Notifications End to End Implementation (Web and Mobile)

  Рет қаралды 3,914

Code With ERaufi

Code With ERaufi

Күн бұрын

Пікірлер: 31
@kodoku169
@kodoku169 17 күн бұрын
Thanks for sharing.
@eraufi
@eraufi 17 күн бұрын
Thanks for watching!
@KTT.KnowTheTruth
@KTT.KnowTheTruth 3 ай бұрын
thanks brother, you saved me.
@eraufi
@eraufi 3 ай бұрын
Glad I could help
@jerrym2mmh
@jerrym2mmh 14 күн бұрын
can you help me my code doesn't work in this part foreach ($notifications as $notification) { $webPush->sendOneNotification( Subscription::create($notification->subscriptions), $payload, ['TTL' => 5000] ); } Subscription::create give not data it give null in your video you write like this $notification->Subscriptions but in your code you write like this $notification['subscriptions'] but in my test all work but i don't get any data from Subscription::create please help me
@eraufi
@eraufi 14 күн бұрын
first please check your pushNotification migration file the subscription should be json type. second please check your model that it should contain protected $casts = [ 'subscriptions' => 'array' ]; and third please check that are you save the subscriptions data to database. Note: please use HTTPS other wise it will not work
@jectionjection5786
@jectionjection5786 5 ай бұрын
Hey, You can make video related with complete Authentication and Authorization API with role admin and user in laravel
@eraufi
@eraufi 5 ай бұрын
i will try. i will add this comment in to my todo list
@kayanibrahem-x6t
@kayanibrahem-x6t Ай бұрын
Thank you for this wonderful explanation, but I am facing a problem and I do not know the reason. Is the problem in the version or what? im using laravel 11 and get this error "Unable to create the local key"
@eraufi
@eraufi Ай бұрын
are you using HTTP or HTTPS? this will only work with HTTPS if you are using HTTPS, please watch 15:33 where i explain how to generate public and private keys
@MafumuMumba
@MafumuMumba 21 күн бұрын
i'm getting this error in development: local.ERROR: Unable to create the local key.
@eraufi
@eraufi 21 күн бұрын
are you using http or https?
@MafumuMumba
@MafumuMumba 21 күн бұрын
@@eraufi i'm using '127.0.0.1:8000'
@MafumuMumba
@MafumuMumba 21 күн бұрын
i'm using this -> '127.0.0.1:8000'
@MafumuMumba
@MafumuMumba 21 күн бұрын
@@eraufi I have manged to resolve this by installing openSSL on windows and not just PHP
@eraufi
@eraufi 21 күн бұрын
@@MafumuMumba thanks for giving the solution.
@ngocthachho4525
@ngocthachho4525 2 ай бұрын
I tested the demo on your website, all web browsers on computers receive notifications, but all mobile devices using the browser do not receive any notifications, do you need to configure it? anything for mobile browsers? Thank you so much!
@eraufi
@eraufi 2 ай бұрын
thanks for the comment i just tested in my computer and mobile using chrome browser in both (android phone) i received the notifications. maybe it's not allowed in your mobile settings. please check and let me know if that's the case
@gerritvanweele4045
@gerritvanweele4045 Ай бұрын
@@eraufi on my iphone i use safari thats not working
@jelajahmania
@jelajahmania Ай бұрын
"Unable to create the local key" how to fix
@eraufi
@eraufi Ай бұрын
please check 15:33 in there i explained how to generate public and private keys
@ramadhanchannel3110
@ramadhanchannel3110 Ай бұрын
Same with me even though I have already generated public key and private key
@eraufi
@eraufi Ай бұрын
@@ramadhanchannel3110 Thanks for pointing this out. maybe the packages are updated. I will check and keep you guys updated if there is anything new or if anything changed.
@bigbangz
@bigbangz 21 күн бұрын
How were you able to solve this?
@MafumuMumba
@MafumuMumba 21 күн бұрын
I'm currently facing the same error when using the local host url
@hackeranonymous9513
@hackeranonymous9513 24 күн бұрын
is this paid plans or free
@eraufi
@eraufi 24 күн бұрын
it's fully free
Mastering Laravel 11 Roles and Permissions: A Comprehensive Guide
18:46
Code With ERaufi
Рет қаралды 4,9 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 41 М.
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 5 МЛН
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 24 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 32 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 990 М.
Push Notifications with Service worker
14:15
Akilesh Rao
Рет қаралды 32 М.
Laravel adds a new email provider
11:34
Aaron Francis
Рет қаралды 13 М.
How To Send Push Notifications With JavaScript
11:38
Web Dev Simplified
Рет қаралды 341 М.
Make faster outbound requests with Laravel (10x faster, actually)
5:28
08 - Mail and Notifications
12:31
Laravel
Рет қаралды 55 М.
Getting Started with Laravel Reverb
10:44
Laravel
Рет қаралды 29 М.
Laravel 11 WebSocket
22:06
Code With ERaufi
Рет қаралды 8 М.
2. Push Notifications with Service worker: Push API + Push Service
13:23
Laravel 10 Blog with Filament Admin Panel | Part 1
2:57:06
The Codeholic
Рет қаралды 92 М.
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 5 МЛН