Closed rohit1290 closed 6 years ago
I've added the PermissionDenied class, but there will still be a problem with your auth credentials if it's getting to that bit of the code.
what about the first part of the question? Which one is the correct code??
Second one.
Which one is the correct code??
or
I cannot find getCollection or getDocument function in any of the class.
The second code is working for me but I am getting a new error PHP Fatal error: Uncaught Error: Class 'Morrislaptop\Firestore\PermissionDenied' not found