Coder Social home page Coder Social logo

react-native-contacts-chooser's People

Contributors

haswalt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

react-native-contacts-chooser's Issues

Mistake in Usage Instructions Given

In Usage Example You have given
ContactsPciker.pickContact()
instead of ContactsPicker.pickContact()

even though its a simple spelling mistake it took some time for me to understand the issue.

Could not find com.android.tools.build:gradle:2.2.3.

A problem occurred configuring project ':react-native-contacts-chooser'.

Could not determine the dependencies of null.
Could not resolve all task dependencies for configuration ':react-native-contacts-chooser:classpath'.
> Could not find com.android.tools.build:gradle:2.2.3.
Searched in the following locations:
- https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :react-native-contacts-chooser

image

Spelling mistake in 'Getting Started' on 'readme.md'.

If you get an error like this,


FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:mergeDebugAssets'.
    Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
    Could not resolve project :react-native-contacts-picker.
    Required by:
    project :app
    Unable to find a matching configuration of project :react-native-contacts-picker:
    - None of the consumable configurations have attributes.

Please check the path of module. (../node_modules/react-native-contacts-chooser)

The library is named "react-native-contacts-chooser" but is used as "react-native-contacts-chooser" when importing from 'Getting Started' description in 'readme.md'.

ex)
project(':react-native-contacts-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-contacts-picker/android')
to convert
project(':react-native-contacts-chooser').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-contacts-chooser'/android')

can't open native contacts ios app if remote debugger is off

Description

I need to select contact from native contact app in ios, so i am using react-native-contacts-chooser this library is working fine if remote debugger is on but if it is off, it only work for the first time. it is because the difference of javaScript engines in real device and
remote debbuger but how to solve this.

Environment

  • "react-native-contacts-chooser": "^1.0.0-alpha.2"
  • react-native: "^0.58.5"
  • react: "16.8.6"
try {
        const granted = ContactsPicker.requestAccess();
        if (granted) {
          const contact = ContactsPicker.pickContact().then((item) => {
            if (item) {
                return null;
            }
              console.log(item);
          })
          .catch((err) => {
            throw err;
          });
        }
 } catch (e) {
      alert(`please try again ${e}`);
 }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.