title: Flutter Android Alarm Manager not working
body: <p>I have installed the <a href="https://pub.dartlang.org/packages/android_alarm_manager" rel="noreferrer">Android Alarm Manager</a> plugin in my Flutter v1.0.0 app by following the instructions at the link. But when I try to use <code>AndroidAlarmManager.oneShot(...)</code> nothing happens. There's not even an error in the console.</p>
  
  <p>I am using a <code>FutureBuilder</code> widget to wait on the <code>AndroidAlarmManager.initialize()</code> future and one other future before my app begins rendering:</p>
  
  <pre><code>final combinedFutures = Future.wait&lt;void&gt;([
    gameService.asyncLoad(),
    AndroidAlarmManager.initialize(),
  ]);
  
  FutureBuilder&lt;void&gt;(
    future: combinedFutures,
    builder: (context, snapshot) {
      ...
    }
  )
  </code></pre>
  
  <p>The <code>FutureBuilder</code> does end up rendering what it should so I know that the <code>AndroidAlarmManager.initialize()</code> future returns correctly. </p>
  
  <p>Then in a button's <code>onPressed</code> function I do this:</p>
  
  <pre><code>AndroidAlarmManager.oneShot(
    Duration(seconds: 5),
    0,
    () {
      print("test");
    },
    wakeup: true,
  );
  </code></pre>
  
  <p>The above should be calling <code>print(test)</code> after 5 seconds and waking up my phone but nothing is printed to the console and nothing happens on my phone. What is going wrong?</p>