expo-contacts 14.1.0-canary-20250306-d9d3e02 → 14.1.0-canary-20250331-817737a
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/ios/ContactsExceptions.swift +15 -15
- package/ios/Serialization.swift +2 -0
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
- Use the `src` folder as the Metro target. ([#33781](https://github.com/expo/expo/pull/33781) by [@tsapeta](https://github.com/tsapeta))
|
|
23
23
|
- [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
|
|
24
24
|
- [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd))
|
|
25
|
+
- [iOS] Fix warnings which will become errors in Swift 6. ([#35288](https://github.com/expo/expo/pull/35288) by [@behenate](https://github.com/behenate)), ([#35428](https://github.com/expo/expo/pull/35428) by [@behenate](https://github.com/behenate))
|
|
25
26
|
|
|
26
27
|
## 14.0.5 - 2025-01-31
|
|
27
28
|
|
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
import ExpoModulesCore
|
|
2
2
|
|
|
3
|
-
internal class FailedToFetchContactsException: Exception {
|
|
3
|
+
internal final class FailedToFetchContactsException: Exception {
|
|
4
4
|
override var reason: String {
|
|
5
5
|
"Error while fetching contacts"
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
internal class FailedToCacheContacts: Exception {
|
|
9
|
+
internal final class FailedToCacheContacts: Exception {
|
|
10
10
|
override var reason: String {
|
|
11
11
|
"Failed to cache contacts"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
internal class FailedToGetContactException: GenericException<String> {
|
|
15
|
+
internal final class FailedToGetContactException: GenericException<String> {
|
|
16
16
|
override var reason: String {
|
|
17
17
|
"Failed to get contact with id: \(param)"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
internal class FailedToGetGroupException: GenericException<String> {
|
|
21
|
+
internal final class FailedToGetGroupException: GenericException<String> {
|
|
22
22
|
override var reason: String {
|
|
23
23
|
"Failed to get group with id: \(param)"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
internal class FailedToSaveException: Exception {
|
|
27
|
+
internal final class FailedToSaveException: Exception {
|
|
28
28
|
override var reason: String {
|
|
29
29
|
"Failed to provide a contact identifier"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
internal class FilePermissionException: GenericException<String?> {
|
|
33
|
+
internal final class FilePermissionException: GenericException<String?> {
|
|
34
34
|
override var reason: String {
|
|
35
35
|
"File '\(String(describing: param))' isn't readable."
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
internal class FailedToOpenImageException: Exception {
|
|
39
|
+
internal final class FailedToOpenImageException: Exception {
|
|
40
40
|
override var reason: String {
|
|
41
41
|
"Could not open provided image"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
internal class FetchContainersException: Exception {
|
|
45
|
+
internal final class FetchContainersException: Exception {
|
|
46
46
|
override var reason: String {
|
|
47
47
|
"Error fetching containers"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
internal class FetchGroupException: GenericException<String> {
|
|
51
|
+
internal final class FetchGroupException: GenericException<String> {
|
|
52
52
|
override var reason: String {
|
|
53
53
|
"Failed to get group for name: \(param)"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
internal class GroupQueryException: Exception {
|
|
57
|
+
internal final class GroupQueryException: Exception {
|
|
58
58
|
override var reason: String {
|
|
59
59
|
"Failed to get groups"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
internal class FailedToUnifyContactException: Exception {
|
|
63
|
+
internal final class FailedToUnifyContactException: Exception {
|
|
64
64
|
override var reason: String {
|
|
65
65
|
"Failed to unify contact"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
internal class FailedToCreateViewControllerException: Exception {
|
|
69
|
+
internal final class FailedToCreateViewControllerException: Exception {
|
|
70
70
|
override var reason: String {
|
|
71
71
|
"Could not build controller, invalid props"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
internal class FailedToFindContactException: Exception {
|
|
75
|
+
internal final class FailedToFindContactException: Exception {
|
|
76
76
|
override var reason: String {
|
|
77
77
|
"Failed to find contact"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
internal class ContactPickingInProgressException: Exception {
|
|
81
|
+
internal final class ContactPickingInProgressException: Exception {
|
|
82
82
|
override var reason: String {
|
|
83
83
|
"Different contact picking in progress. Await other contact picking first"
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
internal class ContactManipulationInProgressException: Exception {
|
|
87
|
+
internal final class ContactManipulationInProgressException: Exception {
|
|
88
88
|
override var reason: String {
|
|
89
89
|
"Different contact manipulation in progress. Await other contact manipulation first"
|
|
90
90
|
}
|
package/ios/Serialization.swift
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-contacts",
|
|
3
|
-
"version": "14.1.0-canary-
|
|
3
|
+
"version": "14.1.0-canary-20250331-817737a",
|
|
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,12 +34,11 @@
|
|
|
34
34
|
"preset": "expo-module-scripts"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"expo-module-scripts": "4.0.5-canary-
|
|
37
|
+
"expo-module-scripts": "4.0.5-canary-20250331-817737a"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"expo": "53.0.0-canary-
|
|
40
|
+
"expo": "53.0.0-canary-20250331-817737a",
|
|
41
41
|
"react": "*",
|
|
42
42
|
"react-native": "*"
|
|
43
|
-
}
|
|
44
|
-
"gitHead": "d9d3e024d8742099c307754673f17117a20c1dea"
|
|
43
|
+
}
|
|
45
44
|
}
|