File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
android/src/main/java/io/fullstack/firestack Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ private DatabaseReference getDatabaseReferenceAtPath(final String path) {
172172 }
173173
174174 private WritableMap dataSnapshotToMap (String name , DataSnapshot dataSnapshot ) {
175- WritableMap data = Arguments .createMap ();
175+ WritableMap data = Arguments .cregateMap ();
176176
177177 data .putString ("key" , dataSnapshot .getKey ());
178178 data .putBoolean ("exists" , dataSnapshot .exists ());
Original file line number Diff line number Diff line change @@ -27,21 +27,21 @@ export class Firestack {
2727
2828 constructor ( options ) {
2929 this . options = options || { } ;
30- this . _debug = options . debug || false ;
30+ this . _debug = this . options . debug || false ;
3131 log = this . _log = new Log ( 'firestack' , this . _debug ) ;
3232
3333 log . info ( 'Creating new instance' ) ;
3434
35- this . _remoteConfig = options . remoteConfig || { } ;
36- delete options . remoteConfig ;
35+ this . _remoteConfig = this . options . remoteConfig || { } ;
36+ delete this . options . remoteConfig ;
3737
3838 this . configured = this . options . configure || false ;
3939 this . auth = null ;
4040
4141 this . eventHandlers = { } ;
4242
43- log . info ( 'Calling configure with options' , options ) ;
44- this . configure ( options ) ;
43+ log . info ( 'Calling configure with options' , this . options ) ;
44+ this . configure ( this . options ) ;
4545
4646 this . _auth = new Authentication ( this ) ;
4747 }
You can’t perform that action at this time.
0 commit comments