I'm relatively new to coding and am having trouble.  I have this code to send data to firebase  app.userid = app.user.uid  var userRef = app.dataInfo.child(app.users);  var useridRef = userRef.child(app.userid);  useridRef.set({   locations: &#...
I have some trouble with Cloud function and firestore rules. I would like use cloud function with limited privilèges on Firestore and give only has access as defined in the Security Rules  It's working without problem on RTDB but not on Firestor...
Im building a website in firebase. It's a simple look-up service which only has an input element that fires a request to a 3rd party api.      www.3rdparty.com/api/[myapikey]/method   The problem is that I'm limited to x requests per second a...
Ok so im making a blog which requires users to login through firebase. To post comments, their email has to be verified  I know how to verify the email, and i did so with my test account. When i typed into the console  firebase.auth().currentUser.ema...
I'm learning about Firebase auth and storage in a web app. My idea asks users to login via Firebase and then upload an image.   I can see that this is possible from Firebase auth and storage. However, I would like to put limits on the file count...
I'm trying to create a password protected chat room and found this SO answer to user as an example:  Firebase: approach to storing room passwords  The problem is, given the ruleset in the answer, I can't figure out how to push new data. My ru...
In Firebase I have a users "node", which looks like:  users: {   someUid: {     username: 'someUsername'     activeConversations: {},     profile_picture: ''     ... lots of other children   },   ... }, anotherNode: {  }, ......
Let's say my Firebase collection looks like:  {   "max":5   "things":{} }   How would I use the value of max in my security rules to limit the number of things?  {   "rules": {     "things": {       ".validate&...
I'm studying AngularJS and Firebase and I'm playing with a simple ChatApp, just to understand the code.  My Firebase DB structure is like this:  "chat": {     "messages": {         "chat1": { [ list of messages ] },...
I need to give anonymous users the ability to update a specific value inside a nested architecture without giving permission on the rest of the document.  events is a top level collection and I update my document like so  update(`events/${event.id}`,...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.