expo-calendar 15.1.0-canary-20251223-b83b31e → 15.1.0-canary-20260105-6b962e6

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 (46) hide show
  1. package/android/build.gradle +2 -2
  2. package/android/src/main/java/expo/modules/calendar/next/records/EventRecord.kt +2 -1
  3. package/android/src/main/java/expo/modules/calendar/next/utils/CalendarNextUtils.kt +27 -1
  4. package/expo-module.config.json +1 -1
  5. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e-sources.jar → 15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6-sources.jar} +0 -0
  6. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6-sources.jar.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6-sources.jar.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6-sources.jar.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6-sources.jar.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar → 15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar} +0 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.module → 15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.module} +22 -22
  16. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.module.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.module.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.module.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.module.sha512 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.pom → 15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.pom} +1 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.pom.md5 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.pom.sha1 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.pom.sha256 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20260105-6b962e6/expo.modules.calendar-15.1.0-canary-20260105-6b962e6.pom.sha512 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml +4 -4
  26. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.md5 +1 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.sha1 +1 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.sha256 +1 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.sha512 +1 -1
  30. package/package.json +3 -3
  31. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e-sources.jar.md5 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e-sources.jar.sha1 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e-sources.jar.sha256 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e-sources.jar.sha512 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar.md5 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar.sha1 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar.sha256 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar.sha512 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.module.md5 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.module.sha1 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.module.sha256 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.module.sha512 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.pom.md5 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.pom.sha1 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.pom.sha256 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.1.0-canary-20251223-b83b31e/expo.modules.calendar-15.1.0-canary-20251223-b83b31e.pom.sha512 +0 -1
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '15.1.0-canary-20251223-b83b31e'
7
+ version = '15.1.0-canary-20260105-6b962e6'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.calendar"
11
11
  defaultConfig {
12
12
  versionCode 17
13
- versionName '15.1.0-canary-20251223-b83b31e'
13
+ versionName '15.1.0-canary-20260105-6b962e6'
14
14
  }
15
15
  }
16
16
 
@@ -2,6 +2,7 @@ package expo.modules.calendar.next.records
2
2
 
3
3
  import android.provider.CalendarContract
4
4
  import expo.modules.calendar.domain.event.enums.Availability
5
+ import expo.modules.calendar.next.utils.parseRrDate
5
6
  import expo.modules.calendar.next.utils.rrFormat
6
7
  import expo.modules.calendar.next.utils.sdf
7
8
  import expo.modules.kotlin.records.Field
@@ -99,7 +100,7 @@ data class RecurrenceRuleRecord(
99
100
  return RecurrenceRuleRecord(
100
101
  endDate = ruleMap["UNTIL"]
101
102
  ?.takeIf { it.isNotBlank() }
102
- ?.let { rrFormat.parse(it) }
103
+ ?.let { parseRrDate(it) }
103
104
  ?.let { sdf.format(it) },
104
105
  frequency = ruleMap["FREQ"]?.lowercase(Locale.getDefault()),
105
106
  interval = ruleMap["INTERVAL"]?.toIntOrNull(),
@@ -11,11 +11,37 @@ import expo.modules.calendar.next.exceptions.EventDateTimeInvalidException
11
11
  import java.text.SimpleDateFormat
12
12
  import kotlinx.coroutines.Dispatchers
13
13
  import kotlinx.coroutines.withContext
14
+ import java.util.Date
14
15
 
15
16
  val sdf = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").apply {
16
17
  timeZone = TimeZone.getTimeZone("GMT")
17
18
  }
18
- val rrFormat = SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'")
19
+
20
+ /**
21
+ * [SimpleDateFormat] used in native recurrence rule string.
22
+ * The format corresponds to the 'date-time' type defined by RFC-5455 section 3.3.5.
23
+ */
24
+ val rrFormat = SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'").apply {
25
+ timeZone = TimeZone.getTimeZone("GMT")
26
+ }
27
+
28
+ /**
29
+ * [SimpleDateFormat] used in native recurrence rule string for all-day events.
30
+ * The format corresponds to the 'date' type defined by RFC-5455 section 3.3.4.
31
+ */
32
+ val allDayRrFormat = SimpleDateFormat("yyyyMMdd").apply {
33
+ timeZone = TimeZone.getTimeZone("GMT")
34
+ }
35
+
36
+ /**
37
+ * @param dateString RFC-5455 date or date-time string (RFC sections 3.3.4 and 3.3.5).
38
+ */
39
+ fun parseRrDate(dateString: String): Date? =
40
+ runCatching {
41
+ rrFormat.parse(dateString)
42
+ }.recover {
43
+ allDayRrFormat.parse(dateString)
44
+ }.getOrNull()
19
45
 
