-
-
Notifications
You must be signed in to change notification settings - Fork 72
[iOS] images show blurred #195
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
Comments
Possibly also related: nek023/QBImagePicker#115 |
Hi, |
Hi @lini, thanks for looking into this. This issue appears to be hitting all iPhone devices. Tested with a range between 6 and 8 (didn't try X) I'll try to see if i can isolate the issue or otherwise try and organize access to our repo so you can run that (will be next week) |
Packege.json Usage: loadPhoto(callback: (selection: ImageAsset[]) => void) {
this.context = imagepicker.create({
mode: 'single', // use "multiple" for multiple selection
mediaType: imagepicker.ImagePickerMediaType.Image
});
this.context
.authorize()
.then(() => this.context.present())
.then(callback)
.catch((ex) => {
...
});
} What I also noticed is, that if I would reuse the |
Finally I was able to locate the problem, but I still have no idea how to solve it. |
At least for me I found the solution/mistake I made. |
I have the same problem in iOS. In my case, I've found that the problem is related to TabView and multiple page router outlets (I'm using Angular) in the root app component. Here is the minimal project on git I made to reproduce the issue. |
fix for displaying blurred images in image picker when the root view of the app is any layout nesting TabView related to NativeScript#195
Thanks for the fix @zbranzov and @JakubPawlak! |
Uh oh!
There was an error while loading. Please reload this page.
All images show blurred in iOS, exactly as described here: nek023/QBImagePicker#86 (except I'm not doing multiselect, not sure if it's relevant). Since this lib is using that library, I suspect it's the same issue, but I don't understand the described workaround over there.
All iOS phones are affected (didn't try Android).
NS 4.0.2
plugin latest version.
How can I resolve this problem?
The text was updated successfully, but these errors were encountered: