react-native-contacts
react-native-contacts copied to clipboard
Unsaved Draft with openContactForm open when open default phone app (iOS)
Platform: iOS Step to reproduce the issue
- Open the app and execute the below code
const newPerson = {
phoneNumbers: [
{
label: "mobile",
number: 9876543210,
},
],
};
Contacts.openContactForm(newPerson).then(contact => {
// contact has been saved
})
-
Open a new contact modal
-
Click on Cancel and select
Discard Changes
-
Now close app and open default iOS Phone app and automatically open Unsave draft with the above number
is it saving the draft or not? One could argue that either behavior is correct.
@morenoh149 it's saving on draft and when open default Phone app then open this modal with old detail while I discard changes from my app
@morenoh149 did you find solution for that?
@kukadiyaAni no. Feel free to submit a PR.
I'm react native developer with base Android developer not much experience in iOS, if any help me here to remove draft so, I can update in iOS
This issue is stale, please provide more information about the status
this issue still there please any one suggest me solution