expo-contacts 15.0.10-canary-20251015-a6a1272 → 15.0.11-canary-20251023-4c86f95
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.
- package/CHANGELOG.md +1 -0
- package/android/build.gradle +2 -2
- package/expo-module.config.json +1 -1
- package/ios/ContactsExceptions.swift +6 -0
- package/ios/ContactsModule.swift +5 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.module → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.pom → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.contacts/15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272-sources.jar → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272-sources.jar.md5 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272-sources.jar.sha1 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272-sources.jar.sha256 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272-sources.jar.sha512 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.aar → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.aar.md5 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.aar.sha1 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.aar.sha256 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.contacts/{15.0.10-canary-20251015-a6a1272/expo.modules.contacts-15.0.10-canary-20251015-a6a1272.aar.sha512 → 15.0.11-canary-20251023-4c86f95/expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
- Added contact image uri validation. ([#39658](https://github.com/expo/expo/pull/39658) by [@hryhoriiK97](https://github.com/hryhoriiK97))
|
|
14
14
|
- [Android] Removed unused `androidx.annotation:annotation` dependency ([#39761](https://github.com/expo/expo/pull/39761) by [@lukmccall](https://github.com/lukmccall))
|
|
15
|
+
- Added ContactSerializationException for error handling. ([#40426](https://github.com/expo/expo/pull/40426) by [@hryhoriiK97](https://github.com/hryhoriiK97))
|
|
15
16
|
|
|
16
17
|
## 15.0.9 - 2025-10-01
|
|
17
18
|
|
package/android/build.gradle
CHANGED
|
@@ -4,12 +4,12 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '15.0.
|
|
7
|
+
version = '15.0.11-canary-20251023-4c86f95'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.contacts"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 29
|
|
13
|
-
versionName "15.0.
|
|
13
|
+
versionName "15.0.11-canary-20251023-4c86f95"
|
|
14
14
|
}
|
|
15
15
|
}
|
package/expo-module.config.json
CHANGED
|
@@ -126,3 +126,9 @@ internal final class RemoteImageUriException: Exception {
|
|
|
126
126
|
"Only file:// URIs are supported for contact images. Provided URI: '\(providedUri)'. Download the image first using File.downloadFileAsync from expo-file-system and provide a local file URI."
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
+
|
|
130
|
+
internal final class ContactSerializationException: GenericException<String> {
|
|
131
|
+
override var reason: String {
|
|
132
|
+
"Failed to serialize contact data: \(param)"
|
|
133
|
+
}
|
|
134
|
+
}
|
package/ios/ContactsModule.swift
CHANGED
|
@@ -412,13 +412,15 @@ public class ContactsModule: Module, OnContactPickingResultHandler {
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
private func serializeContactPayload(payload: [String: Any], keys: [String], options: ContactsQuery) throws -> [String: Any]? {
|
|
415
|
-
if payload["error"]
|
|
416
|
-
|
|
415
|
+
if let error = payload["error"] {
|
|
416
|
+
let errorMessage = String(describing: error)
|
|
417
|
+
throw ContactSerializationException(errorMessage)
|
|
417
418
|
}
|
|
418
419
|
var mutablePayload = payload
|
|
419
420
|
var response = [[String: Any]]()
|
|
420
421
|
guard let contacts = payload["data"] as? [CNContact] else {
|
|
421
|
-
|
|
422
|
+
mutablePayload["data"] = response
|
|
423
|
+
return mutablePayload
|
|
422
424
|
}
|
|
423
425
|
|
|
424
426
|
let directory = appContext?.config.cacheDirectory?.appendingPathComponent("Contacts")
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.contacts",
|
|
6
|
-
"version": "15.0.
|
|
6
|
+
"version": "15.0.11-canary-20251023-4c86f95",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.contacts-15.0.
|
|
28
|
-
"url": "expo.modules.contacts-15.0.
|
|
27
|
+
"name": "expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar",
|
|
28
|
+
"url": "expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar",
|
|
29
29
|
"size": 116203,
|
|
30
30
|
"sha512": "b5321b1ff3a596d9c89f550c4510cbe72fac3f2d66b3cd47158f3121f7abfcf03a21a25c08353e6bf9d340c4c66e379df7206fbcf2ab2969b800453ebc75b619",
|
|
31
31
|
"sha256": "b4db21b79322b8a48eef13024fc3dc33c9ec378653dc1e73c9d1e947b7e36446",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
],
|
|
54
54
|
"files": [
|
|
55
55
|
{
|
|
56
|
-
"name": "expo.modules.contacts-15.0.
|
|
57
|
-
"url": "expo.modules.contacts-15.0.
|
|
56
|
+
"name": "expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar",
|
|
57
|
+
"url": "expo.modules.contacts-15.0.11-canary-20251023-4c86f95.aar",
|
|
58
58
|
"size": 116203,
|
|
59
59
|
"sha512": "b5321b1ff3a596d9c89f550c4510cbe72fac3f2d66b3cd47158f3121f7abfcf03a21a25c08353e6bf9d340c4c66e379df7206fbcf2ab2969b800453ebc75b619",
|
|
60
60
|
"sha256": "b4db21b79322b8a48eef13024fc3dc33c9ec378653dc1e73c9d1e947b7e36446",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
75
|
{
|
|
76
|
-
"name": "expo.modules.contacts-15.0.
|
|
77
|
-
"url": "expo.modules.contacts-15.0.
|
|
76
|
+
"name": "expo.modules.contacts-15.0.11-canary-20251023-4c86f95-sources.jar",
|
|
77
|
+
"url": "expo.modules.contacts-15.0.11-canary-20251023-4c86f95-sources.jar",
|
|
78
78
|
"size": 20540,
|
|
79
79
|
"sha512": "3db6124c7487b6856ea70f71de5544618d794e535c0a41fcbb68295977baa13a57579627fb74357d02ccd9f7ec12e246eb67361730c439c38498fdb78882358e",
|
|
80
80
|
"sha256": "f1e27bd6c22423fc462d2abff85bb7780693e23033bd7feefd2e8461d2feeec0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
12d839fe7f9e92524206dc103518899c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6510d3f773ab1482465edff96aa138e2714d751e
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8e878eae6136525b24c29690b5774fb5450280fac5f0f2d92567ff57166e1b80
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d3b7b4ed46572eb5ecc7b9e27319158470addaf9d4178cd096c253c179006032e2b72a9bedce9b5793fabcde028ad4c5a16a92fd4ac32d7a1d0c67b1a200a803
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.contacts</artifactId>
|
|
12
|
-
<version>15.0.
|
|
12
|
+
<version>15.0.11-canary-20251023-4c86f95</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.contacts</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
95b63160fa8445f3555feb089f95cef6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f693f0fe53d3e67286231f473847bbc5b3149998
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
96b0eb24904ca6b2283872d8e8fca451e92977d03065629c76badd523de094e0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
db9f72ec6421065b0d68562f2cb7c5000182c8d04c80f538a26b88a043061c81eb3ee16dcbb1f143709d8164580939de17314946a15b66181e259638e6ddc24b
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.contacts</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>15.0.
|
|
7
|
-
<release>15.0.
|
|
6
|
+
<latest>15.0.11-canary-20251023-4c86f95</latest>
|
|
7
|
+
<release>15.0.11-canary-20251023-4c86f95</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>15.0.
|
|
9
|
+
<version>15.0.11-canary-20251023-4c86f95</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20251023075112</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2fabcfa3a785b255937a953a68c838c5
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6cfa4ff88c0071d871b94fec23d02e3762760222
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cc4db410d48abcfae71f29c84bc897e6dd03fc86fc328d0270160af4a44be227
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f6d05708dcda32489517fe5323c956f6699ef5106f90b4bb049ebbf78c79181585b87bdcdbcf13126548cf0b18d87c711b66642faafb4ec23862a142c69c818a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-contacts",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.11-canary-20251023-4c86f95",
|
|
4
4
|
"description": "Provides access to the phone's system contacts.",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"preset": "expo-module-scripts"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"expo-module-scripts": "5.0.8-canary-
|
|
37
|
+
"expo-module-scripts": "5.0.8-canary-20251023-4c86f95"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"expo": "55.0.0-canary-
|
|
40
|
+
"expo": "55.0.0-canary-20251023-4c86f95",
|
|
41
41
|
"react": "*",
|
|
42
42
|
"react-native": "*"
|
|
43
43
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6ec36fd6b499a5ef424ae02ec4bc8a4d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a2c5fe331693003bbc690fcb25de642dfe596c28
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3a19a6fb4f4b01132d69a7803b6175125d418f884bdd89c9cebbde5773d8b9db
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
fb08bbc62450126a95dd95be2328896f720b1d529972e076c0fdca3ec199ab09dcfe38438dff386135ec746616ed2d19f47297f6a0f98956cc39268f64127d27
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4cb15b3ba3afd44f42431b7026daaec2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2090b46ba2846e705864433393371011014979f8
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
93cf4dfee9aa55f44ed0d78a0bbe2716ff19e119d4f5c033f0c8d19a99a79a07
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
96fa389555ee28f8e68cb0cd1234ed65d90a22879630a6dfeb1502697e0d11f43991a2a2c647723d3559cefc5b04ae0bd96ccd4cde17bacb45b63b5cffd0ff74
|
|
File without changes
|
|
File without changes
|
|
File without changes
|