| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/ |
| H A D | SharedPreferencesNotificationsStore.kt | 33 fun getNotificationRequest(identifier: String) = in <lambda>() 35 preferencesNotificationRequestKey(identifier), in <lambda>() 74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>() 84 fun removeNotificationRequest(identifier: String) = in <lambda>() 85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>() 96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>() 97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>() 105 removeNotificationRequest(this, it.identifier) in <lambda>() 106 it.identifier in <lambda>() 117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>() [all …]
|
| H A D | SharedPreferencesNotificationCategoriesStore.kt | 33 fun getNotificationCategory(identifier: String) = in <lambda>() 35 preferencesNotificationCategoryKey(identifier), in <lambda>() 76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>() 88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>() 90 preferencesNotificationCategoryKey(identifier), in <lambda>() 96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>() 104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>() 105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
|
| H A D | ExpoSchedulingDelegate.kt | 35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>() 36 store.getNotificationRequest(identifier) in <lambda>() 59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>() 62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>() 67 override fun triggerNotification(identifier: String) { in <lambda>() 69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>() 73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() 77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/delegates/ |
| H A D | SharedPreferencesNotificationsStore.kt | 33 fun getNotificationRequest(identifier: String) = in <lambda>() 35 preferencesNotificationRequestKey(identifier), in <lambda>() 74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>() 84 fun removeNotificationRequest(identifier: String) = in <lambda>() 85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>() 96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>() 97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>() 105 removeNotificationRequest(this, it.identifier) in <lambda>() 106 it.identifier in <lambda>() 117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>() [all …]
|
| H A D | SharedPreferencesNotificationCategoriesStore.kt | 33 fun getNotificationCategory(identifier: String) = in <lambda>() 35 preferencesNotificationCategoryKey(identifier), in <lambda>() 76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>() 88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>() 90 preferencesNotificationCategoryKey(identifier), in <lambda>() 96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>() 104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>() 105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
|
| H A D | ExpoSchedulingDelegate.kt | 35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>() 36 store.getNotificationRequest(identifier) in <lambda>() 59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>() 62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>() 67 override fun triggerNotification(identifier: String) { in <lambda>() 69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>() 73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() 77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/delegates/ |
| H A D | SharedPreferencesNotificationsStore.kt | 33 fun getNotificationRequest(identifier: String) = in <lambda>() 35 preferencesNotificationRequestKey(identifier), in <lambda>() 74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>() 84 fun removeNotificationRequest(identifier: String) = in <lambda>() 85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>() 96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>() 97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>() 105 removeNotificationRequest(this, it.identifier) in <lambda>() 106 it.identifier in <lambda>() 117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>() [all …]
|
| H A D | SharedPreferencesNotificationCategoriesStore.kt | 33 fun getNotificationCategory(identifier: String) = in <lambda>() 35 preferencesNotificationCategoryKey(identifier), in <lambda>() 76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>() 88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>() 90 preferencesNotificationCategoryKey(identifier), in <lambda>() 96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>() 104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>() 105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
|
| H A D | ExpoSchedulingDelegate.kt | 35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>() 36 store.getNotificationRequest(identifier) in <lambda>() 59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>() 62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>() 67 override fun triggerNotification(identifier: String) { in <lambda>() 69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>() 73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() 77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/delegates/ |
| H A D | SharedPreferencesNotificationsStore.kt | 33 fun getNotificationRequest(identifier: String) = in <lambda>() 35 preferencesNotificationRequestKey(identifier), in <lambda>() 74 preferencesNotificationRequestKey(notificationRequest.identifier), in <lambda>() 84 fun removeNotificationRequest(identifier: String) = in <lambda>() 85 removeNotificationRequest(sharedPreferences.edit(), identifier).apply() in <lambda>() 96 private fun removeNotificationRequest(editor: SharedPreferences.Editor, identifier: String) = in <lambda>() 97 editor.remove(preferencesNotificationRequestKey(identifier)) in <lambda>() 105 removeNotificationRequest(this, it.identifier) in <lambda>() 106 it.identifier in <lambda>() 117 private fun preferencesNotificationRequestKey(identifier: String) = in <lambda>() [all …]
|
| H A D | SharedPreferencesNotificationCategoriesStore.kt | 33 fun getNotificationCategory(identifier: String) = in <lambda>() 35 preferencesNotificationCategoryKey(identifier), in <lambda>() 76 preferencesNotificationCategoryKey(notificationCategory.identifier), in <lambda>() 88 fun removeNotificationCategory(identifier: String): Boolean { in <lambda>() 90 preferencesNotificationCategoryKey(identifier), in <lambda>() 96 .remove(preferencesNotificationCategoryKey(identifier)) in <lambda>() 104 private fun preferencesNotificationCategoryKey(identifier: String) = in <lambda>() 105 NOTIFICATION_CATEGORY_KEY_PREFIX + identifier in <lambda>()
|
| H A D | ExpoSchedulingDelegate.kt | 35 override fun getScheduledNotification(identifier: String): NotificationRequest? = try { in <lambda>() 36 store.getNotificationRequest(identifier) in <lambda>() 59 NotificationsService.removeScheduledNotification(context, request.identifier) in <lambda>() 62 …(nextTriggerDate.time, NotificationsService.createNotificationTrigger(context, request.identifier)) in <lambda>() 67 override fun triggerNotification(identifier: String) { in <lambda>() 69 val notificationRequest: NotificationRequest = store.getNotificationRequest(identifier)!! in <lambda>() 73 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 75 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() 77 …tifications", "An exception occurred while triggering notification " + identifier + ", removing. "… in <lambda>() 79 NotificationsService.removeScheduledNotification(context, identifier) in <lambda>() [all …]
|
| /expo/packages/expo-file-system/ios/ |
| H A D | FileSystemBackgroundSessionHandler.swift | 10 public func invokeCompletionHandler(forSessionIdentifier identifier: String) { in invokeCompletionHandler() 11 guard let completionHandler = completionHandlers[identifier] else { in invokeCompletionHandler() 17 completionHandlers.removeValue(forKey: identifier) in invokeCompletionHandler() 22 …tion(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, complet… 23 completionHandlers[identifier] = completionHandler
|
| /expo/packages/expo-notifications/src/__tests__/ |
| H A D | Notifications-test.ts | 5 identifier: 'test_id', 18 input.identifier, 34 input.identifier, 56 input.identifier, 79 input.identifier, 103 input.identifier, 126 input.identifier, 150 input.identifier, 175 input.identifier, 192 input.identifier, [all …]
|
| /expo/packages/expo-file-system/ios/EXSessionTasks/ |
| H A D | EXSessionHandler.m | 26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier 28 if (!identifier) { 32 void (^completionHandler)(void) = _completionHandlers[identifier]; 38 [_completionHandlers removeObjectForKey:identifier]; 44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle… 46 _completionHandlers[identifier] = completionHandler;
|
| /expo/ios/versioned/sdk47/EXFileSystem/EXFileSystem/EXSessionTasks/ |
| H A D | ABI47_0_0EXSessionHandler.m | 26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier 28 if (!identifier) { 32 void (^completionHandler)(void) = _completionHandlers[identifier]; 38 [_completionHandlers removeObjectForKey:identifier]; 44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle… 46 _completionHandlers[identifier] = completionHandler;
|
| /expo/ios/versioned/sdk48/EXFileSystem/EXFileSystem/EXSessionTasks/ |
| H A D | ABI48_0_0EXSessionHandler.m | 26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier 28 if (!identifier) { 32 void (^completionHandler)(void) = _completionHandlers[identifier]; 38 [_completionHandlers removeObjectForKey:identifier]; 44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle… 46 _completionHandlers[identifier] = completionHandler;
|
| /expo/ios/versioned/sdk49/EXFileSystem/EXFileSystem/EXSessionTasks/ |
| H A D | ABI49_0_0EXSessionHandler.m | 26 - (void)invokeCompletionHandlerForSessionIdentifier:(NSString *)identifier 28 if (!identifier) { 32 void (^completionHandler)(void) = _completionHandlers[identifier]; 38 [_completionHandlers removeObjectForKey:identifier]; 44 …lication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandle… 46 _completionHandlers[identifier] = completionHandler;
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/components/view/ |
| H A D | ABI49_0_0Touch.h | 40 int identifier; member 66 return std::hash<decltype(touch.identifier)>()(touch.identifier); in operator() 72 return lhs.identifier == rhs.identifier; in operator()
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/view/ |
| H A D | ABI48_0_0Touch.h | 40 int identifier; member 66 return std::hash<decltype(touch.identifier)>()(touch.identifier); in operator() 72 return lhs.identifier == rhs.identifier; in operator()
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/view/ |
| H A D | ABI47_0_0Touch.h | 40 int identifier; member 66 return std::hash<decltype(touch.identifier)>()(touch.identifier); in operator() 72 return lhs.identifier == rhs.identifier; in operator()
|
| /expo/packages/expo-notifications/ios/EXNotifications/Notifications/Presenting/ |
| H A D | EXNotificationPresentationModule.m | 36 presentNotificationWithIdentifier:(NSString *)identifier 43 …UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier content:c… 44 [_presentedNotifications addObject:identifier]; 48 …// If there was no error, willPresentNotification: callback will remove the identifier from the set 49 [weakSelf.presentedNotifications removeObject:identifier]; 53 resolve(identifier); 69 dismissNotificationWithIdentifier:(NSString *)identifier 73 …cationCenter currentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[identifier]]; 103 NSString *identifier = notification.request.identifier; 104 if ([_presentedNotifications containsObject:identifier]) { [all …]
|
| /expo/ios/versioned/sdk48/EXNotifications/EXNotifications/Notifications/Presenting/ |
| H A D | ABI48_0_0EXNotificationPresentationModule.m | 36 presentNotificationWithIdentifier:(NSString *)identifier 43 …UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier content:c… 44 [_presentedNotifications addObject:identifier]; 48 …// If there was no error, willPresentNotification: callback will remove the identifier from the set 49 [weakSelf.presentedNotifications removeObject:identifier]; 53 resolve(identifier); 69 dismissNotificationWithIdentifier:(NSString *)identifier 73 …cationCenter currentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[identifier]]; 103 NSString *identifier = notification.request.identifier; 104 if ([_presentedNotifications containsObject:identifier]) { [all …]
|
| /expo/ios/versioned/sdk47/EXNotifications/EXNotifications/Notifications/Presenting/ |
| H A D | ABI47_0_0EXNotificationPresentationModule.m | 36 presentNotificationWithIdentifier:(NSString *)identifier 43 …UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier content:c… 44 [_presentedNotifications addObject:identifier]; 48 …// If there was no error, willPresentNotification: callback will remove the identifier from the set 49 [weakSelf.presentedNotifications removeObject:identifier]; 53 resolve(identifier); 69 dismissNotificationWithIdentifier:(NSString *)identifier 73 …cationCenter currentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[identifier]]; 103 NSString *identifier = notification.request.identifier; 104 if ([_presentedNotifications containsObject:identifier]) { [all …]
|
| /expo/ios/versioned/sdk48/ExpoDevice/ |
| H A D | UIDevice.swift | 14 let identifier = machineMirror.children.reduce("") { identifier, element in variable 16 return identifier 18 return identifier + String(UnicodeScalar(UInt8(value))) 21 return identifier 26 func mapToDevice(identifier: String) -> ExpoDeviceType { in mapToDevice() 27 let currentYear = Calendar(identifier: .gregorian).dateComponents([.year], from: Date()).year in mapToDevice() 30 switch identifier { in mapToDevice() 154 return ExpoDeviceType(modelName: identifier, deviceYearClass: currentYear) in mapToDevice() 157 switch identifier { in mapToDevice() 165 return identifier in mapToDevice() [all …]
|