Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Pro subscription. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it’s simply the best investment you can make in your development career.

Set Cloud Messaging Permissions on iOS Pro

This video was last updated on Aug 30 2022

iOS requires specific permissions before receiving notifications. Learn how to setup your iOS device with XCode and in your Flutter project.


Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a Professional subscription.

There are a few steps to follow before receiving notifications on iOS. And by the way, it’s the same for MacOS.

final notificationSettings = await messaging.requestPermission( 
    alert: true, 
    badge: true, 
    sound: true, 
  print('Notification permission status: '  
    + '${notificationSettings.authorizationStatus}');