Saturday, October 4, 2025
HomeiOS Developmentios - Flutter Superior Notifications PlatformException Unknown Error

ios – Flutter Superior Notifications PlatformException Unknown Error

[ad_1]

I adopted ResoCoder’s information on arrange the whole lot having to do with the Superior Notifications Plugin. Once I attempt creating a brand new primary notification, this error known as:

My Code

Future<void> createBasicNotification() async {
attempt {
        await AwesomeNotifications().createNotification(
       content material: NotificationContent(
                id: createUniqueId(),
                channelKey: 'basic_channel',
                title: '${Emojis.money_coin} Check Notification Title',
                physique: 'This '
                    'is your first notification boy',
                bigPicture: 'belongings://belongings/frediLogoSlogan.png',
                notificationLayout: NotificationLayout.BigPicture));
      } on PlatformException catch (error) {
        print("poop $error");
      }
    }

Then I name:

onPressed: () async {
          print('pressed');
          await createBasicNotification();
        },

The Error (Output)

pressed

flutter: PlatformException(exception, Unknow error, The operation couldn’t be accomplished. (awesome_notifications.AwesomeNotificationsException error 1.), null)

I do not know what to repair as there isn’t any description.

Please Assist! Thanks!

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments