pulyaevskiy / firebase-admin-interop

Firebase Admin Interop Library for Dart
BSD 3-Clause "New" or "Revised" License
80 stars 37 forks source link

Where are put the serviceaccount json file in folder. #65

Open ashishoffice opened 3 years ago

ashishoffice commented 3 years ago

File name too long os error =36

Levi-Lesches commented 3 years ago

You can put it anywhere. The error you got is because you're computer can't handle files that have such a long name. This includes directories they're in, so if you have a file that's nested 100 folders deep, you can get this error. I believe the character limit for the full path of the file is, on Windows, 256 characters. Try moving your json file somewhere where the name would be shorter or follow these steps to disable the limit on Windows (scroll down to where it says "Make Windows 10 Accept Long File Paths").

So to be clear, this is probably an error with your computer, not this library.