diff --git a/tests/src/firebase.js b/tests/src/firebase.js index 033b438b..f51fb163 100644 --- a/tests/src/firebase.js +++ b/tests/src/firebase.js @@ -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,