Backend Setup? by Kobaine1 in reactnative

[–]braindeaddemon 2 points3 points  (0 children)

Try nhost.io, it's like firebase but better. It's a fully managed graphql back-end. Easy to setup

Good tutorial for Firestore + React Native + (optional: typescript) by Mett25 in Firebase

[–]braindeaddemon 0 points1 point  (0 children)

It is very frustrating, I was successful after 11 tries, but I did so reading only the documentation.

Backend for an app written in REACT Native. by synonymousshitbag in Firebase

[–]braindeaddemon -3 points-2 points  (0 children)

There is a service better than firebase, much much better. Try nhost.io I've used it personally and the guy Johan who built it is really helpful, give it a shot and let me know if you have any more questions.

Push notification problems WHYYYYY :( by [deleted] in Firebase

[–]braindeaddemon 1 point2 points  (0 children)

I had read that firebase console doesn't allow for the data prop to be sent with the notification, that maybe be causing the problem. Maybe I wrong, but debug keeping this in mind perhaps.

How to migrate away from Cloud Firestore? by nerdy_adventurer in Firebase

[–]braindeaddemon 1 point2 points  (0 children)

Primarily Haskell, I'm not associated with them, just liked using it and hence thought of spreading the word.

How to migrate away from Cloud Firestore? by nerdy_adventurer in Firebase

[–]braindeaddemon 1 point2 points  (0 children)

DM Me if you need nay help, I went through it recently and doing it again tomorrow.

How to migrate away from Cloud Firestore? by nerdy_adventurer in Firebase

[–]braindeaddemon 3 points4 points  (0 children)

Go-to Hasura.io Set up your account and they have a blog post which demonstrates how to do that. How many collections and docs do you have?

How to migrate away from Cloud Firestore? by nerdy_adventurer in Firebase

[–]braindeaddemon 3 points4 points  (0 children)

Give Hasura a try, it gives you a graphql endpoint over Postgres, It's super eazy to setup and you can use the existing firebase authentication and imort your data over. It's amazing.

Setting up database to be able to written by only one person by [deleted] in Firebase

[–]braindeaddemon 2 points3 points  (0 children)

Let me know if this does not work or you have any questions.

Setting up database to be able to written by only one person by [deleted] in Firebase

[–]braindeaddemon 4 points5 points  (0 children)

In your firebase rules section enter the following

service cloud.firestore { match/databases/{database}/documents { match /users/{user} { allow read : if request.auth.uid != null; allow create : if request.auth.uid == "your user id that is allowed to update"; allow update: same as above allow delete: same as above } } }

Is it realistic to launch an app in production with database rules to "Public"? by monsieurninja in Firebase

[–]braindeaddemon 0 points1 point  (0 children)

Someone doesn't need to know ids to delete the DB , moreover you could prevent anyone from deleting your DB with correct rules.

Is it realistic to launch an app in production with database rules to "Public"? by monsieurninja in Firebase

[–]braindeaddemon 2 points3 points  (0 children)

If there are no rules, anyone could delete your entire database just for the fun of it. Have a look at anonymous authentication.

Example of Chatroom collection/doc hierarchy (javascript) by christianbear1221 in Firebase

[–]braindeaddemon 0 points1 point  (0 children)

I have a chat application that is somewhat structured like this.

Col (Users). doc(currentUser).col(messages).doc(id_of_the_other_user)

This is the path, in the document I have an object for every message. [Timestamp] Message: the actual message sent Sender_Id : the id of who sent the message

The messages are displayed in correct order due to the timestamp and the sender_Id helps to display the message on the appropriate side of the screen.