there's a JSON field called createdTime, its value is the Server's current timestamp (look like this {".sv":"timestamp"}), but the simulator doesn't allow having "." (dot) in field names. What should I do to simulate that?
Asked
Active
Viewed 415 times
5

adolfosrs
- 9,286
- 5
- 39
- 67

DreamBigAlvin
- 884
- 3
- 13
- 35
-
you can check server time stamp only in firebase database – Bhavin Bhadani Jul 06 '16 at 10:07
-
4We have a fix coming that will allow `.sv` keys in the simulator. – tstirrat Jul 06 '16 at 17:57
-
Thanks for the update. It's working now! :) – DreamBigAlvin Jul 11 '16 at 09:20
-
2hi @avinadoid, is it still working for you ? we have a rule `validate: "newData.val() === now"` but there is no way to test writing that `now`... Internal error .... – Seb Aug 09 '16 at 11:34
1 Answers
1
As the comment by tstirrat
says,
We have a fix coming that will allow
.sv
keys in the simulator.
it appears that this has been fixed as of today.
I made this answer so that this question is considered answered.

Randy Sugianto 'Yuku'
- 71,383
- 57
- 178
- 228