morenoh149 / react-native-contacts

React Native Contacts
MIT License
1.64k stars 560 forks source link

ios Contact Edit From not opening #624

Closed zoobibackups closed 2 years ago

zoobibackups commented 3 years ago
  const editcontact  = () => {
    try{
         Contacts.editExistingContact(props.data)
              .then((data) => {
              }).catch((error) => {
                        console.log(error)
              })
     }catch(err){
              console.log(err,"err")
    }
  }

a Modal opens and then disappears immediately.

this is the object I have passed 👍

String parseJS eval

{
"company":"",
"country_code":"+92",
"department":"",
"displayName":"Aftab Ufaq",
"familyName":"Aftab Ufaq",
"givenName":"Aftab Ufaq",
"hasThumbnail":true,
"image":"/Users/umairhassan/Library/Developer/CoreSimulator/Devices/A405D709-3BB5-4B4C-9E21-606C01CD741D/data/Containers/Data/Application/2CA4649E-3CD9-4312-94F7-3A5612F414BE/Library/Caches/rncontacts_5C6B3EE6-62FE-46A1-9B81-BBDE4A3AF465.png",
"iso2":"PK",
"jobTitle":"",
"key":"3+92 340 55726365C6B3EE6-62FE-46A1-9B81-BBDE4A3AF465:ABPerson",
"middleName":"",
"mobile_number":"+923405572636",
"name":"Aftab Ufaq",
"phoneNumbers":[
      {
          "label":"school",   
           "number":"+92 340 5572636" 
       }
   ],
"recordID":"5C6B3EE6-62FE-46A1-9B81-BBDE4A3AF465:ABPerson",
"thumbnailPath":"/Users/umairhassan/Library/Developer/CoreSimulator/Devices/A405D709-3BB5-4B4C-9E21-606C01CD741D/data/Containers/Data/Application/2CA4649E-3CD9-4312-94F7-3A5612F414BE/Library/Caches/rncontacts_5C6B3EE6-62FE-46A1-9B81-BBDE4A3AF465.png"
}

Simulator Screen Shot - iPhone 12 - 2021-06-18 at 18 40 24 Simulator Screen Shot - iPhone 12 - 2021-06-18 at 18 40 27

github-actions[bot] commented 3 years ago

This issue is stale, please provide more information about the status