expo-notifications 0.30.4 → 0.30.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +5 -1966
  3. package/android/build.gradle +2 -2
  4. package/android/src/main/java/expo/modules/notifications/notifications/RemoteMessageSerializer.java +5 -0
  5. package/android/src/main/java/expo/modules/notifications/notifications/model/NotificationData.kt +0 -3
  6. package/android/src/main/java/expo/modules/notifications/service/delegates/ExpoHandlingDelegate.kt +13 -3
  7. package/android/src/main/java/expo/modules/notifications/service/delegates/FirebaseMessagingDelegate.kt +14 -13
  8. package/build/Notifications.types.d.ts +30 -6
  9. package/build/Notifications.types.d.ts.map +1 -1
  10. package/build/Notifications.types.js.map +1 -1
  11. package/build/NotificationsHandler.d.ts.map +1 -1
  12. package/build/NotificationsHandler.js +4 -2
  13. package/build/NotificationsHandler.js.map +1 -1
  14. package/build/registerTaskAsync.d.ts +12 -6
  15. package/build/registerTaskAsync.d.ts.map +1 -1
  16. package/build/registerTaskAsync.js +12 -6
  17. package/build/registerTaskAsync.js.map +1 -1
  18. package/build/utils/mapNotificationResponse.d.ts +32 -8
  19. package/build/utils/mapNotificationResponse.d.ts.map +1 -1
  20. package/expo-module.config.json +1 -1
  21. package/ios/EXNotifications/Notifications/Background/BackgroundEventTransformer.swift +47 -0
  22. package/ios/EXNotifications/Notifications/Background/NotificationsBackgroundTaskConsumer.swift +2 -1
  23. package/ios/EXNotifications.podspec +7 -0
  24. package/ios/Tests/BackgroundEventTransformerSpec.swift +104 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.30.4/expo.modules.notifications-0.30.4-sources.jar → 0.30.6/expo.modules.notifications-0.30.6-sources.jar} +0 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6-sources.jar.md5 +1 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6-sources.jar.sha1 +1 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6-sources.jar.sha256 +1 -0
  29. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6-sources.jar.sha512 +1 -0
  30. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.aar +0 -0
  31. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.aar.md5 +1 -0
  32. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.aar.sha1 +1 -0
  33. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.aar.sha256 +1 -0
  34. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.aar.sha512 +1 -0
  35. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.30.4/expo.modules.notifications-0.30.4.module → 0.30.6/expo.modules.notifications-0.30.6.module} +22 -22
  36. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.module.md5 +1 -0
  37. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.module.sha1 +1 -0
  38. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.module.sha256 +1 -0
  39. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.module.sha512 +1 -0
  40. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/{0.30.4/expo.modules.notifications-0.30.4.pom → 0.30.6/expo.modules.notifications-0.30.6.pom} +1 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.pom.md5 +1 -0
  42. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.pom.sha1 +1 -0
  43. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.pom.sha256 +1 -0
  44. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.6/expo.modules.notifications-0.30.6.pom.sha512 +1 -0
  45. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml +4 -4
  46. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.md5 +1 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha1 +1 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha256 +1 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/maven-metadata.xml.sha512 +1 -1
  50. package/package.json +3 -3
  51. package/src/Notifications.types.ts +34 -7
  52. package/src/NotificationsHandler.ts +4 -2
  53. package/src/registerTaskAsync.ts +12 -6
  54. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4-sources.jar.md5 +0 -1
  55. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4-sources.jar.sha1 +0 -1
  56. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4-sources.jar.sha256 +0 -1
  57. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4-sources.jar.sha512 +0 -1
  58. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.aar +0 -0
  59. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.aar.md5 +0 -1
  60. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.aar.sha1 +0 -1
  61. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.aar.sha256 +0 -1
  62. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.aar.sha512 +0 -1
  63. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.module.md5 +0 -1
  64. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.module.sha1 +0 -1
  65. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.module.sha256 +0 -1
  66. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.module.sha512 +0 -1
  67. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.pom.md5 +0 -1
  68. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.pom.sha1 +0 -1
  69. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.pom.sha256 +0 -1
  70. package/local-maven-repo/host/exp/exponent/expo.modules.notifications/0.30.4/expo.modules.notifications-0.30.4.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,20 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.30.6 — 2025-04-22
14
+
15
+ ### 🛠 Breaking changes
16
+
17
+ - [Android] support action buttons when not in foreground. This is breaking because notification background tasks on Android run not only in response to an incoming notification but also in response to an action button press. ([#35295](https://github.com/expo/expo/pull/35295) by [@vonovak](https://github.com/vonovak))
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - correctly include `NotificationContent.data` in `NotificationHandler` ([#36195](https://github.com/expo/expo/pull/36195) by [@vonovak](https://github.com/vonovak))
22
+
23
+ ## 0.30.5 — 2025-04-21
24
+
25
+ _This version does not introduce any user-facing changes._
26
+
13
27
  ## 0.30.4 — 2025-04-14
14
28
 
15
29
  _This version does not introduce any user-facing changes._