20
46
  suspend fun findEvents(contentResolver: ContentResolver, startDate: Any, endDate: Any, calendars: List<String>): Cursor {
21
47
  return withContext(Dispatchers.IO) {
@@ -11,7 +11,7 @@
11
11
  "publication": {
12
12
  "groupId": "host.exp.exponent",
13
13
  "artifactId": "expo.modules.calendar",
14
- "version": "15.1.0-canary-20251223-b83b31e",
14
+ "version": "15.1.0-canary-20260105-6b962e6",
15
15
  "repository": "local-maven-repo"
16
16
  }
17
17
  }
@@ -0,0 +1 @@
1
+ 50a767009697cf54f4856cf1378df2b823f61c1f5b9b15a8c9ebb423576cf24ed31e26761769d61d0cc6498c914e2fb71b780e398c4dca5361ec509eced67cf6
@@ -0,0 +1 @@
1
+ 6aa46098ce9dd8e6c4d87d85f9212711b9455efa87a23e5aab18eb2665d0e9a68044812240dc6c2b4529dd3db9c58876bb3050d2ca417210404cc467ba8cfabe
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.calendar",
6
- "version": "15.1.0-canary-20251223-b83b31e",
6
+ "version": "15.1.0-canary-20260105-6b962e6",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar",
28
- "url": "expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar",
29
- "size": 507579,
30
- "sha512": "6607105350257b8453b7f0336d4142f2539d260385d0834c7f9ce33d3389472718be122667d4c939528fabbae2ed3e1bbeec5f66fef48a239c72480d511faddc",
31
- "sha256": "67d36311481a35df79ed5798e524481a54be45a81ad3e42bb100b0775985ed6c",
32
- "sha1": "99a5c536b64c62da67845c75776b9d90de41e026",
33
- "md5": "0b68d9edebb7539248c6f960a3429af0"
27
+ "name": "expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar",
28
+ "url": "expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar",
29
+ "size": 508090,
30
+ "sha512": "6aa46098ce9dd8e6c4d87d85f9212711b9455efa87a23e5aab18eb2665d0e9a68044812240dc6c2b4529dd3db9c58876bb3050d2ca417210404cc467ba8cfabe",
31
+ "sha256": "ef213c84c4fab0739b11c344e5ebed88095abad425ec929e27634b037aeda6ef",
32
+ "sha1": "da129ebb3864fbb697c6a79a4cb729a541db77b3",
33
+ "md5": "543df03bb85320434de87f25e26f723c"
34
34
  }
35
35
  ]
36
36
  },
@@ -67,13 +67,13 @@
67
67
  ],
68
68
  "files": [
69
69
  {
70
- "name": "expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar",
71
- "url": "expo.modules.calendar-15.1.0-canary-20251223-b83b31e.aar",
72
- "size": 507579,
73
- "sha512": "6607105350257b8453b7f0336d4142f2539d260385d0834c7f9ce33d3389472718be122667d4c939528fabbae2ed3e1bbeec5f66fef48a239c72480d511faddc",
74
- "sha256": "67d36311481a35df79ed5798e524481a54be45a81ad3e42bb100b0775985ed6c",
75
- "sha1": "99a5c536b64c62da67845c75776b9d90de41e026",
76
- "md5": "0b68d9edebb7539248c6f960a3429af0"
70
+ "name": "expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar",
71
+ "url": "expo.modules.calendar-15.1.0-canary-20260105-6b962e6.aar",
72
+ "size": 508090,
73
+ "sha512": "6aa46098ce9dd8e6c4d87d85f9212711b9455efa87a23e5aab18eb2665d0e9a68044812240dc6c2b4529dd3db9c58876bb3050d2ca417210404cc467ba8cfabe",
74
+ "sha256": "ef213c84c4fab0739b11c344e5ebed88095abad425ec929e27634b037aeda6ef",
75
+ "sha1": "da129ebb3864fbb697c6a79a4cb729a541db77b3",
76
+ "md5": "543df03bb85320434de87f25e26f723c"
77
77
  }
78
78
  ]
79
79
  },
@@ -87,13 +87,13 @@
87
87
  },
88
88
  "files": [
89
89
  {
90
- "name": "expo.modules.calendar-15.1.0-canary-20251223-b83b31e-sources.jar",
91
- "url": "expo.modules.calendar-15.1.0-canary-20251223-b83b31e-sources.jar",
92
- "size": 53734,
93
- "sha512": "109df9a383a035eac8ddc46a7a71d00c50ba28455b37cfee1462477806162b731527eff058421aff237ee964c3636eb1b94a4bfaf0c1dc50438f7c9c1d25e6e0",
94
- "sha256": "c59d3c2f945d80706d7c6c4962a23084470539607d802ddf552049b60455c8ef",
95
- "sha1": "8d2f6a402e20eb02622552181092c1a988ba2a7a",
96
- "md5": "fe16582699a9daa0cc639fbd9a727da9"
90
+ "name": "expo.modules.calendar-15.1.0-canary-20260105-6b962e6-sources.jar",
91
+ "url": "expo.modules.calendar-15.1.0-canary-20260105-6b962e6-sources.jar",
92
+ "size": 53972,
93
+ "sha512": "50a767009697cf54f4856cf1378df2b823f61c1f5b9b15a8c9ebb423576cf24ed31e26761769d61d0cc6498c914e2fb71b780e398c4dca5361ec509eced67cf6",
94
+ "sha256": "972d33bb46b60556f3b6ae8b1635833919af0dc1050788a2e22fc653878549a8",
95
+ "sha1": "62fbcf8b71a890dbbe2e5a5aec64e2938132879b",
96
+ "md5": "5c58e103193b5c717095a638449262d1"
97
97
  }
98
98
  ]
