title: MissingPluginException when using a plugins With Alarm Manager Call Back
body: <p>I use <a href="https://pub.dev/packages/android_alarm_manager_plus" rel="nofollow noreferrer">android_alarm_manager_plus 2.0.2</a> plugin in my project and on Call back I use A Function And I Play a Sound With <a href="https://pub.dev/packages/assets_audio_player" rel="nofollow noreferrer">assets_audio_player_3.0.6</a>.</p>
  <p>But I Faced with This Error</p>
  <pre><code>MissingPluginException(No implementation found for method stop on channel assets_audio_player)
  MissingPluginException(No implementation found for method open on channel assets_audio_player)
  [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method open on channel assets_audio_player)
  </code></pre>
  <h4>this Error reported on this Places But I cant Find Any solutoin</h4>
  <p><a href="https://stackoverflow.com/questions/63663182/missingpluginexception-when-using-plugins-in-flutter-alarm-manager-callbacks">MissingPluginException When Using Plugins in Flutter Alarm Manager Callbacks</a></p>
  <p><a href="https://github.com/florent37/Flutter-AssetsAudioPlayer/issues/523" rel="nofollow noreferrer">Flutter-AssetsAudioPlayer/issues/523</a></p>
  <pre><code>Doctor summary (to see all details, run flutter doctor -v):
  [√] Flutter (Channel stable, 2.5.2, on Microsoft Windows [Version 10.0.19043.1237], locale en-US)
  [!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
      ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
  [√] Chrome - develop for the web
  [√] Android Studio (version 4.2)
  [√] Connected device (3 available)
  </code></pre>
  <hr />
  <h2>this code produce this Error</h2>
  <pre><code>import 'package:android_alarm_manager_plus/android_alarm_manager_plus.dart';
  import 'package:assets_audio_player/assets_audio_player.dart';
  import 'package:flutter/cupertino.dart';
  import 'package:flutter/material.dart';
  
  void printHello() async{
    final DateTime now = DateTime.now();
    print(&quot;[$now] Hello, world! function='$printHello'&quot;);
  
    ///play audio
    AssetsAudioPlayer assetsAudioPlayer =
    AssetsAudioPlayer.withId(&quot;App_ID&quot;);
  
    var audio = Audio(
      &quot;assets/audios/music.mp3&quot;,
    );
  
    assetsAudioPlayer.open(audio,
        autoStart: true,
        showNotification: true,
    );
  }
  
  
  main() async {
    WidgetsFlutterBinding.ensureInitialized();
    await AndroidAlarmManager.initialize();
    runApp(MyApp());
    await AndroidAlarmManager.oneShotAt(DateTime.now().add(Duration(seconds: 15)), 123456789, printHello);
  }
  
  
  class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        title: 'Welcome to Flutter',
        home: Scaffold(
          appBar: AppBar(
            title: const Text('Welcome to Flutter'),
          ),
          body: const Center(
            child: Text('Hello World'),
          ),
        ),
      );
    }
  }
  </code></pre>
  <hr />
  <h2>Result</h2>
  <pre><code>[2021-10-11 13:35:27.441400] Hello, world! function='Closure: () =&gt; void from Function 'printHello': static.'
   MissingPluginException(No implementation found for method stop on channel assets_audio_player)
   MissingPluginException(No implementation found for method open on channel assets_audio_player)
   [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method open on channel assets_audio_player)
  </code></pre>
  <hr />