INNER CODE UNIT · JavaScript
Firestack
fullstackreact/react-native-firestack · lib/firestack.js:31
export class Firestack extends Singleton {
constructor(options) {
var instance = super(options);
instance.options = options || {};
instance._debug = instance.options.debug || false;
Log.enable(instance._debug);
log = instance._log = new Log('firestack');
log.info('Creating new firestack instance');
instance._remoteConfig = instance.options.remoteConfig || {};
delete instance.options.remoteConfig;
instance.configured = instance.options.configure || false;
instance.auth = null;