99
99
  }
@@ -0,0 +1 @@
1
+ 34ddd3a1b86ee515003a3874df53121e9b69177841768312ff5448b89d28713b7b2b64a154985fc19c2b9b30e122ffe22e8e50a6aacd1fe2d27d111eec61f455
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.calendar</artifactId>
12
- <version>15.1.0-canary-20251223-b83b31e</version>
12
+ <version>15.1.0-canary-20260105-6b962e6</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.calendar</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 7d7826ab193d1eda5a4f4b1768945f2935cb36781000fd0f3a8a25da188072e63b2c6ed1655882af9e182c025f6b9a1a8d80b67254d3917187cff71f73169cd1
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.calendar</artifactId>
5
5
  <versioning>
6
- <latest>15.1.0-canary-20251223-b83b31e</latest>
7
- <release>15.1.0-canary-20251223-b83b31e</release>
6
+ <latest>15.1.0-canary-20260105-6b962e6</latest>
7
+ <release>15.1.0-canary-20260105-6b962e6</release>
8
8
  <versions>
9
- <version>15.1.0-canary-20251223-b83b31e</version>
9
+ <version>15.1.0-canary-20260105-6b962e6</version>
10
10
  </versions>
11
- <lastUpdated>20251223153450</lastUpdated>
11
+ <lastUpdated>20260105102154</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- bf7c22d35716023b708294880903ef68
1
+ 3780f7b19ef228bf6641220daadc84d5
@@ -1 +1 @@
1
- beeb2bb20d23c8d4b91252da8c50f65650469212
1
+ 46e962da70e2d3877348ee171819e2d0fc62e633
@@ -1 +1 @@
1
- 460212b3e3dd1e8586e66c17ff207ac10d03c12203e7941f6706819809a9eeca
1
+ e7c6ee996e0ca7e9da06f8c195973ba5fb4599cc1a33a2069ee7ee42ca01059e
@@ -1 +1 @@
1
- 9e94f859ab5fea4c4db9c7fb003021a72fb1dae428833550b53dc70748451b9f18cf65567886916eefc3982a1ce076cddb13d740999bdc801e6b29219f42d5e9
1
+ 67cac2c0d952262271570afd1e2a8a77032e327a78d94ef822b5cea9db7c8acf60d3c70db49214bcab6593d84c29276ef507f1b0b982086b1338577ea472a177
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-calendar",
3
- "version": "15.1.0-canary-20251223-b83b31e",
3
+ "version": "15.1.0-canary-20260105-6b962e6",
4
4
  "description": "Provides an API for interacting with the device's system calendars, events, reminders, and associated records.",
5
5
  "main": "build/Calendar.js",
6
6
  "types": "build/Calendar.d.ts",
@@ -35,10 +35,10 @@
35
35
  "preset": "expo-module-scripts"
36
36
  },
37
37
  "devDependencies": {
38
- "expo-module-scripts": "5.1.0-canary-20251223-b83b31e"
38
+ "expo-module-scripts": "5.1.0-canary-20260105-6b962e6"
39
39
  },
40
40
  "peerDependencies": {
41
- "expo": "55.0.0-canary-20251223-b83b31e",
41
+ "expo": "55.0.0-canary-20260105-6b962e6",
42
42
  "react-native": "*"
43
43
  }
44
44
  }
@@ -1 +0,0 @@
1
- 109df9a383a035eac8ddc46a7a71d00c50ba28455b37cfee1462477806162b731527eff058421aff237ee964c3636eb1b94a4bfaf0c1dc50438f7c9c1d25e6e0
@@ -1 +0,0 @@
1
- 6607105350257b8453b7f0336d4142f2539d260385d0834c7f9ce33d3389472718be122667d4c939528fabbae2ed3e1bbeec5f66fef48a239c72480d511faddc
@@ -1 +0,0 @@
1
- 467b1ee772413fcd9bd39272547db743eb227187d963240fd49e625fad6a279b8f068980408ee017307ab1f75fd76d3c6fd5bea33c4e9ac5e139552851bf30c3
@@ -1 +0,0 @@
1
- 034ff9716c02764d3a4072af2833341258fbedf16e9125d2a1d7f0371489c44c1e0cb491a1de1843cac3d94e84c747419bae39de88347a281cb52b018e4c559b