title: Android - read data from push notification on open the app
body: <p>I´ve set up my app with Firebase Cloud Messaging to recive notifications.</p>
  
  <p>I created a Service that extends from FirebaseMessagingService and overwritten the method onMessageReceived. Here i created a notification that when you click on it, navigate to an activity depending on the RemoteMessage data that comes as a parameter.
  It's not a problem, but it only works if the app is in foreground or background.</p>
  
  <p>When the application is closed, the operating system is responsible for launching the notification, and here comes the problem.
  When i click on it, the first activity is opened (in my case SplashActivity) and I have to read the notification data to know what activity to open next.</p>
  
  <p>I don't know how to do it.
  Is there any way to get that data in SplashActivity?</p>