Hey, great package, it's been really helpful to develop my app. I'm currently using the openLimitedPhotoLibraryPicker method to handle a case where users want to update their selection. I would find really helpful a callback when the user is done with updating his selected photos.
Since I can't know when the user is done by using .then() it's hard for my app to know when to re get the camera roll pictures to see the new selected pictures in the result.
Adding a onFinish callback param to the function would do the job.
Or .then() should be called only when selection is finished
Thanks again for this package, have a good day!
@Nazort The native code does not offer this kind of callback. The only way to do it is currently to wait for the AppState status change. This could be done on the native side, but also on the JS side.
@zoontek Thanks for the quick answer and advice, I will implement something using AppState then
I've tried doing something using AppState but with a listenener listening on state change, it does not get trigger when the modal is opened or closed, the app stays active at all time.
I also tried with AppState listeners with no luck. Also with navigation and layout events. I found no way of detecting that the user is done with updating his selected photos. Can we reopen the issue?
Can not find out a solution for this issue. Can someone help me?
Most helpful comment
I also tried with
AppStatelisteners with no luck. Also with navigation and layout events. I found no way of detecting that the user is done with updating his selected photos. Can we reopen the issue?