-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Put mediaTypes as an option #18
Comments
Hi @developper89, We will add such functionality once we are ready to support it. We have plans to improve this plugin to support also video. Unfortunately I cannot commit with an exact time frame when this will be ready, but we will work on it soon. |
Hello...news about this fix? :) |
It is scheduled for our next release - 2.5.0 - NativeScript/NativeScript#3241 |
Thanks!!!! :) |
Hello, any progress on this yet? Really waiting for this to the my app to release. |
was this added in 2.5.0? |
+1 |
@valentinstoychev @nsndeck This being the recommended camera implementation for nativescript core, I really think it needs some attention. I would imagine a lot of apps are using it (2,336 downloads in the last month), and there are some basic issues in this repo that havent been addressed for months, including this one. Can we get an update? |
+1 |
Hi, this issue seems to be a year old and untouched. Can I just raise a PR to implement removing the "video" option? It doesn't really make sense to show the "video" option when |
Hi guys, Sorry for the long silence and thanks for your contribution! The takePicture method will set only the image media type out of the box in the next plugin version. The fix is part of pull request #62 and should be available in NPM until the end of the week as the plugin is in a process of becoming a verified one. As part of this process, the plugin will also follow the recommended plugins structure shown in the plugins seed which will make the community contributions a lot of easier! |
Thanks for the great work, DimitarTachev! |
The fix should be already published to NPM. Enjoy! |
Hi, I had some trouble removing the video option in the camera view
what i did was to set the mediatypes array to
imagePickerController.mediaTypes = [mediaTypes[0]];
It would be better to pass the type as an option like
"public.image" or "public.movie"
and choose between them to enable or disable the photo or video option in the view
Could you add the mediaTypes array as an option or make it settable ?
The text was updated successfully, but these errors were encountered: