-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imagepicker on iOS sometimes gets stuck at .present() #251
Comments
I've also had it occur on the sample demo provided in this repo. I just built and ran the demo, without touching any file. Tested on an iPhone 7 emulator. It worked fine initially for over 10 sequential image selection, then I closed the app (hit home button twice and slide the app up) and started it again. It immediatly broke, I couldn't pick an image nor cancel the imagepicker. |
Same problem here. I haven't noticed this problem prior to upgrading to NS 5.2. |
Same problem here on iphone 8 Plus (iOS 12.1.4) |
Same problem as well after updating to {N} 5.2. |
+1 reported via t-1397525. I've reproduced the issue using this basic demo and the steps despised by @TsotneShonia . On my side, it seems that the issue is reproducible on iPad with iOS 12.1.4 (I was not able to hit the issue on iPhone X, iPhone XR). The result is that hitting the |
Thanks everyone for confirming the issue, adding details to it, and bringing a fix. However, I must report that the issue persists for me, despite the fix. It now behaves slightly differently. First, I can no longer reproduce it on simulators, only on devices. Second, it can no longer break while it's being used. If it works on the first attempt, it will keep working until I close the app. But it can still "break" on the first usage. |
Same for me, using NS 5.2 and iPhone 8 with iOS 12.1.4 |
Fixed with latest release of [email protected] |
I'm definitely still getting this issue on device, but less often. Trying to figure out when/why, but it's pretty random. |
Same here, it still occurs, even with [email protected]. |
Ok, the crash was a one-time thing, but i also get the hang when picking in 6.1.1 |
Hello, @TsotneShonia Regards |
Hello, @DimitarTodorov |
I think the problem still occurs with version 6.2.0 |
Same here, the problem still occurs occasionally @6.2.0 ... |
Same issue with @7.1.0 |
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
tns create
to generate a project. Generate a plain TypeScript project, with the Hello World template. The problem also occurs with Angular.tns plugin add nativescript-imagepicker
and replace the onTap() function with this :
tns run ios
Doing steps 6 and 7 repeatedly will break the feature and make the imagepicker stuck. You can no longer pick an image (tapping it does nothing) nor can you go back. The "cancel" button gives a visual feedback on being tapped but does nothing. The user is forced to close the app.
Nothing is displayed in the console.
Sometimes, "if you're lucky", it breaks on the first attempt. Sometimes, 2nd, 4th, 5th. Sometimes it works even after picking 20 images. In those cases, restart the app on the device or emulator.
Usually it breaks around the 4th.
This also occurs in "multiple" selection mode. Images can be selected but the "done" button gets stuck instead (like the "cancel" button).
The text was updated successfully, but these errors were encountered: