Reputation: 101
Does Firebase count the getting current user id or email (Auth.auth().currentUser?.uid
, Auth.auth().currentUser?.email
) as a read operation and charge it? I searched the documentation but could not find any information.
Upvotes: 0
Views: 326
Reputation: 14145
No, there is no charge associated with getting current user id or email or any kind of auth information. Firebase auth is completely free except the phone auth. You can have unlimited number of users in Firebase Authentication with email, Google, Microsoft etc.
The charge with reference to the read operations is for Firestore. It is totally separate 'module' than Authentication.
Upvotes: 1
Reputation: 317467
The code you're showing is just working with Firebase Authentication, which does not have any billing associated at all for its API, except for use of phone authentication. This should be clear from the documentation on pricing.
Upvotes: 1