I am using firebase/firestore and I really don't want or need anyone to sign in or create a user ID. I have one collection that I'd like the user to write to. The fields are meaningless and have no information that would mean anything to anyone but reports I would like to have. All of the other collections are read only. Will I be allowed to do this as far as firebase and Apple publishing the app? If necessary could I create a user with device name and a password but the user would not have to do anything or ever have to?
Can I create an app where the user never has to log in or create a username and password?
48 views Asked by hockeyfan530 At
1
There is no requirement that says that you should implement Firebase Authentication to create an app or to write some data to Firestore. It's up to you to decide if you implement it or not. There is nothing to force you to implement authentication, if you don't have to.
If you only need to have a single collection in which the user can write, then allow the users in security rules to only write to that collection and restrict all the other ones.
When you publish an app, there is no constraint regarding authentication. You can publish an app that doesn't have authentication.
As @DougStevenson already mentioned in his comment, you can do whatever you want, even implement your own authenticator mechanism, but I'm not sure why would you do that.
In the end, please don't forget to read the document regarding security, because malicious users might take advantage of unsecured databases. When it comes to Firestore, I think that this resource will help.