flutter_local_notifications: ^11.0.0
I used this library but I can find IOSInitializationSettings please help me. I m trying to integrate push notifications into my flutter app.
From the flutter_local_notifications docs, version 10.0 has the following breaking changes:
iOS and macOS classes have been renamed and refactored as they are based on the same operating system and share the same notification APIs. Rather than having a prefix of either IOS or MacOS, these are now replaced by classes with a Darwin prefix. For example, IOSInitializationSettings can be replaced with DarwinInitializationSettings
So change:
IOSInitializationSettings
--> DarwinInitializationSettings
IOSNotificationDetails
--> DarwinNotificationDetails