| /expo/android/expoview/src/main/java/host/exp/exponent/notifications/ |
| H A D | ExponentNotification.kt | 25 NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, in toJSONObject() 29 put(NotificationConstants.NOTIFICATION_ORIGIN_KEY, origin) in toJSONObject() 31 put(NotificationConstants.NOTIFICATION_MESSAGE_KEY, body) // deprecated in toJSONObject() 32 put(NotificationConstants.NOTIFICATION_DATA_KEY, body) in toJSONObject() 33 put(NotificationConstants.NOTIFICATION_ID_KEY, notificationId) in toJSONObject() 34 put(NotificationConstants.NOTIFICATION_IS_MULTIPLE_KEY, isMultiple) in toJSONObject() 35 put(NotificationConstants.NOTIFICATION_REMOTE_KEY, isRemote) in toJSONObject() 48 call("putString", NotificationConstants.NOTIFICATION_DATA_KEY, body) in toWriteableMap() 49 call("putInt", NotificationConstants.NOTIFICATION_ID_KEY, notificationId) in toWriteableMap() 73 jsonObject.getInt(NotificationConstants.NOTIFICATION_ID_KEY), in fromJSONObjectString() [all …]
|
| H A D | NotificationHelper.kt | 183 details[NotificationConstants.NOTIFICATION_CHANNEL_DESCRIPTION] as String? in createChannel() 188 details[NotificationConstants.NOTIFICATION_CHANNEL_PRIORITY] as String? in createChannel() 193 details[NotificationConstants.NOTIFICATION_CHANNEL_SOUND] as Boolean? in createChannel() 198 details[NotificationConstants.NOTIFICATION_CHANNEL_VIBRATE] in createChannel() 203 details[NotificationConstants.NOTIFICATION_CHANNEL_BADGE] as Boolean? in createChannel() 241 details.optBoolean(NotificationConstants.NOTIFICATION_CHANNEL_BADGE, true) in createChannel() 254 details.optBoolean(NotificationConstants.NOTIFICATION_CHANNEL_VIBRATE, false) in createChannel() 342 details[NotificationConstants.NOTIFICATION_CHANNEL_NAME] as String?, in maybeCreateLegacyStoredChannel() 385 NotificationConstants.NOTIFICATION_DEFAULT_CHANNEL_ID in showNotification() 456 NotificationConstants.NOTIFICATION_DEFAULT_CHANNEL_ID, in showNotification() [all …]
|
| H A D | NotificationConstants.kt | 4 object NotificationConstants { object
|
| H A D | PushNotificationHelper.kt | 20 NotificationConstants.NOTIFICATION_ID_KEY in removeNotifications()
|
| H A D | ExponentNotificationManager.kt | 57 NotificationConstants.NOTIFICATION_EXPERIENCE_CHANNEL_ID, in maybeCreateExpoPersistentNotificationChannel() 67 NotificationConstants.NOTIFICATION_EXPERIENCE_CHANNEL_GROUP_ID, in maybeCreateExpoPersistentNotificationChannel() 71 channel.group = NotificationConstants.NOTIFICATION_EXPERIENCE_CHANNEL_GROUP_ID in maybeCreateExpoPersistentNotificationChannel()
|
| /expo/android/expoview/src/main/java/host/exp/exponent/fcm/ |
| H A D | ExpoFirebaseMessagingDelegate.kt | 11 import host.exp.exponent.notifications.NotificationConstants 30 val scopeKey = remoteMessage.data[NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY] in onMessageReceived() 70 data[NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY] in createNotificationRequest()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 32 import host.exp.exponent.notifications.NotificationConstants; 169 if (data.hasKey(NotificationConstants.NOTIFICATION_CHANNEL_NAME)) { in createChannel() 170 channelName = data.getString(NotificationConstants.NOTIFICATION_CHANNEL_NAME); in createChannel() 217 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, mExperienceKey.getScopeKey()); in presentLocalNotificationWithChannel() 218 …details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, mExperienceKey.getScopeKe… in presentLocalNotificationWithChannel() 360 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 361 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 398 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithCalendar() 399 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithCalendar()
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 32 import host.exp.exponent.notifications.NotificationConstants; 169 if (data.hasKey(NotificationConstants.NOTIFICATION_CHANNEL_NAME)) { in createChannel() 170 channelName = data.getString(NotificationConstants.NOTIFICATION_CHANNEL_NAME); in createChannel() 217 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, mExperienceKey.getScopeKey()); in presentLocalNotificationWithChannel() 218 …details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, mExperienceKey.getScopeKe… in presentLocalNotificationWithChannel() 360 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 361 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 398 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithCalendar() 399 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithCalendar()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 32 import host.exp.exponent.notifications.NotificationConstants; 169 if (data.hasKey(NotificationConstants.NOTIFICATION_CHANNEL_NAME)) { in createChannel() 170 channelName = data.getString(NotificationConstants.NOTIFICATION_CHANNEL_NAME); in createChannel() 217 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, mExperienceKey.getScopeKey()); in presentLocalNotificationWithChannel() 218 …details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, mExperienceKey.getScopeKe… in presentLocalNotificationWithChannel() 360 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 361 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 398 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithCalendar() 399 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithCalendar()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/notifications/ |
| H A D | NotificationsModule.java | 32 import host.exp.exponent.notifications.NotificationConstants; 169 if (data.hasKey(NotificationConstants.NOTIFICATION_CHANNEL_NAME)) { in createChannel() 170 channelName = data.getString(NotificationConstants.NOTIFICATION_CHANNEL_NAME); in createChannel() 217 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, mExperienceKey.getScopeKey()); in presentLocalNotificationWithChannel() 218 …details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, mExperienceKey.getScopeKe… in presentLocalNotificationWithChannel() 360 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 361 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithTimer() 398 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_ID_KEY, experienceScopeKey); in scheduleNotificationWithCalendar() 399 details.put(NotificationConstants.NOTIFICATION_EXPERIENCE_SCOPE_KEY_KEY, experienceScopeKey); in scheduleNotificationWithCalendar()
|
| /expo/android/expoview/src/main/java/host/exp/exponent/experience/ |
| H A D | ExperienceActivity.kt | 706 NotificationCompat.Builder(this, NotificationConstants.NOTIFICATION_EXPERIENCE_CHANNEL_ID) in <lambda>()
|