title: React Native - Analysis data from Firebase and display inside app
body: <p>I am working on a React Native workout app using Firebase. </p>
  
  <p>I would like to perform simple analysis of user data from the database and present them inside the app to the user or through notifications (Cloud Messaging). </p>
  
  <p><strong>Example 1:</strong> Notification: For the last 7 days, you have an average of 10 minutes on-screen time browsing the workouts section. Good job!</p>
  
  <p><strong>Example 2:</strong> Modal Pop-up: You have been viewing a lot of chest workouts lately, but haven't viewed any leg workouts. Here are some suggestions...</p>
  
  <p>How can I implement such analysis? Is there a built-in, ready to go Machine Learning tool for Firebase and React Native? Are there any alternatives?</p>