title: Best way to capture screen time and press events using React Native Expo and Firebase Analytics
body: <p>My group and I are currently working on a mobile app using expo-cli and firebase as the backend. One of the requirements is we need to get users' screen time and record how frequently users press certain buttons. According to expo <a href="https://docs.expo.dev/versions/latest/sdk/firebase-analytics/" rel="nofollow noreferrer">firebase documentation</a>, it only supports limited Firebase Analysis. We were wondering what would be the best way to use Firebase Analytics with Expo to capture screen time and button pressed frequencies.</p>