QuisApp / flutter_contacts

MIT License
88 stars 143 forks source link

openExternalInsert on IOS stacks on Edit, impossible to return back to app #70

Closed fullflash closed 1 year ago

fullflash commented 2 years ago

after creating contact done button display a contact card with Cancel And Edit action buttons should be Done to return back to flutter but the Cancel button also does no action it just stack on Native Contact Editor.

ewankirk commented 2 years ago

I have the same problem on iOS 16.0 and 15.4. Seems to work perfectly on Android though.

ewankirk commented 2 years ago

Sorry, I should have said that this is openExternalEdit()

ewankirk commented 2 years ago

A bit more information.
If you call openExternalEdit() and immediately hit back, you return to the app. If you call openExternalEdit() and then hit Edit and then hit cancel, you return to the display screen and then the back button stops working (even if you haven't edited anything). I suspect what is happening is that openExternalEdit() is actually opening the external view by mistake and then when you go to edit, it gets confused with the route.

joachim-quis commented 2 years ago

Copying screenshots from duplicate bug:

Screenshot 2022-10-26 at 10 32 12 AM

Screenshot 2022-10-26 at 10 31 59 AM

The back button after clicking edit is showing no response

yassinsameh commented 1 year ago

Issue still persists on flutter_contacts: ^1.1.5+1, running Ios 16.1.1.

starshipcoder commented 1 year ago

I have donen a PR : #104

Shahidbangash commented 1 year ago

I have donen a PR : #104

I tested your PR Locally and it works. Thanks for the fix.

joachim-quis commented 1 year ago

Should be fixed in version 1.1.7