firebase-realtime-database

How to setup a duplicate project in firebase? [duplicate]

南笙酒味 提交于 2021-01-27 12:05:10
问题 This question already has answers here : How to clone an existing Firebase project data to another new project? (3 answers) Closed 1 year ago . I would like to create a duplicate project in firebase so that I dont have to go through the hassle of adding the firebase functions and notifications etc. If I could I would just delete all auth users so that its ready for the actual app but I am unable to do that. So How can I set up a duplicate project but without all the authenticated test users?

Using flutter how to use more than one firebase realtime database in the same App

两盒软妹~` 提交于 2021-01-27 12:05:06
问题 We are developing an application in flutter using firebase realtime database, to provide several services for different customers. I would like to have a different database for each customer using the same firebase project. As firebase support multiple database in the same project I believe is possible to implement using FirebaseDatase plugin. I tried to set a reference to the secondary database, but I can’t find a settle commando to change the instance for this database. If you are using

How to setup a duplicate project in firebase? [duplicate]

谁说我不能喝 提交于 2021-01-27 11:57:29
问题 This question already has answers here : How to clone an existing Firebase project data to another new project? (3 answers) Closed 1 year ago . I would like to create a duplicate project in firebase so that I dont have to go through the hassle of adding the firebase functions and notifications etc. If I could I would just delete all auth users so that its ready for the actual app but I am unable to do that. So How can I set up a duplicate project but without all the authenticated test users?

Use custom domain name as firebase database/auth/storage URL [duplicate]

元气小坏坏 提交于 2021-01-27 11:40:55
问题 This question already has answers here : How to customize domain name of firebase database, auth and storage? (2 answers) Closed 2 years ago . Firebase use this pattern for its database and auth and storage URL auth: https://[PROJECT_ID]. firebaseapp.com database: https://[PROJECT_ID].firebaseio.com storage: https://[PROJECT_ID]. appspot.com I need to map these URLs to my custom domain like this auth: https://fbauth. [MY_CUSTOM_DOMAIN].com database: https://fbdb.[MY_CUSTOM_DOMAIN].com storage

Use custom domain name as firebase database/auth/storage URL [duplicate]

淺唱寂寞╮ 提交于 2021-01-27 11:39:58
问题 This question already has answers here : How to customize domain name of firebase database, auth and storage? (2 answers) Closed 2 years ago . Firebase use this pattern for its database and auth and storage URL auth: https://[PROJECT_ID]. firebaseapp.com database: https://[PROJECT_ID].firebaseio.com storage: https://[PROJECT_ID]. appspot.com I need to map these URLs to my custom domain like this auth: https://fbauth. [MY_CUSTOM_DOMAIN].com database: https://fbdb.[MY_CUSTOM_DOMAIN].com storage

How can I store a time value, specifically only hour and minute in Firebase?

∥☆過路亽.° 提交于 2021-01-27 07:28:30
问题 I don't need this time associated with any date. In fact, I don't want it associated with a specific date. It's more so associated with a generic day of the week. Monday, Saturday, etc. For example, your local coffee shop sets their hours for Monday based on the fact that it is a Monday. Not based on it being May 22, 2017 or May 29, 2017, etc. I could do something like... "Local Coffee Shoppe": { "availability": { "monday": { "start": { "hour": 7, "minute": 30 }, "end": { "hour": 21, "minute"

Storing empty arrays in firebase

此生再无相见时 提交于 2021-01-27 06:37:24
问题 I have my firebase app working with React whereby I sign users up and then log there information to the database. I am creating a "dating app" and I would like some way to store empty arrays. e.g, matchers: [] etc I tried something liket this: firebase.database().ref('users/' + userId).set({ id: userId, username: name, email: email, matchers: [], likedUsers: [], disLikedUsers: [] }); but then read that firebase doesn't really handle arrays as such and now am not sure how to do this. I want

Firebase where to call addChildEventListener so that I can save bandwidth?

我只是一个虾纸丫 提交于 2021-01-27 05:35:21
问题 With my test android app I am trying to calculate how much bandwidth it will take if my user add a child every 10sec or 1min and synced with 5 devices. My app users will create data every minute, so I have to calculate subscription cost for each user per month. Approximate bandwidth consumed by each user per month. I am calling addChildEventListener in my MainActivity and adding child from a BroadcastReceiver class every 10sec. Everytime I restart the app it's downloading all the rows, which

How to retrieve data from Firebase to show in TextView? [closed]

南楼画角 提交于 2021-01-26 02:40:02
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 1 year ago . Improve this question My firebase database structure looks like this: I'm using this code but it doesn't retrieving any data from database and sometime the getUid() produce NullPointerException. Can anyone help me to solve this problem? mAuth = FirebaseAuth.getInstance(); mUser = mAuth.getCurrentUser()

How to retrieve data from Firebase to show in TextView? [closed]

好久不见. 提交于 2021-01-26 02:39:09
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 1 year ago . Improve this question My firebase database structure looks like this: I'm using this code but it doesn't retrieving any data from database and sometime the getUid() produce NullPointerException. Can anyone help me to solve this problem? mAuth = FirebaseAuth.getInstance(); mUser = mAuth.getCurrentUser()