[tests] enableLogging on firestore + database
This commit is contained in:
parent
f60fe530d6
commit
daa988e8d2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue