Giter Site home page Giter Site logo

react-native-addressbook's People

Contributors

eltoob avatar pgmemk avatar rt2zz avatar sgwilym avatar wenkesj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-addressbook's Issues

How can I get google id (social type id)

I sync my google contact with my phone book id and display all the contact in the phonebook. How Can I bifurcation of which is my google contact and others? If you give me any solution it would be great.

I need google id (Source_Id) of the contacts, Any way to find the google contact id for my address book contact? in Android possible for this way (https://stackoverflow.com/a/26708378/2910061)

Slow access

I've had an issue with a beta tester opening up the contacts and it took 8-10 seconds for the contacts to load (ios8, iPhone 5, and 700 contacts). Have you had any issues like this? It takes around 1-1.5 seconds on my 6. I guess I can cache them on startup after it's confirmed to mitigate this.

Thumbnail path errors out

When I save the thumbnail path to local storage and then re-build the app the image no longer works (errors out with " Unrecognized tag protocol").

Am I doing something wrong or will it be ok on phones that are not being constantly re-built? I wasn't sure if I had to manually save the photo from the thumbnailPath from the address book.

Not able to add Contact

I tried to add contact (as mentioned in example) by using AddressBook.addContact(newPerson, (err) => { console.log("error::::::"+err)}); I am getting error each time. I checked permission , its 'authorized' and 'err' coming in callback is null.

Request permissions doesn't actually request

If I understand it correctly, calling requestPermission() should display the dialog asking the user for permissions, but it doesn't seem to do that. I have a code block:

AddressBook.requestPermission( (err, permission) => {
    console.log('Returning, permission=' + permission);
    return(permission === 'authorized');
}

When this is called I can see the log, and it is always printing 'denied'. I expected that checkPermission() would check and return the current permission, while requestPermission() would display the request to the user again to grant permissions. What's the expected behavior?

Thanks very much.

Implement Update and Delete methods

The challenge is, contacts do not have ID's. There are a few options:

  1. removeContact(index, contact, callback) which would get the contact at the specified index, verify that it is deeply equal to the supplied contact, and then if so remove the record.
  2. removeContact(index, callback) the problem is we do not know if the index has changed. We could keep the records in memory, but even then we have no gaurantee that the consumer has a fresh copy of our in memory contacts array.
  3. removeContact(config) where config = {matching: contactFragment, atIndex: index} where contactFragment is a partial set of (or whole) contact information to query against, and it will remove the contact record if all provided fields match.
  4. Do some sort of vector clock / last updated key to make sure the removeRequest is being provided against an up to date contacts array.

None of these are ideal, suggestions appreciated...

How can I get google id (social type id)

I sync my google contact with my phone book id and display all the contact in the phonebook. How Can I bifurcation of which is my google contact and others? If you give me any solution it would be great.

I need google id (Source_Id) of the contacts, Any way to find the google contact id for my address book contact? in Android possible for this way (https://stackoverflow.com/a/26708378/2910061)

crash triggered at getABPersonThumbnailFilepath

We're using your module in our RN app and it's been great, but recently a few users are experiencing a crash that we believe is in RCTAddressBook.m. We've tracked it down to line 162, but only through anonymized crash reports.

[contact setObject: [self getABPersonThumbnailFilepath:person] forKey:@"thumbnailPath"];

Has anyone seen this before?

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.