History log of /expo/ios/ExpoNotificationServiceExtension/NotificationService.swift (Results 1 – 3 of 3)
Revision Date Author Comments
# 765b47da 30-Dec-2021 Tomasz Sapeta <[email protected]>

[ios] Fix lint issues in Swift files (#15640)


# d044143f 04-Mar-2021 Charlie Cruzan <[email protected]>

[notifications][ios] Scope notification identifiers (#12055)

* create method to override request IDs

* scope notification request IDs in Expo Go

* add method to Presentation header file

* r

[notifications][ios] Scope notification identifiers (#12055)

* create method to override request IDs

* scope notification request IDs in Expo Go

* add method to Presentation header file

* rename scoping methods to be more general (not just category IDs are scoped)

* only scope emitterModule, handlerModule, and presentationModule in Expo Go

show more ...


# 7228d0b7 09-Feb-2021 Charlie Cruzan <[email protected]>

[notifications][ios] Only scope notification categories in Expo Go (#11651)

* create service extension

* Scope category ID in client if provided

* ONLY scope categories in Expo Go

* remove

[notifications][ios] Only scope notification categories in Expo Go (#11651)

* create service extension

* Scope category ID in client if provided

* ONLY scope categories in Expo Go

* remove serviceExtensionTimeWillExpire method

* modify service entension's CFBundleDisplayName

* use '/' as delimiter to match Android

* rename CFBundleDisplayName

* escape experience ID and category ID

* remove extraneous code

* remove NSRegularExpression code

* [notifications][ios] migrate notification categories (#11789)

* extract category creation logic to separate method

* migrate '-' delimiter to '/' in Expo Go, and migrate scoped to unscoped in standalones

* escape experienceId

* extract migration logic to it's own class

* escape user-provided category ID in Expo Go

* only used EXScopedNotificationSchedulerModule in Expo Go

* move all scoping and escaping logic to EXScopedNotificationsUtils

* use EXScopedNotificationsUtils in NotificationServiceExtension

* search for substring, not regex

* move migrations from constructor to static method; only use EXScopedNotificationCategoriesModule in Expo Go

* replace replaceAllCategoryIdPrefixesMatching with renameCategoryIdentifiersWithPrefix:withBlock

* dont serialize category to create a new one; use UNNotification API directly

* use backslash escaping instead of URL encoding

* add todo to remove in SDK 47

* add back comment

* rename some vars, fix indent

* only escape & unescape forward slash

* use '//' as delimiter

* use '/' as delimiter, use regex

* move legacy scope-checking logic to EXScopedNotificationsUtils

* only replace legacy scope if anchored to beginning of string

* add changelog entry

* Update ios/Exponent/Versioned/Core/UniversalModules/EXNotifications/EXScopedNotificationsUtils.m

Co-authored-by: James Ide <[email protected]>

Co-authored-by: James Ide <[email protected]>

show more ...