| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/ |
| H A D | RemoteMessageSerializer.java | 47 if (notification == null) { in toBundle() 52 serializedNotification.putString("body", notification.getBody()); in toBundle() 57 serializedNotification.putString("color", notification.getColor()); in toBundle() 61 if (notification.getEventTime() != null) { in toBundle() 66 serializedNotification.putString("icon", notification.getIcon()); in toBundle() 67 if (notification.getImageUrl() != null) { in toBundle() 73 if (notification.getLink() != null) { in toBundle() 79 if (notification.getNotificationCount() != null) { in toBundle() 84 if (notification.getNotificationPriority() != null) { in toBundle() 91 serializedNotification.putString("tag", notification.getTag()); in toBundle() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/ |
| H A D | RemoteMessageSerializer.java | 47 if (notification == null) { in toBundle() 52 serializedNotification.putString("body", notification.getBody()); in toBundle() 57 serializedNotification.putString("color", notification.getColor()); in toBundle() 61 if (notification.getEventTime() != null) { in toBundle() 66 serializedNotification.putString("icon", notification.getIcon()); in toBundle() 67 if (notification.getImageUrl() != null) { in toBundle() 73 if (notification.getLink() != null) { in toBundle() 79 if (notification.getNotificationCount() != null) { in toBundle() 84 if (notification.getNotificationPriority() != null) { in toBundle() 91 serializedNotification.putString("tag", notification.getTag()); in toBundle() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/ |
| H A D | RemoteMessageSerializer.java | 47 if (notification == null) { in toBundle() 52 serializedNotification.putString("body", notification.getBody()); in toBundle() 57 serializedNotification.putString("color", notification.getColor()); in toBundle() 61 if (notification.getEventTime() != null) { in toBundle() 66 serializedNotification.putString("icon", notification.getIcon()); in toBundle() 67 if (notification.getImageUrl() != null) { in toBundle() 73 if (notification.getLink() != null) { in toBundle() 79 if (notification.getNotificationCount() != null) { in toBundle() 84 if (notification.getNotificationPriority() != null) { in toBundle() 91 serializedNotification.putString("tag", notification.getTag()); in toBundle() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/notifications/ |
| H A D | RemoteMessageSerializer.java | 47 if (notification == null) { in toBundle() 52 serializedNotification.putString("body", notification.getBody()); in toBundle() 57 serializedNotification.putString("color", notification.getColor()); in toBundle() 61 if (notification.getEventTime() != null) { in toBundle() 66 serializedNotification.putString("icon", notification.getIcon()); in toBundle() 67 if (notification.getImageUrl() != null) { in toBundle() 73 if (notification.getLink() != null) { in toBundle() 79 if (notification.getNotificationCount() != null) { in toBundle() 84 if (notification.getNotificationPriority() != null) { in toBundle() 91 serializedNotification.putString("tag", notification.getTag()); in toBundle() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/PushNotificationIOS/ |
| H A D | ABI47_0_0RCTPushNotificationManager.mm | 68 return notification; 90 if (notification.fireDate) { 113 if (notification.date) { 198 NSDictionary *userInfo = @{@"notification": notification}; 207 …NSDictionary *userInfo = @{@"notification": notification, @"completionHandler": completionHandler}; 227 …tification = [NSMutableDictionary dictionaryWithDictionary:notification.userInfo[@"notification"]]; 366 if (notification.fireDate()) { 369 if (notification.applicationIconBadgeNumber()) { 372 if (notification.isSilent()) { 390 if (notification.fireDate()) { [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/PushNotificationIOS/ |
| H A D | ABI48_0_0RCTPushNotificationManager.mm | 69 return notification; 95 if (notification.fireDate) { 118 if (notification.date) { 205 NSDictionary *userInfo = @{@"notification" : notification}; 214 …NSDictionary *userInfo = @{@"notification" : notification, @"completionHandler" : completionHandle… 235 [NSMutableDictionary dictionaryWithDictionary:notification.userInfo[@"notification"]]; 400 if (notification.fireDate()) { 403 if (notification.applicationIconBadgeNumber()) { 406 if (notification.isSilent()) { 424 if (notification.fireDate()) { [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/PushNotificationIOS/ |
| H A D | ABI49_0_0RCTPushNotificationManager.mm | 69 return notification; 95 if (notification.fireDate) { 118 if (notification.date) { 205 NSDictionary *userInfo = @{@"notification" : notification}; 214 …NSDictionary *userInfo = @{@"notification" : notification, @"completionHandler" : completionHandle… 235 [NSMutableDictionary dictionaryWithDictionary:notification.userInfo[@"notification"]]; 400 if (notification.fireDate()) { 403 if (notification.applicationIconBadgeNumber()) { 406 if (notification.isSilent()) { 424 if (notification.fireDate()) { [all …]
|
| /expo/packages/expo-notifications/src/ |
| H A D | NotificationsHandler.ts | 10 info: { notification: Notification; id: string }; 11 constructor(notificationId: string, notification: Notification) { 13 this.info = { id: notificationId, notification }; 26 handleNotification: (notification: Notification) => Promise<NotificationBehavior>; 42 notification: Notification; 95 async ({ id, notification }) => { 105 const behavior = await handler.handleNotification(notification); 116 ({ id, notification }) => 117 handler.handleError?.(id, new NotificationTimeoutError(id, notification))
|
| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/ |
| H A D | ExpoPresentationDelegate.kt | 10 import android.service.notification.StatusBarNotification in <lambda>() 71 notification.tag?.let { in <lambda>() 98 notification.notificationRequest.identifier, in <lambda>() 99 getNotifyId(notification.notificationRequest), in <lambda>() 100 createNotification(notification, behavior) in <lambda>() 138 it.setNotification(notification) in <lambda>() 143 val notification = statusBarNotification.notification in <lambda>() constant 168 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>() 171 .setVibrationPattern(notification.vibrate) // using deprecated field in <lambda>() 172 .setSound(notification.sound) 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 | ExpoPresentationDelegate.kt | 11 import android.service.notification.StatusBarNotification in <lambda>() 72 notification.tag?.let { in <lambda>() 99 notification.notificationRequest.identifier, in <lambda>() 100 getNotifyId(notification.notificationRequest), in <lambda>() 101 createNotification(notification, behavior) in <lambda>() 144 it.setNotification(notification) in <lambda>() 149 val notification = statusBarNotification.notification in <lambda>() constant 174 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>() 177 .setVibrationPattern(notification.vibrate) // using deprecated field in <lambda>() 178 .setSound(notification.sound) 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 | ExpoPresentationDelegate.kt | 11 import android.service.notification.StatusBarNotification in <lambda>() 72 notification.tag?.let { in <lambda>() 99 notification.notificationRequest.identifier, in <lambda>() 100 getNotifyId(notification.notificationRequest), in <lambda>() 101 createNotification(notification, behavior) in <lambda>() 144 it.setNotification(notification) in <lambda>() 149 val notification = statusBarNotification.notification in <lambda>() constant 174 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>() 177 .setVibrationPattern(notification.vibrate) // using deprecated field in <lambda>() 178 .setSound(notification.sound) 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 | ExpoPresentationDelegate.kt | 11 import android.service.notification.StatusBarNotification in <lambda>() 72 notification.tag?.let { in <lambda>() 99 notification.notificationRequest.identifier, in <lambda>() 100 getNotifyId(notification.notificationRequest), in <lambda>() 101 createNotification(notification, behavior) in <lambda>() 144 it.setNotification(notification) in <lambda>() 149 val notification = statusBarNotification.notification in <lambda>() constant 174 .setText(notification.extras.getString(android.app.Notification.EXTRA_TEXT)) in <lambda>() 177 .setVibrationPattern(notification.vibrate) // using deprecated field in <lambda>() 178 .setSound(notification.sound) in <lambda>() [all …]
|
| /expo/packages/expo-notifications/build/ |
| H A D | NotificationsHandler.js | 8 constructor(notificationId, notification) { argument 10 this.info = { id: notificationId, notification }; field 55 …on = notificationEmitter.addListener(handleNotificationEventName, async ({ id, notification }) => { 61 const behavior = await handler.handleNotification(notification); 69 …cationTimeoutEventName, ({ id, notification }) => handler.handleError?.(id, new NotificationTimeou…
|
| /expo/android/expoview/src/main/java/host/exp/exponent/kernel/ |
| H A D | KernelConstants.kt | 50 @Deprecated("deprecated") val notification: String? constant in host.exp.exponent.kernel.KernelConstants.ExperienceOptions 53 constructor(manifestUri: String, uri: String?, notification: String?) { 56 this.notification = notification 63 notification: String?, 68 this.notification = notification
|
| /expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/ |
| H A D | ABI47_0_0EXScopedNotificationPresentationModule.m | 28 for (UNNotification *notification in notifications) { 29 …if ([ABI47_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_sc… 30 …fications addObject:[ABI47_0_0EXScopedNotificationSerializer serializedNotification:notification]]; 40 for (UNNotification *notification in notifications) { 41 …if ([ABI47_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:sco… 45 …0EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:notification.request.identif… 47 …rentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[notification.request.identif… 61 for (UNNotification *notification in notifications) { 62 …if ([ABI47_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:sco… 63 [toDismiss addObject:notification.request.identifier];
|
| H A D | ABI47_0_0EXScopedNotificationsEmitter.m | 17 - (NSDictionary *)serializedNotification:(UNNotification *)notification; 35 …if ([ABI47_0_0EXScopedNotificationsUtils shouldNotification:response.notification beHandledByExper… 42 …NotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionH… 44 …if ([ABI47_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_sc… 45 …[super userNotificationCenter:center willPresentNotification:notification withCompletionHandler:co… 51 - (NSDictionary *)serializedNotification:(UNNotification *)notification 53 return [ABI47_0_0EXScopedNotificationSerializer serializedNotification:notification];
|
| /expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/ |
| H A D | ABI49_0_0EXScopedNotificationPresentationModule.m | 28 for (UNNotification *notification in notifications) { 29 …if ([ABI49_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_sc… 30 …fications addObject:[ABI49_0_0EXScopedNotificationSerializer serializedNotification:notification]]; 40 for (UNNotification *notification in notifications) { 41 …if ([ABI49_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:sco… 45 …0EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:notification.request.identif… 47 …rentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[notification.request.identif… 61 for (UNNotification *notification in notifications) { 62 …if ([ABI49_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:sco… 63 [toDismiss addObject:notification.request.identifier];
|
| H A D | ABI49_0_0EXScopedNotificationsEmitter.m | 17 - (NSDictionary *)serializedNotification:(UNNotification *)notification; 35 …if ([ABI49_0_0EXScopedNotificationsUtils shouldNotification:response.notification beHandledByExper… 42 …NotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionH… 44 …if ([ABI49_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_sc… 45 …[super userNotificationCenter:center willPresentNotification:notification withCompletionHandler:co… 51 - (NSDictionary *)serializedNotification:(UNNotification *)notification 53 return [ABI49_0_0EXScopedNotificationSerializer serializedNotification:notification];
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/ |
| H A D | ABI48_0_0EXScopedNotificationPresentationModule.m | 28 for (UNNotification *notification in notifications) { 29 …if ([ABI48_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_sc… 30 …fications addObject:[ABI48_0_0EXScopedNotificationSerializer serializedNotification:notification]]; 40 for (UNNotification *notification in notifications) { 41 …if ([ABI48_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:sco… 45 …0EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:notification.request.identif… 47 …rentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[notification.request.identif… 61 for (UNNotification *notification in notifications) { 62 …if ([ABI48_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:sco… 63 [toDismiss addObject:notification.request.identifier];
|
| H A D | ABI48_0_0EXScopedNotificationsEmitter.m | 17 - (NSDictionary *)serializedNotification:(UNNotification *)notification; 35 …if ([ABI48_0_0EXScopedNotificationsUtils shouldNotification:response.notification beHandledByExper… 42 …NotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionH… 44 …if ([ABI48_0_0EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_sc… 45 …[super userNotificationCenter:center willPresentNotification:notification withCompletionHandler:co… 51 - (NSDictionary *)serializedNotification:(UNNotification *)notification 53 return [ABI48_0_0EXScopedNotificationSerializer serializedNotification:notification];
|
| /expo/ios/Exponent/Versioned/Core/UniversalModules/EXNotifications/ |
| H A D | EXScopedNotificationPresentationModule.m | 28 for (UNNotification *notification in notifications) { 29 …if ([EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_scopeKey]) { 30 …lizedNotifications addObject:[EXScopedNotificationSerializer serializedNotification:notification]]; 40 for (UNNotification *notification in notifications) { 41 … if ([EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:scopeKey]) { 45 …[EXScopedNotificationsUtils getScopeAndIdentifierFromScopedIdentifier:notification.request.identif… 47 …rentNotificationCenter] removeDeliveredNotificationsWithIdentifiers:@[notification.request.identif… 61 for (UNNotification *notification in notifications) { 62 … if ([EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:scopeKey]) { 63 [toDismiss addObject:notification.request.identifier];
|
| H A D | EXScopedNotificationsEmitter.m | 17 - (NSDictionary *)serializedNotification:(UNNotification *)notification; 35 …if ([EXScopedNotificationsUtils shouldNotification:response.notification beHandledByExperience:_sc… 42 …NotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionH… 44 …if ([EXScopedNotificationsUtils shouldNotification:notification beHandledByExperience:_scopeKey]) { 45 …[super userNotificationCenter:center willPresentNotification:notification withCompletionHandler:co… 51 - (NSDictionary *)serializedNotification:(UNNotification *)notification 53 return [EXScopedNotificationSerializer serializedNotification:notification];
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | notifications.mdx | 81 setNotification(notification); 103 <Text>Title: {notification && notification.request.content.title} </Text> 104 <Text>Body: {notification && notification.request.content.body}</Text> 105 <Text>Data: {notification && JSON.stringify(notification.request.content.data)}</Text> 183 title: 'Look at that notification', 282 'Tint color for the push notification image when it appears in the notification tray.', 373 ### Set custom notification sounds 425 // Prepare the notification channel 432 // Eg. schedule the notification 458 sound: 'notification.wav', [all …]
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | notifications.mdx | 82 setNotification(notification); 104 <Text>Title: {notification && notification.request.content.title} </Text> 105 <Text>Body: {notification && notification.request.content.body}</Text> 106 <Text>Data: {notification && JSON.stringify(notification.request.content.data)}</Text> 233 redirect(response.notification); 350 'Tint color for the push notification image when it appears in the notification tray.', 440 ### Set custom notification sounds 492 // Prepare the notification channel 499 // Eg. schedule the notification 525 sound: 'notification.wav', [all …]
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | notifications.mdx | 82 setNotification(notification); 104 <Text>Title: {notification && notification.request.content.title} </Text> 105 <Text>Body: {notification && notification.request.content.body}</Text> 106 <Text>Data: {notification && JSON.stringify(notification.request.content.data)}</Text> 233 redirect(response.notification); 350 'Tint color for the push notification image when it appears in the notification tray.', 440 ### Set custom notification sounds 492 // Prepare the notification channel 499 // Eg. schedule the notification 525 sound: 'notification.wav', [all …]
|