Göran Svensson
Göran Svensson
Ok, I will try to add this to all the functions: exports.myStorageFunction = functions .region('europe-west1') .storage .object() .onFinalize((object) => { // ... });
Tried a complete deploy. ✖ 10 problems (0 errors, 10 warnings) ✔ functions: Finished running predeploy script. i database: checking rules syntax... ✔ database: rules syntax for database tbvpoc-default-rtdb is...
Yes, updated firebase rules to v2. Still got invalid functions names: i cloud.firestore: checking firebase/firestore.rules for compilation errors... ⚠ [W] 14:14 - Invalid function name: exists. ⚠ [W] 14:63 -...
I only added rules_version = "2"; to the firestore.rules file. No changes other than that and yes it's from the template.
✔ functions: Finished running predeploy script. i database: checking rules syntax... ✔ database: rules syntax for database tbvpoc-default-rtdb is valid i firebase.storage: checking firebase/storage.rules for compilation errors... ✔ firebase.storage: rules...
Ok, giving up! It's a good solution for simple use cases, when you need to protect a whole server. But when rule and action is only theoretically working it's not...
Ok thanks! Will give it a try when I got the time..
Ok, dumping this npm package. I build my own useHooks
Same problem..
Ok thanks for the heads up! Have looked a bit at it.