Пікірлер
@fredwilmembrere8769
@fredwilmembrere8769 29 күн бұрын
the error is Target class [firebase.auth] does not exist.
@sevenstac
@sevenstac 27 күн бұрын
Looks like you have not imported the 'Firebase Auth' correctly, can you elaborate when you are getting this error ?
@fredwilmembrere8769
@fredwilmembrere8769 Ай бұрын
how i acces the admin?
@sevenstac
@sevenstac 27 күн бұрын
use '/home/iamadmin' to make the user admin. Refer : kzbin.info/www/bejne/hmjbn36Hbc13odk
@adnanqadir291
@adnanqadir291 3 ай бұрын
Thanks for the video. I am stuck with grpc extension. I cannot seem to find the correct .dll file for php version 8.1 or greater. Can you help me in that?
@sevenstac
@sevenstac 3 ай бұрын
There is no pre compiled grpc file, you must compile the tar file .. or run the project in docker ( which is better )
@jamesfaber6460
@jamesfaber6460 3 ай бұрын
Does this work for iOS and android devices?
@sevenstac
@sevenstac 3 ай бұрын
It works in all modern web browser .. and has nothing to do with OS Make sure you create the user account in that device. Because the notification goes to the register user device .
@poonambharara9068
@poonambharara9068 4 ай бұрын
Thank you, how to do with sdk cnd?
@sevenstac
@sevenstac 4 ай бұрын
Never heard of this term, can you elaborate ?
@steenrabol2378
@steenrabol2378 5 ай бұрын
background music is absolutely annoying
@sevenstac
@sevenstac 5 ай бұрын
"Press 'M' would solve this problem. 💡"
@colombianfischer9517
@colombianfischer9517 9 ай бұрын
Cómo serían los pasos para instalarlo en Ubuntu? Muchas gracias
@sevenstac
@sevenstac 9 ай бұрын
It's the same just install gRPC and composer to Ubuntu , rest is same.
@user-jq3hi7bu6q
@user-jq3hi7bu6q Жыл бұрын
Please help me
@user-jq3hi7bu6q
@user-jq3hi7bu6q Жыл бұрын
Error create access token
@edgardonavas3485
@edgardonavas3485 Жыл бұрын
Ya no funciona con php 8 en 2023
@sevenstac
@sevenstac Жыл бұрын
Follow up with kzbin.info/www/bejne/bWbEdpp4jsaYrsk, this is updated. Still need to work on upgrading with other projects.
@user-px8hg3si1j
@user-px8hg3si1j Жыл бұрын
nice project, saves my day!!
@user-ch7gt3zx1f
@user-ch7gt3zx1f Жыл бұрын
I need to upload this project to the shared host
@sevenstac
@sevenstac Жыл бұрын
Sure you can use it. Just follow the method for uploading the regular laravel project
@satyasharma519
@satyasharma519 Жыл бұрын
grpc extension error
@satyasharma519
@satyasharma519 Жыл бұрын
how can be add this extension because this ext have not in xampp .ini file
@sevenstac
@sevenstac Жыл бұрын
@@satyasharma519 You can follow the below link to install gRPC in your system, which would solve the mentioned error. cloud.google.com/php/grpc
@satyasharma519
@satyasharma519 Жыл бұрын
@@sevenstac i am follow this method and this is can not run
@satyasharma519
@satyasharma519 Жыл бұрын
and also how to add grpc extension on live server becuase i am using live server or local
@sevenstac
@sevenstac Жыл бұрын
You can use the docs mention below, it shows how to use it on live server. You can also watch my older video where i have showed on how to do so. Watch m.kzbin.info/www/bejne/eX7ZeHVnZ9WXhdk from 01:15 Docs for live server : cloud.google.com/run/docs/triggering/grpc#connect
@saraswathicreations3061
@saraswathicreations3061 Жыл бұрын
Composer update failed
@sevenstac
@sevenstac Жыл бұрын
Can you elaborate more about the issue
@badmusabdulsalam5931
@badmusabdulsalam5931 Жыл бұрын
Pls What if I select all data and I want to notify each Id I press
@sevenstac
@sevenstac Жыл бұрын
There is 'device_token' variable in HomeController, you can add all the users token and direct it to the sendNotification().
@mrinalpadhi
@mrinalpadhi Жыл бұрын
getting the following error Kreait\Firebase\Exception\InvalidArgumentException The email address is invalid
@zuzka1228
@zuzka1228 Жыл бұрын
do you have any idea how to get notifications in sleep mode? 'priority'=>'high' doesn't work
@sevenstac
@sevenstac Жыл бұрын
Have no idea, will see through and reply if I get it.
@zuzka1228
@zuzka1228 Жыл бұрын
@@sevenstac PWA app can't because android has battery saver... Gets push every 15min (if screen is off). So real-time notifications are not possible.
@brighness_of_islam
@brighness_of_islam Жыл бұрын
i am getting this error, any one solved this error before? "{"multicast_id":2247801628580971547,"success":0,"failure":6,"canonical_ids":0,"results":[{"error":"InvalidRegistration"},{"error":"InvalidRegistration"},{"error":"InvalidRegistration"},{"error":"InvalidRegistration"},{"error":"InvalidRegistration"},{"error":"InvalidRegistration"}]}"
@gadozx75
@gadozx75 Жыл бұрын
In android work?
@sevenstac
@sevenstac Жыл бұрын
Yes it works on Android, but u need to use in web browser, not application.
@gadozx75
@gadozx75 Жыл бұрын
@@sevenstac but what if i already have laravel running as a pwa? wouldn't it work anyway?
@sevenstac
@sevenstac Жыл бұрын
@@gadozx75 Yeah that will also work
@Jap48
@Jap48 Жыл бұрын
thank you very much for sharing the wisdom
@GhulamAbbas-hf2uh
@GhulamAbbas-hf2uh Жыл бұрын
I am facing this issue after running /insert in browser "Undefined constant "firebase""
@sevenstac
@sevenstac Жыл бұрын
Are others functions working
@GhulamAbbas-hf2uh
@GhulamAbbas-hf2uh Жыл бұрын
@@sevenstac This is first line in web route file and it is showing error. I followed same three time and getting same error
@sevenstac
@sevenstac Жыл бұрын
Try 'composer update' once and check ... Seems like firebase is not been recognised
@KamalKhan-bc8lz
@KamalKhan-bc8lz 2 жыл бұрын
Thank You bro. It works. :)
@muhammadnabeelakram7835
@muhammadnabeelakram7835 2 жыл бұрын
Ma SHA ALLAH , Very Good , Rellay appreciate able. Best solution for me.
@kucingtersakiti8358
@kucingtersakiti8358 2 жыл бұрын
Submit add customer not function nothing happen why
@sevenstac
@sevenstac 2 жыл бұрын
Does it display any error ?
@kucingtersakiti8358
@kucingtersakiti8358 2 жыл бұрын
@@sevenstac nope
@sevenstac
@sevenstac 2 жыл бұрын
Are other functions working
@kucingtersakiti8358
@kucingtersakiti8358 2 жыл бұрын
@@sevenstac yes .. other function as well .. can sign up login also register .. but cant sudmit customer ..
@kucingtersakiti8358
@kucingtersakiti8358 2 жыл бұрын
@@sevenstac i dm your instagram with code
@arjumnurramadhan2610
@arjumnurramadhan2610 2 жыл бұрын
how to fix loading priview in storage ?
@sevenstac
@sevenstac 2 жыл бұрын
It's even happens to me sometimes, but load the photo to your website it will work.
@ogunniranolusola5610
@ogunniranolusola5610 2 жыл бұрын
As an update to the tutorial, you might not find the Fcm automatically enabled as Google suggests the FCM API V1 for sending cloud messaging. To follow through with the tutorial, you might have to manually enable the Fcm application so as to get access to the SERVER KEY
@ahmedbdiwy6005
@ahmedbdiwy6005 3 ай бұрын
how i made it
@ogunniranolusola5610
@ogunniranolusola5610 2 жыл бұрын
Can this be used for realtime notification streamed to an android or ios device using flutter for example
@sevenstac
@sevenstac 2 жыл бұрын
No you cannot because flutter uses dart not php. But I am sure there is different method for flutter as well
@ogunniranolusola5610
@ogunniranolusola5610 2 жыл бұрын
@@sevenstac What am saying is for an application that uses Laravel as a backend api and Flutter mobile. Can the realtime notification that is pushed to the firebase be also accessible by a Flutter application, perhaps through an sdk that implements firebase
@sevenstac
@sevenstac 2 жыл бұрын
I am not sure how flutter works but if it's linked with firebase yes it will send the notification for mobile
@franciscocaldeira2812
@franciscocaldeira2812 2 жыл бұрын
This has a limit right?
@sevenstac
@sevenstac 2 жыл бұрын
Sry i didn't get you ??
@titoash1418
@titoash1418 2 жыл бұрын
sir can you make it by vue js ?
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
Sir how to display image on web page from firestore database
@sevenstac
@sevenstac 2 жыл бұрын
Use Firebase Storage to store image and save the link in firestore. Refer :kzbin.info/www/bejne/eoeXinx5pb9ofKc
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
Sir how to show data in a table on web page after fetching the data from firestore
@sevenstac
@sevenstac 2 жыл бұрын
Use HTML table structure , add foreach loop for each table to displaying multiple data
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
@@sevenstac thank you sir
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
Sir give me this error during runing the project "Unable to create a FirestoreClient: Class "Google\Cloud\Firestore\FirestoreClient" not found"
@sevenstac
@sevenstac 2 жыл бұрын
Do you have gRPC installed ?
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
@@sevenstac no sir, how to install sir
@sevenstac
@sevenstac 2 жыл бұрын
Watch m.kzbin.info/www/bejne/eX7ZeHVnZ9WXhdk from 01:15
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
@@sevenstac thank u sir
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
Sir this id "document('defT5uT7SDu9K5RFtIdl')" from where we access
@sevenstac
@sevenstac 2 жыл бұрын
From your database , every data you create has its own document id . Go to your firestore database and create a dummy data , you will get ID.
@nizamuddin5484
@nizamuddin5484 2 жыл бұрын
@@sevenstac thank you sir
@aymanmalhattami
@aymanmalhattami 2 жыл бұрын
Great
@ElLomiteroParaguay
@ElLomiteroParaguay 2 жыл бұрын
¡Muchas gracias amigo por la ayuda en la comunidad!
@adejulvian
@adejulvian 2 жыл бұрын
in my machine doesnt work. it shows internal server error on post. can help me with this error?
@sevenstac
@sevenstac 2 жыл бұрын
Can you elaborate ... When does the error pop? Is the dd showing the address? Have you installed gRPC?
@adejulvian
@adejulvian 2 жыл бұрын
@@sevenstac i just following your tutorial and change code with my fcm config. when i try to submit form, it show internal server error 500 on dev tools and pop up not showed. should i instal gPRC?
@sevenstac
@sevenstac 2 жыл бұрын
It depends where are you storing device tokens in SQL or firebase if firebase you need gRPC And does your error states like " {"multicast_id":XXXX"success":0,"failure":1,"results":[{"error":"InternalServerError"}]} "
@syedhs
@syedhs 2 жыл бұрын
Thank you.. I got it done by just following this youtube..
@shahinshaap5893
@shahinshaap5893 2 жыл бұрын
how to generate document id automatically
@sevenstac
@sevenstac 2 жыл бұрын
It is generated automatically when u create new data, but it would be a randomized key, if you want it to be in numerical follow the below code Old Code $newid = app('firebase.firestore')->database()->collection('User') ->documents()->size()+$i; //Insert new record app('firebase.firestore')->database()->collection('User') ->document($newid)->set(['id'=> $newid, 'name' => 'Name']); New Code $documents = app('firebase.firestore')->database()->collection('User') ->orderby('id','desc')->limit(1)->documents(); if($documents->size() > 0) { $lastid = intval($documents->rows()[0]->data()['id']); } //Insert new record app('firebase.firestore')->database()->collection('User') ->document($lastid)->set(['id'=> $lastid, 'name' => 'Perry']);
@AshishKashyap-zq8ws
@AshishKashyap-zq8ws 2 жыл бұрын
how can we login in gmail and facebook with the same email id ???
@sevenstac
@sevenstac 2 жыл бұрын
It's just one , either email or facebook.
@onurakyildiz
@onurakyildiz 2 жыл бұрын
how do i run on a chrome register and login page do i need connect to a server
@sevenstac
@sevenstac 2 жыл бұрын
Yes, you can use Laravel artisan serve for testing.
@farisiftikharalfarisi6206
@farisiftikharalfarisi6206 2 жыл бұрын
sir may i ask.. can we count the users in firebase and show on our web app using laravel??
@sevenstac
@sevenstac 2 жыл бұрын
Yes we can. Use the below code in your controller $users = $auth->listUsers(); $userCount = iterator_count($users);
@farisiftikharalfarisi6206
@farisiftikharalfarisi6206 2 жыл бұрын
@@sevenstac amazing i just start learning to use laravel and firebase and it's very helpful thank you so much sir your very kind✨
@lukas.pierce
@lukas.pierce 2 жыл бұрын
This tutorial is not about Laravel, this about html and javascript All you need is a html page and some js code from Firebase.
@sevenstac
@sevenstac 2 жыл бұрын
Firebase uses JavaScript for connecting from any programming language, to its database or analytics. For Laravel i.e. PHP there is not enough documentation provided, which results in difficulty to implement, so this video was made to make it a bit easy.
@GabrielSilva-nz1rl
@GabrielSilva-nz1rl 2 жыл бұрын
Its giving The "unable to register The default service worker" :(((
@sevenstac
@sevenstac 2 жыл бұрын
Are you talking about mobile device
@GabrielSilva-nz1rl
@GabrielSilva-nz1rl 2 жыл бұрын
@@sevenstac no, desktop
@GabrielSilva-nz1rl
@GabrielSilva-nz1rl 2 жыл бұрын
@@sevenstac its giving The same error thats giving in your Chrome in The tutorial
@sevenstac
@sevenstac 2 жыл бұрын
Are you taking about 6:50 error
@GabrielSilva-nz1rl
@GabrielSilva-nz1rl 2 жыл бұрын
@@sevenstac It worked, that was The Xampp Server. But Its not working in mobile Chrome 😭
@GabrielSilva-nz1rl
@GabrielSilva-nz1rl 2 жыл бұрын
Did this notification works on mobile devices ?
@sevenstac
@sevenstac 2 жыл бұрын
Yes
@annaferlich5831
@annaferlich5831 Жыл бұрын
yes bad dont work :D
@anshuljha1332
@anshuljha1332 2 жыл бұрын
can you develop a selfhosted notification system for my wordpress website using FCM or somthing els for unlimited subscriber
@AhmedSaadHassan
@AhmedSaadHassan 2 жыл бұрын
how to check if user register before and hid button ?
@sevenstac
@sevenstac 2 жыл бұрын
If the user is already registered, he cannot use the same account to register another one ... email should be unique. And what button should we hide?
@AhmedSaadHassan
@AhmedSaadHassan 2 жыл бұрын
@@sevenstac i mean with button "Allow for notification" after user allow notification how i can hide this button?
@sajidhaniff7558
@sajidhaniff7558 2 жыл бұрын
hi, how do i use click_action in this application?
@sevenstac
@sevenstac 2 жыл бұрын
Do you mean click Events ??
@sajidhaniff7558
@sajidhaniff7558 2 жыл бұрын
@@sevenstac yep.
@sevenstac
@sevenstac 2 жыл бұрын
Use javascript 😌
@PranaYprsl
@PranaYprsl 2 жыл бұрын
it not working bhai
@sevenstac
@sevenstac 2 жыл бұрын
What's the error , you need grpc, do you have it ?
@PranaYprsl
@PranaYprsl 2 жыл бұрын
@@sevenstac no
@sevenstac
@sevenstac 2 жыл бұрын
Refer m.kzbin.info/www/bejne/eX7ZeHVnZ9WXhdk and install grpc
@PranaYprsl
@PranaYprsl 2 жыл бұрын
@@sevenstac same error was found after installing grpc
@sevenstac
@sevenstac 2 жыл бұрын
Can you describe more abt the error
@FootballWorld2357
@FootballWorld2357 2 жыл бұрын
how can we save form data to cloud firestore sir?
@sevenstac
@sevenstac 2 жыл бұрын
You need to link the image location to firebase firestore.
@FootballWorld2357
@FootballWorld2357 2 жыл бұрын
sir what I need is to be able to push my form data on to fire store via submit link, I see you previous tutorial It is grate and It works fine but the data is inserted via /insert route rather than submit button. Thank you...This tutorial is absolutely fine
@sevenstac
@sevenstac 2 жыл бұрын
Ohh Got It. Will work through the code and update you.
@FootballWorld2357
@FootballWorld2357 2 жыл бұрын
Ok thanks
@sevenstac
@sevenstac 2 жыл бұрын
Hey see github.com/suhasrkms/laravel-with-firestore/commit/9e6898f0611d7bd2192f676d7be2fafd203d3d4f , I have added the code in CrudController , or simply run the project and go for ( 127.0.0.1:8000/crud ) Don't forget to subscribe ;)
@taruns6044
@taruns6044 2 жыл бұрын
Is it applicable for Laravel 8 version as well? I tried by creating new project and also downloaded project from github. But it is not working for me. No data getting stored in firebase realtime database. Am I missing something? Also can you make video on updating realtime views in laravel based on value getting updated in realtime database.
@sevenstac
@sevenstac 2 жыл бұрын
The video is record in Laravel 8 itself , and I think you are missing on adding firebase credentials to your project.
@kucingtersakiti8358
@kucingtersakiti8358 2 жыл бұрын
same problem here
@sevenstac
@sevenstac 2 жыл бұрын
Did you follow up by adding your own firebase credentials.
@kucingtersakiti8358
@kucingtersakiti8358 2 жыл бұрын
@@sevenstac yes i already dm u on insta