question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

import Contacts from 'react-native-unified-contacts';

See original GitHub issue

When I import

import Contacts from 'react-native-unified-contacts'

the Contacts is undefined…any idea what should I do?

i’ve done react-native link react-native-unified-contacts

and is still undefined.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
paintedbicyclecommented, Apr 16, 2019

Hi @unutoiul - have you installed other 3rd party libraries with your system before this one and got them working? I think this is a general react-native installation problem and likely better for Stack Overflow or other sites.

But, to get you started, I can think of two things to begin your research with:

  1. Ejecting from Create React Native App

While it’s much easier to develop without ejecting from RN, if you have not “ejected” from react-native-create-app, you cannot install 3rd party libraries like this one.

  1. Expo Compatibility

Expo doesn’t support most 3rd party libraries: https://forums.expo.io/t/clarification-on-3rd-party-components-compatible-with-expo/388

0reactions
mjlikrecommented, Oct 23, 2019

Hey i followd the instructions on the manual one and the automatic one, but it doesnt seem to work for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-unified-contacts - npm
Start using react-native-unified-contacts in your project by running `npm i react-native-unified-contacts`. There are no other projects in ...
Read more >
joshuapinter/react-native-unified-contacts - GitHub
Navigate to <your-project-directory>/node_modules/react-native-unified-contacts/ and drag the RNUnifiedContacts directory into your project directory in Xcode.
Read more >
React Native Contacts: How to access a device's contact list
Accessing contacts in a bare React Native app. To access the contacts, first we need to import the contacts module. import Contacts ......
Read more >
Can't import Contacts from 'react-native-contacts'
1 Answer 1 ... As You Are Using Expo You Can Try Using The Contacts Module From Expo . The Documentation For Contacts...
Read more >
Contacts | npm.io
react -native-contacts, expo-contacts, node-outlook, outlook, vcards-js, nylas, cordova-plugin-contacts, react-native-select-contact, @salesflare/nylas.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found