Comments (7)
The project im working on has a server with the firebase admin api. I think ill just use that to check if images exist and share around download links. Its pretty odd that no exists function... Uhh, exists.
from godotfirebase.
Hm. Very weird. I'll have to look into this. I'm not sure we can do anything about the first bug - unless it has tried to get the file, the Godot code can't know whether or not it exists in Firebase. But maybe there's something, not sure, like an "exists" function.
from godotfirebase.
I'd really appreciate it. As of now, I came up with a scuffed-as-all-hell solution, but it is nothing im happy with, thats for sure.
from godotfirebase.
What happens when you try to just get the metadata?
from godotfirebase.
I'm gonna have to get back to you on that one tomorrow, i've got to head out now
from godotfirebase.
Been looking around, seems like there is no way to solve that problem. Our own valid property is used for after a file is deleted, nothing more. Apparently what you'd have to do is call list, then manually look for the file client-side.
How I've handled such a thing before is to make a Firestore reference document that holds onto metadata (in the traditional sense, rather than what Firebase Storage says is metadata). Then I can just ask to see if the document exists and if not, then don't attempt to get it. It's ugly, but doable.
from godotfirebase.
I completely agree! I'll see if I can ask the Firebase team to add it. Closing this for now.
from godotfirebase.
Related Issues (20)
- [FEATURE REQUEST] read only when something changed HOT 1
- [BUG] HOT 2
- Godot 4.x "Get a Document" example is broken and fails. HOT 1
- Firebase Index[BUG]
- [BUG] Latest addon on 4.x branch doesn not work for Godot 4.2.2 HOT 2
- Not a bug. I need help understanding how to delete one object from Firestore in Firebase. HOT 5
- [BUG] Invalid get index 'fields' (on base: 'Dictionary'). HOT 1
- [BUG] Firebase Storage Invalid Index HOT 2
- [FEATURE REQUEST] How to push notification by FCM HOT 1
- [BUG] update function is not working in 4.2.2 HOT 2
- [BUG][Documentation] Wiki for Firestore Delete document is outdated HOT 2
- [FEATURE REQUEST] FirestoreDocument.document values to be of their respective types (the content integerValue to be int instead of String) HOT 2
- login succeeded bug HOT 5
- [BUG] Firebase.Auth.auth.idtoken is empty HOT 21
- [BUG] Request with empty list of fields crash HOT 3
- [FEATURE REQUEST] Listen to remote changes on a document HOT 6
- [FEATURE REQUEST] Allowing specific paths when updating the stored data
- [BUG] Functions URL is not taking arguments into account HOT 1
- [BUG] FirestoreQuery select() method not working correctly, fixed. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godotfirebase.