title: Flutter Capture event when app comes to Foreground from triggered Intent
body: <p>I am trying to pull off some basic stuff here. Scenario: I am checking for GPS status on <code>init()</code> using <code>isLocationServiceEnabled</code>. If the GPS is off, I'm showing a popup that redirects to Location settings using <code>AndroidIntent</code>. If hit back without turning on the GPS, I want to capture the event when my app comes to foreground. I guessed it has to do with the lifecycle and tried like below, nothing gets print on the console</p>
  
  <pre><code>    AppLifecycleState _notification;
  
      @override
      void didChangeAppLifecycleState(AppLifecycleState state) {
        setState(() {
          _notification = state;
          print('onResumed called 1');
          print(_notification);
        });
        if( state == AppLifecycleState.resumed){
          print('onResumed called 2');
        }
      }
  </code></pre>
  
  <p>Am I missing something here?</p>