[tests] enableLogging on firestore + database

This commit is contained in:
Salakar 2017-11-28 14:49:21 +00:00
parent f60fe530d6
commit daa988e8d2
1 changed files with 5 additions and 1 deletions

View File

@ -2,9 +2,11 @@ import { Platform } from 'react-native';
import firebase from 'firebase';
import RNfirebase from './../firebase';
import DatabaseContents from './tests/support/DatabaseContents';
RNfirebase.database.enableLogging(true);
RNfirebase.firestore.enableLogging(true);
const config = {
apiKey: 'AIzaSyDnVqNhxU0Biit9nCo4RorAh5ulQQwko3E',
authDomain: 'rnfirebase-b9ad4.firebaseapp.com',
@ -42,6 +44,8 @@ const instances = {
another: RNfirebase.initializeApp(Platform.OS === 'ios' ? ios : android, 'anotherApp'),
};
console.log('RNApps -->', RNfirebase.apps);
// natively initialized apps are already available at app run time,