Why use native contacts
- CRM integration: Sync device contacts directly into your app’s workflow, eliminating manual data entry for sales and support teams.
- Field service and operations: Look up and act on contact data in real time for scheduling, dispatch, and on-site workflows.
- Social and E-commerce features: Enable social networking platforms and E-commerce shipping solutions to access contact data natively for connection recommendations or address autofill.
Implementation guide
App configuration
- Navigate to Native Plugins: In Median App Studio, go to the Native Plugins section.
- Enable Native Contacts: Toggle the plugin to enabled status.

Native Contacts plugin enablement
JavaScript Bridge implementation
All contact functionality is accessed through the Median JavaScript Bridge. Each method accepts either a callback function or returns a Promise. See Promises forasync/await patterns.
Check contact permission status
Before accessing contacts, check whether the user has already granted permission. The app will automatically prompt for permission on first access, but this method lets you check current status without triggering a prompt.Permission status values
Given the differences between both iOS and Android you can expect slightly different permission values based on the operating system. iOS
Android
Retrieve all contacts
Fetch the complete contacts list stored on the device.note field is not returned by getAll() by default. Accessing it requires the com.apple.developer.contacts.notes entitlement, which requires approval by Apple.
Present a native contact picker
Display the device’s native contact selection UI, allowing the user to choose one or multiple contacts. This is the recommended approach when you need explicit user selection rather than bulk access.note field is available when using pickContact() on iOS, without any additional entitlement.
Response format
When permission is granted, all contact methods return an object in the following shape:contacts is an array of contact objects. Available fields depend on the platform.
Contact fields
iOS
Android
Array field schemas
phoneNumbers, emailAddresses, and postalAddresses are arrays of objects. All other fields are strings.
Phone numbers