File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
android/src/main/java/io/fullstack/firestack Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ public void onHostDestroy() {
208208 public Map <String , Object > getConstants () {
209209 final Map <String , Object > constants = new HashMap <>();
210210 constants .put ("googleApiAvailability" , getPlayServicesStatus ());
211- constants .put ("serverTimeOffset " , new Date (). getTime () - Long . parseLong ( ServerValue .TIMESTAMP . get ( ".sv" ) ));
211+ constants .put ("serverValueTimestamp " , ServerValue .TIMESTAMP ));
212212 return constants ;
213213 }
214214}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default class Database extends Base {
1919 constructor ( firestack : Object , options : Object = { } ) {
2020 super ( firestack , options ) ;
2121 this . subscriptions = { } ;
22- this . serverTimeOffset = FirestackModule . serverTimeOffset || 0 ;
22+ this . serverTimeOffset = 0 ;
2323 this . persistenceEnabled = false ;
2424 this . namespace = 'firestack:database' ;
2525
You can’t perform that action at this time.
0 commit comments