How to implement and test Firebase Analytics in a React-Native project?
问题 I have learned from reading that Firebase officially supports react-native. https://firebase.googleblog.com/2016/01/the-beginners-guide-to-react-native-and_84.html I have followed the above link and performed these steps: npm install firebase --save Opened index.ios.js and imported firebase import * as firebase from 'firebase'; Initialise Firebase const firebaseConfig = { apiKey: "<your-api-key>", authDomain: "<your-auth-domain>", databaseURL: "<your-database-url>", storageBucket: "<your