Nuxt full-stack app
8:56
Ай бұрын
FIX Git Author identity unknown
15:56
Vue Router Guard
14:24
10 ай бұрын
Vue nested routes
14:14
10 ай бұрын
Vue Dynamic Routes
14:12
10 ай бұрын
Vue Simple Routing
9:14
10 ай бұрын
Async functions in javascript
7:16
Latitude and Longitude on maps
6:58
How Sanctum works ?
19:27
Жыл бұрын
Vue custom form validation
12:26
Жыл бұрын
Laravel and Vue using Vite
6:43
Жыл бұрын
Пікірлер
@leviomagbemi
@leviomagbemi 6 сағат бұрын
Thank you so much!
@lwiimbokasweshi
@lwiimbokasweshi 3 күн бұрын
Excellent video
@ayaaa3112
@ayaaa3112 3 күн бұрын
i got this error when running "php send.php" cURL error 60: SSL certificate problem: unable to get local issuer certificate what should i do??
@benixal
@benixal 3 күн бұрын
Date and Time: Make sure your computer’s date and time are set correctly. Firewall: Check your firewall settings to make sure they’re not blocking anything. Proxy: If you’re using a proxy, make sure it’s set up correctly.
@proskillscenter9589
@proskillscenter9589 7 күн бұрын
thanks
@jolantakazlauskiene9268
@jolantakazlauskiene9268 8 күн бұрын
Thank you. Could you do the tutorial for nuxt with cloudfare D1?
@Codebyakshay
@Codebyakshay 9 күн бұрын
hey man can u help me get rid of this message ? notifications/:56 An error occurred while retrieving token: DOMException: Registration failed - push service error
@basically_basic
@basically_basic 11 күн бұрын
I don't have autoload.php file
@danil_zz
@danil_zz 15 күн бұрын
Your video was very helpfull. I'd fulfilled all migration tasks completely. There is 19 July 2024, tomorrow legacy will come rip.
@MinhAppWeb
@MinhAppWeb 17 күн бұрын
Thanks you...
@sourav12rav
@sourav12rav 18 күн бұрын
foreground message is not coming. I add the onMessage function but message is not coming. Only back groubd message I am receiving. What may be the issue?
@benixal
@benixal 18 күн бұрын
I think the issue might be because in the video I used a custom service worker that is only for receiving push notifications. To receive messages using the onMessage function when the web application is in the foreground, you need to use Firebase's default service worker. Clear the content of sw.js file completely and replace it with this (don't forget to clear cache): importScripts('www.gstatic.com/firebasejs/8.10.1/firebase-app.js'); importScripts('www.gstatic.com/firebasejs/8.10.1/firebase-messaging.js'); firebase.initializeApp({ apiKey: 'your-api-key', authDomain: 'your-project-id.firebaseapp.com', projectId: 'your-project-id', storageBucket: 'your-project-id.appspot.com', messagingSenderId: 'yoursender-id', appId: 'your-app-id', measurementId: 'your-G-measurement-id', }); const messaging = firebase.messaging(); source: firebase.google.com/docs/cloud-messaging/js/receive#web_5
@sourav12rav
@sourav12rav 17 күн бұрын
@@benixal Yes I checked after. Thanks for the reply and its a great video.
@aqibhanif4245
@aqibhanif4245 19 күн бұрын
@benixal i getting issue when genrate tokken .. permission denied an error occue while retriving token
@kennyjeancarloarevaloreyes6976
@kennyjeancarloarevaloreyes6976 22 күн бұрын
The notifications in the foreground and according to the plan only reach me through the console, everything is fine, but the notification window is not shown and when I close the page the sale does not appear, what is the reason?
@skillpersian
@skillpersian 22 күн бұрын
Hi, for CPANEL, there was a way to run without composer installation. I could not be a way?
@benixal
@benixal 22 күн бұрын
Hi, you don't need Composer on your CPanel. You just need PHP. You can install the dependencies locally, compress your PHP files (including the vendor folder), and upload them to your server.
@yi-pinghuang3942
@yi-pinghuang3942 26 күн бұрын
Thank you very much for your video demonstration, it was a great help to me! In the video, send.php used the link to send the URL, and in sw.js, the hyperlink value is click_action. In practice, the notif indeed has the click_action value.
@user-hm8bd5nt2g
@user-hm8bd5nt2g 28 күн бұрын
tnx
@shubhrajit2117
@shubhrajit2117 Ай бұрын
tysm buddy 💖 At 15:30 to open your desired url, just send a link or url data field from firebase console (see in additional options) and in your service worker use that (data.url or something else) instead of notif.click_action
@user-iz9jw2xf9g
@user-iz9jw2xf9g Ай бұрын
Thank you..
@alex_borisovic
@alex_borisovic Ай бұрын
At react you can create. env file with line https: true. That's all
@twoxim
@twoxim Ай бұрын
One of the best instructional videos, and I've watched 1000s. Easy to follow and understand! Keep up the great work!!!
@learnwithshadyar
@learnwithshadyar Ай бұрын
Thanks!
@AmineGM73
@AmineGM73 Ай бұрын
Thanks very much, I always wanted to make an app like this
@benixal
@benixal Ай бұрын
You're welcome! I'm glad you found it helpful.
@MrZilcin
@MrZilcin Ай бұрын
Teşekkür ederim kardeşim, çok iyi bir anlatım. Günlerce çalışan bir kod bulamamıştım, ilk defa bir videoda anlatılanlar çalıştı. Genelde videoyu çeken arkadaş yapıyor ama biz yapınca çalışmıyordu. Şuan harika çalışıyor. Tekrar teşekkür ederim.
@benixal
@benixal Ай бұрын
Thank you for your kind words! I'm glad to hear the video helped you.
@AndCheb
@AndCheb Ай бұрын
Thank you! Thanks to you I understood how it works.
@benixal
@benixal Ай бұрын
Thanks for your comment! Glad it helped!
@AhmedOumer-fm9cm
@AhmedOumer-fm9cm Ай бұрын
What a wonderful tutorial, you save my weekend, you deserve a subscription.
@benixal
@benixal Ай бұрын
Thank you so much! I'm glad I could help and thanks for subscribing!
@btomif
@btomif Ай бұрын
thank you, it is work for me
@benixal
@benixal Ай бұрын
Thanks for your comment! You're welcome!
@adolfocorrales2332
@adolfocorrales2332 2 ай бұрын
Grande benixal, resolviste mi problema, eres un crack
@benixal
@benixal Ай бұрын
Thanks for your comment Adolfo , I'm glad the video helped! 🙏
@nicky77uk1
@nicky77uk1 2 ай бұрын
Could this code be adapted to send the push notification to a device id in a android app?
@benixal
@benixal Ай бұрын
Yes, you can use the token received by the "onNewToken" method in your Android app to send push notifications (using PHP) to that device. firebase.google.com/docs/cloud-messaging/android/client#monitor-token-generation
@drstrangelove09
@drstrangelove09 2 ай бұрын
master had negative connations -> NO!! it was simply a synonym for "main"!!!!
@vassilismatragos3043
@vassilismatragos3043 2 ай бұрын
Thanks for this Ben!
@soner-san
@soner-san 2 ай бұрын
What a wonderful tutorial, thank you for all your effort.👏
@tyresewatchthis8025
@tyresewatchthis8025 2 ай бұрын
Bro you have no idea how much you helped me. Thanks a lot, I subscribed, please make more Vue.js + Firebase videos
@benixal
@benixal 2 ай бұрын
Thank you so much! I'm glad the video helped you. More Vue.js + Firebase content is on the way, so stay tuned! 🚀
@alexon2010
@alexon2010 2 ай бұрын
The video is really cool, I would like some help and I don't know how to do it, I've tried a lot of things, when I run the application with Vite using --host I have an example 192.168.0.9:3000 with this on the desktop I can run it bruttus.localhost:3000, now if I try to run bruttus.192.168.0.9:3000 on my cell phone, Vite doesn't understand the subdomain, I even configured it in the Windows hosts -> 192.168.0.9 bruttus.192.168. 0.9. HOW DO I MAKE VITEJS UNDERSTAND THIS bruttus.192.168.0.9:3000 SO THAT IT OPENS ON THE PHONE
@codedjango
@codedjango 2 ай бұрын
Bro please do some Nuxt3 project on how to consume data from an external API - the docs are so confusing man....I am not sure what server routes are and why/how to use the Nitro engine...thanks bro
@benixal
@benixal 2 ай бұрын
thanks for your comment, bro! I'll look into it and make a video on this soon.
@alexnikolas4937
@alexnikolas4937 2 ай бұрын
The best tutorial I've ever seen. I'm very interested in whether it is possible to send a message to several recipients at one request
@pingxtratech
@pingxtratech 2 ай бұрын
This is so good. Thank you. I'd like to ask, the notification will only work while the browser is opened yes? Is there a workaround for sending notifications while the browser is closed?
@benixal
@benixal 2 ай бұрын
You're welcome, thanks for your comment, Notifications will be received if the browser is fouced or in the background, (even if your webpage is not opened). On mobile devices: browsers are usually running in the background, so notifications will usually be received. However, on desktops, if the user completely closes the browser, notifications won't be received and they'll receive them immediately upon reopening the browser (there's no need to open your website, just run the browser)
@hieunguyen8952
@hieunguyen8952 2 ай бұрын
Thank you, bro! You save my day with the new Firebase Console and FCM library ❤
@benixal
@benixal 2 ай бұрын
You're welcome, Glad I could help, thanks for your comment.
@hieunguyen8952
@hieunguyen8952 2 ай бұрын
@@benixalI tried your HTML code, just replace the firebaseConfig and vapidKey with my project info but the localhost does not receive any notification. Do you know what is the potential problem or I need to deploy the code to a HTTPS domain? Thank you for your help.
@hieunguyen8952
@hieunguyen8952 2 ай бұрын
It worked for me now. Your code's just fine, the problem is the system notifications was disabled by the fault for all apps including Google Chrome in MacOS. It takes a day to figure out :(
@benixal
@benixal 2 ай бұрын
Glad to hear it's working for you now! 😃👏 sometimes system settings can be a bit of a struggle. Thanks for updating.
@alexnikolas4937
@alexnikolas4937 2 ай бұрын
@@hieunguyen8952 When I tried on a http domain I got an error in the browser console (FirebaseError: Messaging: This browser doesn't support the API's required to use the Firebase SDK. When I checked on a https domain, everything worked fine
@maeil2024
@maeil2024 2 ай бұрын
Thanks for the awesome tutorial. One question. It is possible to implement firebase multicast using php where we only sent a single api request to firebase for multiple targeted audience/devices/topic?
@benixal
@benixal 2 ай бұрын
Thanks for your comment! , Glad it was helpful! I haven't tried Firebase Multicast yet, but I know you can send messages to topics: `message": { "topic": "matchday", "notification": { "title": "Background Message Title", "body": "Background message body" ....` firebase.google.com/docs/cloud-messaging/js/send-multiple?hl=en&authuser=0#handle_messages_when_your_web_app_is_in_the_background and as far as I understand, for (web/javascript) you need to subscribe each token to a topic by using this api: `iid.googleapis.com` I will try, and if successful, I'll create a video about it.
@maeil2024
@maeil2024 2 ай бұрын
@@benixal Thanks for the feedback. Can't wait for the upcoming video 🙌🏻
@sonaliyewle
@sonaliyewle 3 ай бұрын
showNotification not working in chrome
@benixal
@benixal 3 ай бұрын
Could you clarify the specific error you're seeing when using showNotification in chrome ?
@alexnikolas4937
@alexnikolas4937 2 ай бұрын
I also had problems on chrome but after I updated it the problem disappeared
@sonaliyewle
@sonaliyewle 2 ай бұрын
@@benixal I received a real-time notification object but it's not displayed on the browser. There is no error shown in the browser console.
@sonaliyewle
@sonaliyewle 3 ай бұрын
This helps me a lot!!!! Thank you very much
@benixal
@benixal 3 ай бұрын
You're welcome! 😊 Glad to hear it helped!
@alexwmb611
@alexwmb611 3 ай бұрын
Thx a lot for your job ! Does it works even if the browser is close and not running in background ?
@user-gv2cj5so6q
@user-gv2cj5so6q 3 ай бұрын
Thenks! this is great
@hmed8997
@hmed8997 3 ай бұрын
How can i swnd notification to multiple tokens?
@alexnikolas4937
@alexnikolas4937 2 ай бұрын
I would really like to know this too
@hmed8997
@hmed8997 2 ай бұрын
@@alexnikolas4937 I found a way to that but in my code that I wrote I sent curl request to each token. I want to know if I can send notification to multiple token with only one curl request or not? If you find a way share with me
@farazk9729
@farazk9729 3 ай бұрын
Thank you so much; you're a lifesaver!
@Mateus-ug9cl
@Mateus-ug9cl 3 ай бұрын
Niceeeeeee 🫶🫶🫶🫶
@abrahimalyafai4390
@abrahimalyafai4390 3 ай бұрын
Can I contact you?
@user-oj3bg1mg9w
@user-oj3bg1mg9w 3 ай бұрын
Thank you very much bro👌👌👌👌
@javerialodhi
@javerialodhi 3 ай бұрын
Sir I do not create the vite project, how to apply in simple react project?
@marjaybumalod2583
@marjaybumalod2583 3 ай бұрын
how to fix this " Uncaught RuntimeException: Unable to create the key in C:\xampp\htdocs\push_notification\vendor\web-token\jwt-library\Core\Util\ECKey.php:98" ?
@benixal
@benixal 3 ай бұрын
The error 'Unable to create the key in ....\ECKey.php' is likely because OpenSSL isn't turned on. To fix this in XAMPP: Open the php.ini file. Look for ;extension=openssl. Take out the semicolon before it. Save and restart XAMPP. If you don't have OpenSSL, you can use a website to make VAPID keys. Just search "generate VAPID keys." But remember, this is mainly for practice, not real projects
@marjaybumalod2583
@marjaybumalod2583 3 ай бұрын
@@benixal OpenSSL is enabledPHP Fatal error: Uncaught RuntimeException: Unable to create the key in C:\xampp\htdocs\push_notification\vendor\web-token\jwt-library\Core\Util\ECKey.php:98 Here is the another error
@tresormalo5989
@tresormalo5989 3 ай бұрын
I'm getting only id_token instead of access_token. Did i do something wrong ?
@benixal
@benixal 3 ай бұрын
Thanks for reaching out. The "$credential->fetchAuthToken" method generates an access_token, not an id_token. Could you clarify where you expected to get the ID token from?
@andrejhohnjec4106
@andrejhohnjec4106 3 ай бұрын
Like watching Bob Ross for coding. Excellent!
@benixal
@benixal 3 ай бұрын
Glad you enjoyed it! Thanks for the kind words!