the error is Target class [firebase.auth] does not exist.
@sevenstac27 күн бұрын
Looks like you have not imported the 'Firebase Auth' correctly, can you elaborate when you are getting this error ?
@fredwilmembrere8769Ай бұрын
how i acces the admin?
@sevenstac27 күн бұрын
use '/home/iamadmin' to make the user admin. Refer : kzbin.info/www/bejne/hmjbn36Hbc13odk
@adnanqadir2913 ай бұрын
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?
@sevenstac3 ай бұрын
There is no pre compiled grpc file, you must compile the tar file .. or run the project in docker ( which is better )
@jamesfaber64603 ай бұрын
Does this work for iOS and android devices?
@sevenstac3 ай бұрын
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 .
@poonambharara90684 ай бұрын
Thank you, how to do with sdk cnd?
@sevenstac4 ай бұрын
Never heard of this term, can you elaborate ?
@steenrabol23785 ай бұрын
background music is absolutely annoying
@sevenstac5 ай бұрын
"Press 'M' would solve this problem. 💡"
@colombianfischer95179 ай бұрын
Cómo serían los pasos para instalarlo en Ubuntu? Muchas gracias
@sevenstac9 ай бұрын
It's the same just install gRPC and composer to Ubuntu , rest is same.
@user-jq3hi7bu6q Жыл бұрын
Please help me
@user-jq3hi7bu6q Жыл бұрын
Error create access token
@edgardonavas3485 Жыл бұрын
Ya no funciona con php 8 en 2023
@sevenstac Жыл бұрын
Follow up with kzbin.info/www/bejne/bWbEdpp4jsaYrsk, this is updated. Still need to work on upgrading with other projects.
@user-px8hg3si1j Жыл бұрын
nice project, saves my day!!
@user-ch7gt3zx1f Жыл бұрын
I need to upload this project to the shared host
@sevenstac Жыл бұрын
Sure you can use it. Just follow the method for uploading the regular laravel project
@satyasharma519 Жыл бұрын
grpc extension error
@satyasharma519 Жыл бұрын
how can be add this extension because this ext have not in xampp .ini file
@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 Жыл бұрын
@@sevenstac i am follow this method and this is can not run
@satyasharma519 Жыл бұрын
and also how to add grpc extension on live server becuase i am using live server or local
@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 Жыл бұрын
Composer update failed
@sevenstac Жыл бұрын
Can you elaborate more about the issue
@badmusabdulsalam5931 Жыл бұрын
Pls What if I select all data and I want to notify each Id I press
@sevenstac Жыл бұрын
There is 'device_token' variable in HomeController, you can add all the users token and direct it to the sendNotification().
@mrinalpadhi Жыл бұрын
getting the following error Kreait\Firebase\Exception\InvalidArgumentException The email address is invalid
@zuzka1228 Жыл бұрын
do you have any idea how to get notifications in sleep mode? 'priority'=>'high' doesn't work
@sevenstac Жыл бұрын
Have no idea, will see through and reply if I get it.
@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 Жыл бұрын
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 Жыл бұрын
In android work?
@sevenstac Жыл бұрын
Yes it works on Android, but u need to use in web browser, not application.
@gadozx75 Жыл бұрын
@@sevenstac but what if i already have laravel running as a pwa? wouldn't it work anyway?
@sevenstac Жыл бұрын
@@gadozx75 Yeah that will also work
@Jap48 Жыл бұрын
thank you very much for sharing the wisdom
@GhulamAbbas-hf2uh Жыл бұрын
I am facing this issue after running /insert in browser "Undefined constant "firebase""
@sevenstac Жыл бұрын
Are others functions working
@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 Жыл бұрын
Try 'composer update' once and check ... Seems like firebase is not been recognised
@KamalKhan-bc8lz2 жыл бұрын
Thank You bro. It works. :)
@muhammadnabeelakram78352 жыл бұрын
Ma SHA ALLAH , Very Good , Rellay appreciate able. Best solution for me.
@kucingtersakiti83582 жыл бұрын
Submit add customer not function nothing happen why
@sevenstac2 жыл бұрын
Does it display any error ?
@kucingtersakiti83582 жыл бұрын
@@sevenstac nope
@sevenstac2 жыл бұрын
Are other functions working
@kucingtersakiti83582 жыл бұрын
@@sevenstac yes .. other function as well .. can sign up login also register .. but cant sudmit customer ..
@kucingtersakiti83582 жыл бұрын
@@sevenstac i dm your instagram with code
@arjumnurramadhan26102 жыл бұрын
how to fix loading priview in storage ?
@sevenstac2 жыл бұрын
It's even happens to me sometimes, but load the photo to your website it will work.
@ogunniranolusola56102 жыл бұрын
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
@ahmedbdiwy60053 ай бұрын
how i made it
@ogunniranolusola56102 жыл бұрын
Can this be used for realtime notification streamed to an android or ios device using flutter for example
@sevenstac2 жыл бұрын
No you cannot because flutter uses dart not php. But I am sure there is different method for flutter as well
@ogunniranolusola56102 жыл бұрын
@@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
@sevenstac2 жыл бұрын
I am not sure how flutter works but if it's linked with firebase yes it will send the notification for mobile
@franciscocaldeira28122 жыл бұрын
This has a limit right?
@sevenstac2 жыл бұрын
Sry i didn't get you ??
@titoash14182 жыл бұрын
sir can you make it by vue js ?
@nizamuddin54842 жыл бұрын
Sir how to display image on web page from firestore database
@sevenstac2 жыл бұрын
Use Firebase Storage to store image and save the link in firestore. Refer :kzbin.info/www/bejne/eoeXinx5pb9ofKc
@nizamuddin54842 жыл бұрын
Sir how to show data in a table on web page after fetching the data from firestore
@sevenstac2 жыл бұрын
Use HTML table structure , add foreach loop for each table to displaying multiple data
@nizamuddin54842 жыл бұрын
@@sevenstac thank you sir
@nizamuddin54842 жыл бұрын
Sir give me this error during runing the project "Unable to create a FirestoreClient: Class "Google\Cloud\Firestore\FirestoreClient" not found"
@sevenstac2 жыл бұрын
Do you have gRPC installed ?
@nizamuddin54842 жыл бұрын
@@sevenstac no sir, how to install sir
@sevenstac2 жыл бұрын
Watch m.kzbin.info/www/bejne/eX7ZeHVnZ9WXhdk from 01:15
@nizamuddin54842 жыл бұрын
@@sevenstac thank u sir
@nizamuddin54842 жыл бұрын
Sir this id "document('defT5uT7SDu9K5RFtIdl')" from where we access
@sevenstac2 жыл бұрын
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.
@nizamuddin54842 жыл бұрын
@@sevenstac thank you sir
@aymanmalhattami2 жыл бұрын
Great
@ElLomiteroParaguay2 жыл бұрын
¡Muchas gracias amigo por la ayuda en la comunidad!
@adejulvian2 жыл бұрын
in my machine doesnt work. it shows internal server error on post. can help me with this error?
@sevenstac2 жыл бұрын
Can you elaborate ... When does the error pop? Is the dd showing the address? Have you installed gRPC?
@adejulvian2 жыл бұрын
@@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?
@sevenstac2 жыл бұрын
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"}]} "
@syedhs2 жыл бұрын
Thank you.. I got it done by just following this youtube..
@shahinshaap58932 жыл бұрын
how to generate document id automatically
@sevenstac2 жыл бұрын
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-zq8ws2 жыл бұрын
how can we login in gmail and facebook with the same email id ???
@sevenstac2 жыл бұрын
It's just one , either email or facebook.
@onurakyildiz2 жыл бұрын
how do i run on a chrome register and login page do i need connect to a server
@sevenstac2 жыл бұрын
Yes, you can use Laravel artisan serve for testing.
@farisiftikharalfarisi62062 жыл бұрын
sir may i ask.. can we count the users in firebase and show on our web app using laravel??
@sevenstac2 жыл бұрын
Yes we can. Use the below code in your controller $users = $auth->listUsers(); $userCount = iterator_count($users);
@farisiftikharalfarisi62062 жыл бұрын
@@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.pierce2 жыл бұрын
This tutorial is not about Laravel, this about html and javascript All you need is a html page and some js code from Firebase.
@sevenstac2 жыл бұрын
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-nz1rl2 жыл бұрын
Its giving The "unable to register The default service worker" :(((
@sevenstac2 жыл бұрын
Are you talking about mobile device
@GabrielSilva-nz1rl2 жыл бұрын
@@sevenstac no, desktop
@GabrielSilva-nz1rl2 жыл бұрын
@@sevenstac its giving The same error thats giving in your Chrome in The tutorial
@sevenstac2 жыл бұрын
Are you taking about 6:50 error
@GabrielSilva-nz1rl2 жыл бұрын
@@sevenstac It worked, that was The Xampp Server. But Its not working in mobile Chrome 😭
@GabrielSilva-nz1rl2 жыл бұрын
Did this notification works on mobile devices ?
@sevenstac2 жыл бұрын
Yes
@annaferlich5831 Жыл бұрын
yes bad dont work :D
@anshuljha13322 жыл бұрын
can you develop a selfhosted notification system for my wordpress website using FCM or somthing els for unlimited subscriber
@AhmedSaadHassan2 жыл бұрын
how to check if user register before and hid button ?
@sevenstac2 жыл бұрын
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?
@AhmedSaadHassan2 жыл бұрын
@@sevenstac i mean with button "Allow for notification" after user allow notification how i can hide this button?
@sajidhaniff75582 жыл бұрын
hi, how do i use click_action in this application?
@sevenstac2 жыл бұрын
Do you mean click Events ??
@sajidhaniff75582 жыл бұрын
@@sevenstac yep.
@sevenstac2 жыл бұрын
Use javascript 😌
@PranaYprsl2 жыл бұрын
it not working bhai
@sevenstac2 жыл бұрын
What's the error , you need grpc, do you have it ?
@PranaYprsl2 жыл бұрын
@@sevenstac no
@sevenstac2 жыл бұрын
Refer m.kzbin.info/www/bejne/eX7ZeHVnZ9WXhdk and install grpc
@PranaYprsl2 жыл бұрын
@@sevenstac same error was found after installing grpc
@sevenstac2 жыл бұрын
Can you describe more abt the error
@FootballWorld23572 жыл бұрын
how can we save form data to cloud firestore sir?
@sevenstac2 жыл бұрын
You need to link the image location to firebase firestore.
@FootballWorld23572 жыл бұрын
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
@sevenstac2 жыл бұрын
Ohh Got It. Will work through the code and update you.
@FootballWorld23572 жыл бұрын
Ok thanks
@sevenstac2 жыл бұрын
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 ;)
@taruns60442 жыл бұрын
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.
@sevenstac2 жыл бұрын
The video is record in Laravel 8 itself , and I think you are missing on adding firebase credentials to your project.
@kucingtersakiti83582 жыл бұрын
same problem here
@sevenstac2 жыл бұрын
Did you follow up by adding your own firebase credentials.