-
-
Notifications
You must be signed in to change notification settings - Fork 360
Dismissing Gallery Select Issues Introduced By Multi-Select Feature #666
Comments
Android part of this bug may have been fixed by #649. The iOS error looks like it is coming from this line. From my very limited understanding of how this stuff works, it looks like the "pickerDelegate" needs to be nullified when the popup is closed. This is done in the Dispose method. My guess is that Dispose is not being triggered, when dismissing the popup by clicking outside of it. |
has this issue been resolved yet when using PickPhotosAsync on iOS?. I have not seen any updates made on the master branch to rectify this as I am still seeing the issue occur when click outside of the popup? It works just fine when using PickPhotoAsync, just not when using PickPhotosAsync |
@hussainmorbi It has not been fixed for iOS, as far as I know |
Any update on this? We are experiencing this in our iOS app when the user presses home button in the middle of taking a picture. The next time the TakePhotoAsync(StoreCameraMediaOptions options) is called the picker object is not dismissed before hand and creates "Only one operation can be active at at time." error. |
Make sure you follow all of the setup directions before posting an issue: https://github.com/jamesmontemagno/MediaPlugin#important-permission-information
If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin: Latest prerelease 4.2.0-beta
Device Tested On: Galaxy Tab 3, iPad Gen 6
Simulator Tested On:
Version of VS: VS Enterprise 2017 (2) - 15.9.4
Version of Xamarin: 4.12.3.77
Versions of other things you are using:
Steps to reproduce the Behavior
Android:
iOS:
Expected Behavior
Android:
Tapping the onscreen or hardware back buttons should close the Gallery Select window, without throwing exceptions.
iOS:
Tapping outside the Gallery Select popup should dismiss the popup, similarly to clicking the "Cancel" button. When clicking "Cancel" on the Gallery Select popup, PickPhotosAsync() returns an empty list. This would be the ideal behavior when clicking outside the dialog. Tapping the button again to launch the Gallery Select should launch the popup, as normal.
Actual Behavior
Android:
A null exception is thrown, from PickPhotosAsync.
iOS:
Get a popup that says "Only one operation can be active at at time." PickPhotosAsync() never returns anything.
Code snippet
Screenshots
Android:
iOS:
The text was updated successfully, but these errors were encountered: