Home
last modified time | relevance | path

Searched refs:remoteMessage (Results 1 – 22 of 22) sorted by relevance

/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/
H A DFirebaseMessagingDelegate.kt91 override fun onMessageReceived(remoteMessage: RemoteMessage) { in onMessageReceived()
92 NotificationsService.receive(context, createNotification(remoteMessage)) in onMessageReceived()
94 it.scheduleJob(RemoteMessageSerializer.toBundle(remoteMessage)) in onMessageReceived()
98 protected fun createNotification(remoteMessage: RemoteMessage): Notification { in createNotification()
99 val identifier = getNotificationIdentifier(remoteMessage) in createNotification()
100 val payload = JSONObject(remoteMessage.data as Map<*, *>) in createNotification()
102 …equest = createNotificationRequest(identifier, content, FirebaseNotificationTrigger(remoteMessage)) in createNotification()
103 return Notification(request, Date(remoteMessage.sentTime)) in createNotification()
111 protected fun getNotificationIdentifier(remoteMessage: RemoteMessage): String { in getNotificationIdentifier()
112 return remoteMessage.data?.get("tag") ?: remoteMessage.messageId ?: UUID.randomUUID().toString() in getNotificationIdentifier()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/delegates/
H A DFirebaseMessagingDelegate.kt91 override fun onMessageReceived(remoteMessage: RemoteMessage) { in onMessageReceived()
92 NotificationsService.receive(context, createNotification(remoteMessage)) in onMessageReceived()
94 it.scheduleJob(RemoteMessageSerializer.toBundle(remoteMessage)) in onMessageReceived()
98 protected fun createNotification(remoteMessage: RemoteMessage): Notification { in createNotification()
99 val identifier = getNotificationIdentifier(remoteMessage) in createNotification()
100 val payload = JSONObject(remoteMessage.data as Map<*, *>) in createNotification()
102 …equest = createNotificationRequest(identifier, content, FirebaseNotificationTrigger(remoteMessage)) in createNotification()
103 return Notification(request, Date(remoteMessage.sentTime)) in createNotification()
111 protected fun getNotificationIdentifier(remoteMessage: RemoteMessage): String { in getNotificationIdentifier()
112 return remoteMessage.data?.get("tag") ?: remoteMessage.messageId ?: UUID.randomUUID().toString() in getNotificationIdentifier()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/delegates/
H A DFirebaseMessagingDelegate.kt91 override fun onMessageReceived(remoteMessage: RemoteMessage) { in onMessageReceived()
92 NotificationsService.receive(context, createNotification(remoteMessage)) in onMessageReceived()
94 it.scheduleJob(RemoteMessageSerializer.toBundle(remoteMessage)) in onMessageReceived()
98 protected fun createNotification(remoteMessage: RemoteMessage): Notification { in createNotification()
99 val identifier = getNotificationIdentifier(remoteMessage) in createNotification()
100 val payload = JSONObject(remoteMessage.data as Map<*, *>) in createNotification()
102 …equest = createNotificationRequest(identifier, content, FirebaseNotificationTrigger(remoteMessage)) in createNotification()
103 return Notification(request, Date(remoteMessage.sentTime)) in createNotification()
111 protected fun getNotificationIdentifier(remoteMessage: RemoteMessage): String { in getNotificationIdentifier()
112 return remoteMessage.data?.get("tag") ?: remoteMessage.messageId ?: UUID.randomUUID().toString() in getNotificationIdentifier()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/delegates/
H A DFirebaseMessagingDelegate.kt91 override fun onMessageReceived(remoteMessage: RemoteMessage) { in onMessageReceived()
92 NotificationsService.receive(context, createNotification(remoteMessage)) in onMessageReceived()
94 it.scheduleJob(RemoteMessageSerializer.toBundle(remoteMessage)) in onMessageReceived()
98 protected fun createNotification(remoteMessage: RemoteMessage): Notification { in createNotification()
99 val identifier = getNotificationIdentifier(remoteMessage) in createNotification()
100 val payload = JSONObject(remoteMessage.data as Map<*, *>) in createNotification()
102 …equest = createNotificationRequest(identifier, content, FirebaseNotificationTrigger(remoteMessage)) in createNotification()
103 return Notification(request, Date(remoteMessage.sentTime)) in createNotification()
111 protected fun getNotificationIdentifier(remoteMessage: RemoteMessage): String { in getNotificationIdentifier()
112 return remoteMessage.data?.get("tag") ?: remoteMessage.messageId ?: UUID.randomUUID().toString() in getNotificationIdentifier()
/expo/android/expoview/src/main/java/host/exp/exponent/fcm/
H A DExpoFirebaseMessagingDelegate.kt25 override fun onMessageReceived(remoteMessage: RemoteMessage) { in onMessageReceived()
30 val scopeKey = remoteMessage.data[NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY] in onMessageReceived()
49 dispatchToNextNotificationModule(remoteMessage) in onMessageReceived()
52 private fun dispatchToNextNotificationModule(remoteMessage: RemoteMessage) { in dispatchToNextNotificationModule()
53 super.onMessageReceived(remoteMessage) in dispatchToNextNotificationModule()
65 val data = notificationTrigger.remoteMessage.data in createNotificationRequest()
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/
H A DExpoFirebaseMessagingService.kt12 …override fun onMessageReceived(remoteMessage: RemoteMessage) = firebaseMessagingDelegate.onMessage…
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/
H A DExpoFirebaseMessagingService.kt12 …override fun onMessageReceived(remoteMessage: RemoteMessage) = firebaseMessagingDelegate.onMessage…
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/
H A DExpoFirebaseMessagingService.kt12 …override fun onMessageReceived(remoteMessage: RemoteMessage) = firebaseMessagingDelegate.onMessage…
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/
H A DExpoFirebaseMessagingService.kt12 …override fun onMessageReceived(remoteMessage: RemoteMessage) = firebaseMessagingDelegate.onMessage…
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/triggers/
H A DFirebaseNotificationTrigger.java18 public FirebaseNotificationTrigger(RemoteMessage remoteMessage) { in FirebaseNotificationTrigger() argument
19 mRemoteMessage = remoteMessage; in FirebaseNotificationTrigger()
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/interfaces/
H A DFirebaseMessagingDelegate.kt17 fun onMessageReceived(remoteMessage: RemoteMessage)
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/service/interfaces/
H A DFirebaseMessagingDelegate.kt17 fun onMessageReceived(remoteMessage: RemoteMessage)
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/service/interfaces/
H A DFirebaseMessagingDelegate.kt17 fun onMessageReceived(remoteMessage: RemoteMessage)
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/service/interfaces/
H A DFirebaseMessagingDelegate.kt17 fun onMessageReceived(remoteMessage: RemoteMessage)
/expo/android/expoview/src/main/java/host/exp/exponent/notifications/delegates/
H A DScopedExpoPresentationDelegate.kt58 (request.trigger as FirebaseNotificationTrigger).remoteMessage.data["scopeKey"] in getNotifyId()
/expo/packages/expo-notifications/src/
H A DNotifications.types.ts26 remoteMessage?: FirebaseRemoteMessage;
/expo/packages/expo-notifications/build/
H A DNotifications.types.d.ts19 remoteMessage?: FirebaseRemoteMessage;
H A DNotifications.types.js.map1remoteMessage` field a JS version of the Firebase `RemoteMessage` may be accessed.\n * On iOS unde…
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dnotifications.mdx1504 On Android under `remoteMessage` field a JS version of the Firebase `RemoteMessage` may be accessed…
1509 | { remoteMessage: FirebaseRemoteMessage } // Android
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dnotifications.mdx1504 On Android under `remoteMessage` field a JS version of the Firebase `RemoteMessage` may be accessed…
1509 | { remoteMessage: FirebaseRemoteMessage } // Android
/expo/packages/expo-notifications/
H A DCHANGELOG.md293 …ote message can be accessed on Android under `PushNotificationTrigger.remoteMessage`). ([#10453](h…
H A DREADME.md1498 On Android under `remoteMessage` field a JS version of the Firebase `RemoteMessage` may be accessed…
1503 | { remoteMessage: FirebaseRemoteMessage } // Android