expo-contacts
Advanced tools
Comparing version 14.0.4-canary-20250114-804e26d to 14.0.4
@@ -360,2 +360,7 @@ import { PermissionResponse, PermissionStatus, PermissionExpiration } from 'expo-modules-core'; | ||
socialProfiles?: SocialProfile[]; | ||
/** | ||
* Whether the contact is starred. | ||
* @platform android | ||
*/ | ||
isFavorite?: boolean; | ||
}; | ||
@@ -803,3 +808,7 @@ /** | ||
Dates = "dates", | ||
Relationships = "relationships" | ||
Relationships = "relationships", | ||
/** | ||
* @platform android | ||
*/ | ||
IsFavorite = "isFavorite" | ||
} | ||
@@ -806,0 +815,0 @@ /** |
@@ -464,2 +464,6 @@ import { PermissionStatus, UnavailabilityError, uuid, } from 'expo-modules-core'; | ||
Fields["Relationships"] = "relationships"; | ||
/** | ||
* @platform android | ||
*/ | ||
Fields["IsFavorite"] = "isFavorite"; | ||
})(Fields || (Fields = {})); | ||
@@ -466,0 +470,0 @@ /** |
@@ -13,2 +13,8 @@ # Changelog | ||
## 14.0.4 — 2025-01-27 | ||
### 🎉 New features | ||
- added the ability to read and write starred property (as "isFavorite") of contacts on Android ([#33208](https://github.com/expo/expo/pull/33208) by [@NorseGaud](https://github.com/NorseGaud)) | ||
## 14.0.3 — 2025-01-10 | ||
@@ -15,0 +21,0 @@ |
{ | ||
"name": "expo-contacts", | ||
"version": "14.0.4-canary-20250114-804e26d", | ||
"version": "14.0.4", | ||
"description": "Provides access to the phone's system contacts.", | ||
@@ -37,9 +37,9 @@ "main": "build/Contacts.js", | ||
"devDependencies": { | ||
"expo-module-scripts": "4.0.4-canary-20250114-804e26d" | ||
"expo-module-scripts": "^4.0.3" | ||
}, | ||
"peerDependencies": { | ||
"expo": "53.0.0-canary-20250114-804e26d", | ||
"expo": "*", | ||
"react-native": "*" | ||
}, | ||
"gitHead": "804e26d8545f2b890dfa80eeb8122036f38d4d0c" | ||
"gitHead": "3fd37fd31fd818d833e85c4723b1578010da6967" | ||
} |
@@ -383,2 +383,7 @@ import { | ||
socialProfiles?: SocialProfile[]; | ||
/** | ||
* Whether the contact is starred. | ||
* @platform android | ||
*/ | ||
isFavorite?: boolean; | ||
}; | ||
@@ -691,3 +696,2 @@ | ||
const noIdContact = removeIds(contact); | ||
return await ExpoContacts.addContactAsync(noIdContact, containerId); | ||
@@ -1096,2 +1100,6 @@ } | ||
Relationships = 'relationships', | ||
/** | ||
* @platform android | ||
*/ | ||
IsFavorite = 'isFavorite', | ||
} | ||
@@ -1098,0 +1106,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
275871
2779
0