-
Notifications
You must be signed in to change notification settings - Fork 35
Notifications service #382
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
Conversation
Create LocalNotificationService for managing, scheduling and getting local notifications.
@Ostrenkiy, добавил аналитику открытия нотификаций. Используется в NotificationsService:
|
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.
Ещё кажется, что ContentProvider
не очень говорящее название. Предлагаю это обсудить
Stepic/TabBarRouter.swift
Outdated
// Avoid capture of `self`. | ||
let notificationsSection = self.notificationsSection | ||
|
||
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { [weak pager] in |
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.
Почему секунда? Почему не две? Точно не достаточно просто async?
У Как по-лучше его обозвать? |
Задача: #APPS-2013, #APPS-2014
Описание:
Открытие пушей и локальных нотификаций с разделением на типы и соответствующим роутингом контролируется в одном месте
NotificationsService
.Поддержка локальных уведомлений до iOS 10.0 и выше, используя
LocalNotificationsService
.TODO: