title: IOS Device not receiving notification from firebase
body: <p>i am trying to send push notification to my flutter app, Android part works fine, but iOS device is not receiving push notifications (I created APN Certificate, which works fine in my another app).</p>
  <p>Here's my configurations</p>
  <p><strong>main.dart</strong></p>
  <pre><code>void main() async {
    WidgetsFlutterBinding.ensureInitialized();
    SharedPreferences prefs = await SharedPreferences.getInstance();
    await Firebase.initializeApp();
    String? logged =
        prefs.getString('uid') == null || prefs.getString('uid') == ''
            ? null
            : prefs.getString('uid');
  
    initializeDateFormatting();
    Intl.defaultLocale = 'tr';
    listenChanges();
    AwesomeNotifications().initialize(
        // set the icon to null if you want to use the default app icon
        'resource://drawable/res_app_icon',
        []);
  
    FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
    // Create the initialization for your desired push service here
  
    runApp(MyApp(
      logged: logged,
    ));
  }
  
  class MyApp extends StatefulWidget {
    MyApp({required this.logged});
  
    String? logged;
  
    @override
    State&lt;MyApp&gt; createState() =&gt; _MyAppState();
  }
  
  class _MyAppState extends State&lt;MyApp&gt; {
    @override
    Widget build(BuildContext context) {
      return GetMaterialApp(
        debugShowCheckedModeBanner: false,
        title: 'Greatr',
        theme: whiteTheme,
        home: widget.logged != null ? SplashScreen() : Onboarding(),
      );
    }
  }
  
  Future&lt;void&gt; _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
    AwesomeNotifications().createNotificationFromJsonData(message.data);
  }
  </code></pre>
  <p>It's the same as my working example.</p>
  <p><strong>AppDelegate.swift</strong></p>
  <pre><code>import UIKit
  import Flutter
  import Firebase
  @UIApplicationMain
  @objc class AppDelegate: FlutterAppDelegate {
    override func application(
      _ application: UIApplication,
      didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -&gt; Bool {
       FirebaseApp.configure()
      GeneratedPluginRegistrant.register(with: self)
     
      return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }
  }
  </code></pre>
  <p><strong>Also enabled Push Notifications and BackgroundModes(background fetch and remote notifications)</strong></p>
  <p>trying to solve this problem for 2-3 days and tried every solution, still no notification, any idea how to fix it?</p>
  <p><strong>Versions</strong></p>
  <pre><code>awesome_notifications: ^0.0.6+10
    firebase_core: &quot;^1.0.4&quot;
    firebase_messaging: &quot;^9.1.2&quot;
  </code></pre>