-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
setNotificationOnAppKillContent not work correctly in iOS 15.5 #183
Comments
Hi @hiepjozu Could you be more specific please ? I'm not sure to understand your issue. Make sure to:
|
Thanks @gdelataillade . Must I call |
Just one time after running |
So if I set multiple alarm. Is it NotificationOnAppKill will await when set alarm completed and NotificationOnAppKill will work right? And it show one time or every time when user kill app? |
Yes. I recommend to call Let me know if you have any other question and if we can close the issue. |
@gdelataillade How would you recommend handling a situation where the user can switch the locale of the app mid-session? The OnKillNotification will fire with the startup locale instead of the current. Is there a way to reset it later? |
The on-kill-notification is shown at the moment the app gets terminated, it is not scheduled. |
Alarm plugin version: 3.0.14
Describe the bug:
I set multi alarm on project with this setting.
final alarmSettings = AlarmSettings(
id: id,
dateTime: time,
assetAudioPath: AlarmServiceConst.ringtons,
notificationTitle: Platform.isAndroid ? ValidateUtils.l10n.appName : '',
notificationBody: Platform.isAndroid ? ValidateUtils.l10n.notificationImportantContent : '',
androidFullScreenIntent: false,
);
and I config await Alarm.setNotificationOnAppKillContent(title, content) but it show one time on iOS 15.5
Device info
Iphone 7 iOS 15.5
The text was updated successfully, but these errors were encountered: