-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[flutter_local_notifications] Add CarPlay notification support with IOSInitializationSettings #2716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[flutter_local_notifications] Add CarPlay notification support with IOSInitializationSettings #2716
Conversation
2f7a5d2 to
b54129f
Compare
b54129f to
42ed4ec
Compare
MaikuB
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I left some comments and can also see some checks have failed. Would you be able to take a look?
...er_local_notifications/Sources/flutter_local_notifications/FlutterLocalNotificationsPlugin.m
Outdated
Show resolved
Hide resolved
flutter_local_notifications/lib/src/platform_specifics/darwin/notification_enabled_options.dart
Outdated
Show resolved
Hide resolved
Co-authored-by: Michael Bui <[email protected]>
…notification_enabled_options.dart Co-authored-by: Michael Bui <[email protected]>
…urces/flutter_local_notifications/FlutterLocalNotificationsPlugin.m
|
Thanks I didn't realise you had made updates to resolve issues as I saw one comment was left open but turns out it was addressed too. There's now conflicts after I merged PRs having not known this was ready. I raised a PR to your fork as it looks like the setting to allow maintainers to edit wasn't ticked Gentex-Corporation#1 |
Applied formatting fixes
Closes #2715
Summary
• Introduces
IOSInitializationSettingsclass for iOS-specific notification features including CarPlay support• Adds CarPlay notification permission request capability via
requestCarPlayPermissionparameter• Maintains full backward compatibility with existing
DarwinInitializationSettingsusageChanges Made
Core Implementation
IOSInitializationSettingsextendsDarwinInitializationSettingsrequestCarPlayPermissionparameter for iOS 10.0+ devicesNotificationsEnabledOptionswithisCarPlayEnabledstatusNative iOS Changes
FlutterLocalNotificationsPlugin.mUNAuthorizationOptionCarPlay)Testing & Documentation
IOSInitializationSettingsclassIOSInitializationSettingsBackward Compatibility
DarwinInitializationSettingscontinues to work unchangedDarwinInitializationSettings