Socket
Socket
Sign inDemoInstall

react-native-contacts

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-contacts - npm Package Compare versions

Comparing version 5.0.7 to 5.1.0

2

index.d.ts

@@ -16,2 +16,3 @@ export function getAll(callback: (error: any, contacts: Contact[]) => void): void;

export function writePhotoToPath(contactId: string, file: string, callback: (error: any, result: boolean) => void): void;
export function iosEnableNotesUsage(enabled: boolean): void;

@@ -64,2 +65,3 @@ export interface EmailAddress {

birthday: Birthday;
note: string;
}

2

package.json

@@ -7,3 +7,3 @@ {

},
"version": "5.0.7",
"version": "5.1.0",
"description": "React Native Contacts (android & ios)",

@@ -10,0 +10,0 @@ "nativePackage": true,

@@ -168,2 +168,5 @@ ![react-native-contacts](https://github.com/rt2zz/react-native-contacts/raw/master/example/logo.png)

##### Accessing note filed on iOS 13 (optional)
If you'd like to read/write the contact's notes, call the `iosEnableNotesUsage(true)` method before accessing the contact infos. Also, a `com.apple.developer.contacts.notes` entitlement must be added to the project. Before submitting your app to the AppStore, the permission for using the entitlement has to be granted as well. You can find a more detailed explanation [here](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_contacts_notes?language=objc).
## API

@@ -170,0 +173,0 @@ * `getAll` (callback) - returns *all* contacts as an array of objects

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc