0

Hello i'm using firebase for my project with flutter, looks like the test period is done, but i still have some work to do, how to extend the period ? that's my rules on realtime database looks like :

{
  "rules": {
    
      
    
    ".read": "now < 1605567610000",  // 2020-11-17
   
  }
}

Thank you

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441
Rached Khalledi
  • 187
  • 1
  • 1
  • 8
  • just change this value 1605567610000 to whatever you want giving you more time – MehranB Dec 08 '20 at 22:36
  • 1
    Does this answer your question? [Email: \[Firebase\] Client access to your Cloud Firestore database expiring in X day(s)](https://stackoverflow.com/questions/58869759/email-firebase-client-access-to-your-cloud-firestore-database-expiring-in-x-d) – Chukwuemeka Maduekwe Dec 08 '20 at 23:31

1 Answers1

0

The number 1605567610000 is a measurement of a point in time in milliseconds since unix epoch. Your rules are saying that reads against the entire database are not allowed after that point in time. You can simply increase that number to a point in time in the future when you would like read access to expire. Use a tool like this to come up with a new number.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441