[jira] [Resolved] (CB-10376) autofocus doesn't work with WKWebView engine plugin
[ https://issues.apache.org/jira/browse/CB-10376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-10376. --- Resolution: Won't Fix See [https://github.com/apache/cordova-plugin-wkwebview-engine/pull/37] comments for plugin alternatives. > autofocus doesn't work with WKWebView engine plugin > --- > > Key: CB-10376 > URL: https://issues.apache.org/jira/browse/CB-10376 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-wkwebview-engine >Affects Versions: 5.4.1 > Environment: Tested on iPhone 6 plus and iPhone 5S both running iOS > 9.2 >Reporter: David Douglas >Assignee: Shazron Abdullah >Priority: Minor > Labels: iOS, triaged > > When using WKWebView engine the iOS Soft Keyboard fails to automatically open > when the 'autofocus' attribute is set. > How to recreate: > 1. Add platform and keyboard plugin > {code} > cordova platform add ios@4.0.1 > cordova plugin add cordova-plugin-keyboard@1.1.3 --save > {code} > 2. Update iOS keyboard to enable focus commands in 'config.xml': > {code} > > {code} > 3. Add textarea to test with autofocus attribute. > {code} > > {code} > (Note: Before adding the WKWebView engine plugin the UIWebView will > automatically open the Soft Keyboard.) > 4. Add the WKWebView engine plugin > {code} > cordova plugin add cordova-plugin-wkwebview-engine@1.0.1 --save > {code} > What happens: > Nothing. > What should happen: > The soft keyboard should open automatically (the same a UIWebView) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile
[ https://issues.apache.org/jira/browse/CB-11893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360235#comment-16360235 ] Shazron Abdullah commented on CB-11893: --- [~jcesarmobile] you mean the preference, say would be "AllowCocoaPodsUseFrameworks", and default to false? I think by adding the annotation it would already signal that this value is "true", so I am hesitant to add one more config option. I'm thinking that with enough nagging in the console output, devs will get that there is a plugin that requires use_frameworks, so either all of their plugins us dynamic iOS frameworks, or they remove that particular plugin. Here's the possible scenarios: # 1 use_frameworks plugin, no other plugins -> OK # 1 use_frameworks plugin, other plugins that don't use use_frameworks - print a warning for each non-use_frameworks plugin (maybe point to the 'offending' plugin)-- # 1 use_frameworks plugin, other plugins also have use_frameworks -> OK Of course this will all depend on the order of plugins loaded (to detect whether a plugin has use_frameworks). For example, if the use_frameworks plugin was *not* loaded first, we won't detect this case for subsequent plugins, so there needs to be plugin load ordering/preprocessing. Might get messy. > CocoaPods support: Provide a way to add use_frameworks! on the Podfile > -- > > Key: CB-11893 > URL: https://issues.apache.org/jira/browse/CB-11893 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-ios >Reporter: jcesarmobile >Priority: Major > Labels: backlog > Fix For: cordova-ios@5.0.0 > > Attachments: Integrating Static Library With Cocoapods > Use_frameworks.pdf > > > If the library you want to use on the plugin uses Swift or you want to use > dynamic frameworks you have to add use_frameworks! on the Podfile > I don't think there is a way of adding it right now. > We should provide a way of adding it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13854) Camera opens in portrait orientation on iphones
[ https://issues.apache.org/jira/browse/CB-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360228#comment-16360228 ] ASF subversion and git services commented on CB-13854: -- Commit 7c90555bd4bfbbdfe23f357f130eb1bbb7e4fce6 in cordova-plugin-camera's branch refs/heads/master from [~jcesarmobile] [ https://gitbox.apache.org/repos/asf?p=cordova-plugin-camera.git;h=7c90555 ] CB-13854(ios): fix Camera opens in portrait orientation on iphones > Camera opens in portrait orientation on iphones > --- > > Key: CB-13854 > URL: https://issues.apache.org/jira/browse/CB-13854 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios, cordova-plugin-camera, > cordova-plugin-media-capture >Affects Versions: cordova-ios 4.5.0 > Environment: Cordova 7.1.0, Cordova 8.0.0 > iOS 9, 10, 11 > cordova-ios 4.5.x > >Reporter: Damian Ibbotson >Priority: Major > > Using app in landscape on iphone and open the camera using a plugin > (cordova-plugin-camera, cordova-plugin-media-capture). The camera opens in > portrait mode. Dialogs to request permissions are therefore rotated, as is > button text. > Replicated with HelloCordova app with addition of cordova-plugin-camera. > Using cordova-plugin-screen-orientation, we can see that an event to change > the orientation to portrait-primary is fired when the camera is opened. > > Does not affect ipads. > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13854) Camera opens in portrait orientation on iphones
[ https://issues.apache.org/jira/browse/CB-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360229#comment-16360229 ] ASF GitHub Bot commented on CB-13854: - macdonst commented on issue #312: CB-13854(ios): fix Camera opens in portrait orientation on iphones URL: https://github.com/apache/cordova-plugin-camera/pull/312#issuecomment-364817265 Closes CB-13854 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Camera opens in portrait orientation on iphones > --- > > Key: CB-13854 > URL: https://issues.apache.org/jira/browse/CB-13854 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios, cordova-plugin-camera, > cordova-plugin-media-capture >Affects Versions: cordova-ios 4.5.0 > Environment: Cordova 7.1.0, Cordova 8.0.0 > iOS 9, 10, 11 > cordova-ios 4.5.x > >Reporter: Damian Ibbotson >Priority: Major > > Using app in landscape on iphone and open the camera using a plugin > (cordova-plugin-camera, cordova-plugin-media-capture). The camera opens in > portrait mode. Dialogs to request permissions are therefore rotated, as is > button text. > Replicated with HelloCordova app with addition of cordova-plugin-camera. > Using cordova-plugin-screen-orientation, we can see that an event to change > the orientation to portrait-primary is fired when the camera is opened. > > Does not affect ipads. > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13854) Camera opens in portrait orientation on iphones
[ https://issues.apache.org/jira/browse/CB-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360227#comment-16360227 ] ASF GitHub Bot commented on CB-13854: - macdonst closed pull request #312: CB-13854(ios): fix Camera opens in portrait orientation on iphones URL: https://github.com/apache/cordova-plugin-camera/pull/312 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m index 37b4ec84..c71de054 100644 --- a/src/ios/CDVCamera.m +++ b/src/ios/CDVCamera.m @@ -206,6 +206,7 @@ - (void)takePicture:(CDVInvokedUrlCommand*)command [weakSelf displayPopover:pictureOptions.popoverOptions]; weakSelf.hasPendingOperation = NO; } else { +cameraPicker.modalPresentationStyle = UIModalPresentationCurrentContext; [weakSelf.viewController presentViewController:cameraPicker animated:YES completion:^{ weakSelf.hasPendingOperation = NO; }]; This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Camera opens in portrait orientation on iphones > --- > > Key: CB-13854 > URL: https://issues.apache.org/jira/browse/CB-13854 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios, cordova-plugin-camera, > cordova-plugin-media-capture >Affects Versions: cordova-ios 4.5.0 > Environment: Cordova 7.1.0, Cordova 8.0.0 > iOS 9, 10, 11 > cordova-ios 4.5.x > >Reporter: Damian Ibbotson >Priority: Major > > Using app in landscape on iphone and open the camera using a plugin > (cordova-plugin-camera, cordova-plugin-media-capture). The camera opens in > portrait mode. Dialogs to request permissions are therefore rotated, as is > button text. > Replicated with HelloCordova app with addition of cordova-plugin-camera. > Using cordova-plugin-screen-orientation, we can see that an event to change > the orientation to portrait-primary is fired when the camera is opened. > > Does not affect ipads. > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13852) cordova-plugin-media getPosition audio failed
[ https://issues.apache.org/jira/browse/CB-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360226#comment-16360226 ] ASF GitHub Bot commented on CB-13852: - macdonst commented on issue #165: CB-13852: (iOS) Fix bug prevent error on getPosition URL: https://github.com/apache/cordova-plugin-media/pull/165#issuecomment-364816971 @jcesarmobile we can do a "squash and merge" for this PR then only one commit will show up. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > cordova-plugin-media getPosition audio failed > - > > Key: CB-13852 > URL: https://issues.apache.org/jira/browse/CB-13852 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-media >Affects Versions: cordova-ios 4.5.0 > Environment: iOS all versions >Reporter: Juan Sebastian Dussan Cubides >Priority: Minor > > (iOS) > When I try to get the position of an audio that had an error while loading, > the crash appose exponentially because it can not cast the time = none -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13193) Setting orientation to landscape might turn UI upside down if already in landscape
[ https://issues.apache.org/jira/browse/CB-13193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360217#comment-16360217 ] ASF GitHub Bot commented on CB-13193: - fortunes-technology commented on issue #25: CB-13193: (ios) Fixed Lock iOS Landscape Orientation turn up-sidedown URL: https://github.com/apache/cordova-plugin-screen-orientation/pull/25#issuecomment-364814425 The Merge conflict fixed. This PR fixes, the landscape right and left issue. Also if you want to lock orientation to landscape (do not care when it is right or left) and it's already in landscape mode (whether it is right or left), we shouldn't be changing orientation. Right now, if we change orientation to landscape, it just change it to landscape left. So this is fixed with this PR. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Setting orientation to landscape might turn UI upside down if already in > landscape > -- > > Key: CB-13193 > URL: https://issues.apache.org/jira/browse/CB-13193 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-screen-orientation >Reporter: Jonathan Herdt >Assignee: Vishal Mishra >Priority: Major > > Steps to reproduce: > # Set up an app to lock its orientation to 'landscape' at startup via > `screen.orientation.lock('landscape')` > # Set device to landscape-left (home button on left side) > # Start app > # Observe UI turning upside down > Desired behavior: Rotation is locked but UI does not turn upside down -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10376) autofocus doesn't work with WKWebView engine plugin
[ https://issues.apache.org/jira/browse/CB-10376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360204#comment-16360204 ] Drew Covi commented on CB-10376: can we get this pulled in? > autofocus doesn't work with WKWebView engine plugin > --- > > Key: CB-10376 > URL: https://issues.apache.org/jira/browse/CB-10376 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-wkwebview-engine >Affects Versions: 5.4.1 > Environment: Tested on iPhone 6 plus and iPhone 5S both running iOS > 9.2 >Reporter: David Douglas >Assignee: Shazron Abdullah >Priority: Minor > Labels: iOS, triaged > > When using WKWebView engine the iOS Soft Keyboard fails to automatically open > when the 'autofocus' attribute is set. > How to recreate: > 1. Add platform and keyboard plugin > {code} > cordova platform add ios@4.0.1 > cordova plugin add cordova-plugin-keyboard@1.1.3 --save > {code} > 2. Update iOS keyboard to enable focus commands in 'config.xml': > {code} > > {code} > 3. Add textarea to test with autofocus attribute. > {code} > > {code} > (Note: Before adding the WKWebView engine plugin the UIWebView will > automatically open the Soft Keyboard.) > 4. Add the WKWebView engine plugin > {code} > cordova plugin add cordova-plugin-wkwebview-engine@1.0.1 --save > {code} > What happens: > Nothing. > What should happen: > The soft keyboard should open automatically (the same a UIWebView) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13865) Making CameraPopover for imagePicker bigger on Ipad
[ https://issues.apache.org/jira/browse/CB-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360157#comment-16360157 ] jcesarmobile commented on CB-13865: --- Read the contribution guidelines [http://cordova.apache.org/contribute/] > Making CameraPopover for imagePicker bigger on Ipad > --- > > Key: CB-13865 > URL: https://issues.apache.org/jira/browse/CB-13865 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-camera >Reporter: Ams >Priority: Major > Fix For: Master > > > The popover for imagePicker from gallery is way too small and people complain > about not being able to see images before selecting them. > > The fix is simple: > > Adding this line to willShowViewController method will set it to 960 by 960 > or as big as the screen widht/height > [viewController setPreferredContentSize:CGSizeMake(960,960)]; > It should be added right in the if statement: > if([navigationController isKindOfClass:[UIImagePickerController class]]){ > > HOW CAN I COMMIT THIS CHANGE? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-13865) Making CameraPopover for imagePicker bigger on Ipad
[ https://issues.apache.org/jira/browse/CB-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360157#comment-16360157 ] jcesarmobile edited comment on CB-13865 at 2/11/18 10:49 PM: - Read the contribution guidelines [http://cordova.apache.org/contribute/] Instead of just making it bigger, I think it should be configurable, but keeping current size if no size is provided was (Author: jcesarmobile): Read the contribution guidelines [http://cordova.apache.org/contribute/] > Making CameraPopover for imagePicker bigger on Ipad > --- > > Key: CB-13865 > URL: https://issues.apache.org/jira/browse/CB-13865 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-camera >Reporter: Ams >Priority: Major > Fix For: Master > > > The popover for imagePicker from gallery is way too small and people complain > about not being able to see images before selecting them. > > The fix is simple: > > Adding this line to willShowViewController method will set it to 960 by 960 > or as big as the screen widht/height > [viewController setPreferredContentSize:CGSizeMake(960,960)]; > It should be added right in the if statement: > if([navigationController isKindOfClass:[UIImagePickerController class]]){ > > HOW CAN I COMMIT THIS CHANGE? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11893) CocoaPods support: Provide a way to add use_frameworks! on the Podfile
[ https://issues.apache.org/jira/browse/CB-11893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360151#comment-16360151 ] jcesarmobile commented on CB-11893: --- As this is an all or nothing, what about a config.xml preference? would that require a cordova-lib release too? would it be possible to use a preference for this purpose? (as it has to be read by the script writing in the Podfile and not by the plugins code) > CocoaPods support: Provide a way to add use_frameworks! on the Podfile > -- > > Key: CB-11893 > URL: https://issues.apache.org/jira/browse/CB-11893 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-ios >Reporter: jcesarmobile >Priority: Major > Labels: backlog > Fix For: cordova-ios@5.0.0 > > Attachments: Integrating Static Library With Cocoapods > Use_frameworks.pdf > > > If the library you want to use on the plugin uses Swift or you want to use > dynamic frameworks you have to add use_frameworks! on the Podfile > I don't think there is a way of adding it right now. > We should provide a way of adding it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13861) Update TargetPlatformVersion to 10.0.10586.0
[ https://issues.apache.org/jira/browse/CB-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360032#comment-16360032 ] ASF GitHub Bot commented on CB-13861: - janpio commented on issue #250: [CB-13861] Update TargetPlatformVersion URL: https://github.com/apache/cordova-windows/pull/250#issuecomment-364770895 None right now, just setting up to test/release tomorrow and wanted to make sure I know which combination is known good ;) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Update TargetPlatformVersion to 10.0.10586.0 > > > Key: CB-13861 > URL: https://issues.apache.org/jira/browse/CB-13861 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen >Priority: Major > > For VS2017 Windows 10 projects we need to update TargetPlatformVersion to > 10.0.10586.0 > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13861) Update TargetPlatformVersion to 10.0.10586.0
[ https://issues.apache.org/jira/browse/CB-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360018#comment-16360018 ] ASF GitHub Bot commented on CB-13861: - brodybits commented on issue #250: [CB-13861] Update TargetPlatformVersion URL: https://github.com/apache/cordova-windows/pull/250#issuecomment-364769143 > Ouch. We might want to look into that later ;) @janpio what are your results? Any different? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Update TargetPlatformVersion to 10.0.10586.0 > > > Key: CB-13861 > URL: https://issues.apache.org/jira/browse/CB-13861 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen >Priority: Major > > For VS2017 Windows 10 projects we need to update TargetPlatformVersion to > 10.0.10586.0 > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13861) Update TargetPlatformVersion to 10.0.10586.0
[ https://issues.apache.org/jira/browse/CB-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360017#comment-16360017 ] ASF GitHub Bot commented on CB-13861: - janpio commented on issue #250: [CB-13861] Update TargetPlatformVersion URL: https://github.com/apache/cordova-windows/pull/250#issuecomment-364768966 Ouch. We might want to look into that later ;) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Update TargetPlatformVersion to 10.0.10586.0 > > > Key: CB-13861 > URL: https://issues.apache.org/jira/browse/CB-13861 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen >Priority: Major > > For VS2017 Windows 10 projects we need to update TargetPlatformVersion to > 10.0.10586.0 > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-10756) Camera feature doesn't work if quality greater than 50
[ https://issues.apache.org/jira/browse/CB-10756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-10756. - Resolution: Cannot Reproduce Closing as can't reproduce > Camera feature doesn't work if quality greater than 50 > -- > > Key: CB-10756 > URL: https://issues.apache.org/jira/browse/CB-10756 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android,IOS >Reporter: Viththal Joshi >Priority: Major > Labels: iOS > > Http Post request fails if Camera image passed as a Data URI which is > captured by cordova image capture plugin. > {code} > $http({url:ServerURL+'/pgas-bbmp-portlet/requestprocess.do' , > method: "POST", > params: { > userId:$rootScope.user!=undefined?$rootScope.user.userid:0, > imageData:$rootScope.limgData > } > }) > .then(function(response) { > console.log(response.data); > console.log(response.status); > } > ,function(response) { > console.log(response.data); > console.log(response.status); > }); > where $rootScope.limgData is imageData got from Success fn of > navigator.camera.getPicture() > Camera Options: > var options = { > quality:100, > destinationType: Camera.DestinationType.DATA_URL, > sourceType: Camera.PictureSourceType.CAMERA, > allowEdit: false, > encodingType: Camera.EncodingType.JPEG, > targetWidth: 200, > targetHeight: 200, > popoverOptions: CameraPopoverOptions, > saveToPhotoAlbum: false, > correctOrientation:true > }; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13421) (osx) PR: Added macOS support to cordova-plugin-camera
[ https://issues.apache.org/jira/browse/CB-13421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-13421. - Resolution: Fixed Fixed in 3.0.0 version of the plugin > (osx) PR: Added macOS support to cordova-plugin-camera > -- > > Key: CB-13421 > URL: https://issues.apache.org/jira/browse/CB-13421 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-camera >Reporter: José Expósito >Priority: Major > > This pull requests adds macOS support: > https://github.com/apache/cordova-plugin-camera/pull/290 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-7641) [iOS 8][Camera] Newly Taken Picture Previews are Black
[ https://issues.apache.org/jira/browse/CB-7641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-7641. Resolution: Cannot Reproduce Closing as can't reproduce, and probably out of date too > [iOS 8][Camera] Newly Taken Picture Previews are Black > -- > > Key: CB-7641 > URL: https://issues.apache.org/jira/browse/CB-7641 > Project: Apache Cordova > Issue Type: Sub-task > Components: cordova-plugin-camera >Affects Versions: 3.3.0 > Environment: iOS 8 on an iPhone 6 >Reporter: Nathan Beigel >Priority: Major > Labels: iOS > > When making the following call using iOS 8 on an iPhone 6 then taking a new > picture, the XCode console display the error *"Snapshotting a view that has > not been rendered results in an empty snapshot. Ensure your view has been > rendered at least once before snapshotting or snapshot after screen > updates."* and the image preview screen becomes completely black: > {noformat} > navigator.camera.getPicture( > function() { ... }, > function() { ... }, > { > quality: 40, > destinationType: Camera.DestinationType.DATA_URL, > sourceType : Camera.PictureSourceType.CAMERA, > allowEdit : false, > encodingType: Camera.EncodingType.JPEG, > correctOrientation: true, > targetWidth: 600, > targetHeight: 800, > saveToPhotoAlbum: true > } > ); > {noformat} > The "Re-Take" and "Use Photo" buttons at the bottom of the screen appear and > function properly though. > I'm using the latest camera plugin code base located at: > https://github.com/apache/cordova-plugin-camera > This behavior is not occurring using the same code with iOS 7.1 on an iPhone > 5. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13861) Update TargetPlatformVersion to 10.0.10586.0
[ https://issues.apache.org/jira/browse/CB-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360007#comment-16360007 ] ASF GitHub Bot commented on CB-13861: - brodybits commented on issue #250: [CB-13861] Update TargetPlatformVersion URL: https://github.com/apache/cordova-windows/pull/250#issuecomment-364767817 If I would do `cordova platform add https://github.com/apache/cordova-windows` in a new project then do `cordova requirements windows` I get the following output: ```sh Requirements check results for windows: Windows OS: not installed Error: Cannot read property 'os' of undefined (node:5776) UnhandledPromiseRejectionWarning: CordovaError: Some of requirements check failed at C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\src\cli.js:414:27 at _fulfilled (C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54) at self.promiseDispatch.done (C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30) at Promise.promise.promiseDispatch (C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:749:13) at C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:557:44 at flush (C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:108:17) at process._tickCallback (internal/process/next_tick.js:150:11) (node:5776) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:5776) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. ``` Same result if I would do `cordova platform add https://github.com/apache/cordova-windows#CB-13861` then `cordova requirements windows`. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Update TargetPlatformVersion to 10.0.10586.0 > > > Key: CB-13861 > URL: https://issues.apache.org/jira/browse/CB-13861 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen >Priority: Major > > For VS2017 Windows 10 projects we need to update TargetPlatformVersion to > 10.0.10586.0 > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13861) Update TargetPlatformVersion to 10.0.10586.0
[ https://issues.apache.org/jira/browse/CB-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16360002#comment-16360002 ] ASF GitHub Bot commented on CB-13861: - janpio commented on issue #250: [CB-13861] Update TargetPlatformVersion URL: https://github.com/apache/cordova-windows/pull/250#issuecomment-364766938 What does `cordova requirements windows` return for you? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Update TargetPlatformVersion to 10.0.10586.0 > > > Key: CB-13861 > URL: https://issues.apache.org/jira/browse/CB-13861 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen >Priority: Major > > For VS2017 Windows 10 projects we need to update TargetPlatformVersion to > 10.0.10586.0 > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13865) Making CameraPopover for imagePicker bigger on Ipad
[ https://issues.apache.org/jira/browse/CB-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ams updated CB-13865: - Description: The popover for imagePicker from gallery is way too small and people complain about not being able to see images before selecting them. The fix is simple: Adding this line to willShowViewController method will set it to 960 by 960 or as big as the screen widht/height [viewController setPreferredContentSize:CGSizeMake(960,960)]; It should be added right in the if statement: if([navigationController isKindOfClass:[UIImagePickerController class]]){ HOW CAN I COMMIT THIS CHANGE? was: The popover for imagePicker from gallery is way too small and people complain about not begin able to see images before selecting them. The fix is simple: Adding this line to willShowViewController method will set it to 960 by 960 or as big as the screen widht/height [viewController setPreferredContentSize:CGSizeMake(960,960)]; It should be added right in the if statement: if([navigationController isKindOfClass:[UIImagePickerController class]]){ HOW CAN WE COMMIT THIS CHANGE? > Making CameraPopover for imagePicker bigger on Ipad > --- > > Key: CB-13865 > URL: https://issues.apache.org/jira/browse/CB-13865 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-camera >Reporter: Ams >Priority: Major > Fix For: Master > > > The popover for imagePicker from gallery is way too small and people complain > about not being able to see images before selecting them. > > The fix is simple: > > Adding this line to willShowViewController method will set it to 960 by 960 > or as big as the screen widht/height > [viewController setPreferredContentSize:CGSizeMake(960,960)]; > It should be added right in the if statement: > if([navigationController isKindOfClass:[UIImagePickerController class]]){ > > HOW CAN I COMMIT THIS CHANGE? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13865) Making CameraPopover for imagePicker bigger on Ipad
Ams created CB-13865: Summary: Making CameraPopover for imagePicker bigger on Ipad Key: CB-13865 URL: https://issues.apache.org/jira/browse/CB-13865 Project: Apache Cordova Issue Type: Improvement Components: cordova-plugin-camera Reporter: Ams Fix For: Master The popover for imagePicker from gallery is way too small and people complain about not begin able to see images before selecting them. The fix is simple: Adding this line to willShowViewController method will set it to 960 by 960 or as big as the screen widht/height [viewController setPreferredContentSize:CGSizeMake(960,960)]; It should be added right in the if statement: if([navigationController isKindOfClass:[UIImagePickerController class]]){ HOW CAN WE COMMIT THIS CHANGE? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13852) cordova-plugin-media getPosition audio failed
[ https://issues.apache.org/jira/browse/CB-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16359988#comment-16359988 ] ASF GitHub Bot commented on CB-13852: - jcesarmobile commented on issue #165: CB-13852: (iOS) Fix bug prevent error on getPosition URL: https://github.com/apache/cordova-plugin-media/pull/165#issuecomment-364764819 No, I can still see 11 commits, only yours should appear This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > cordova-plugin-media getPosition audio failed > - > > Key: CB-13852 > URL: https://issues.apache.org/jira/browse/CB-13852 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-media >Affects Versions: cordova-ios 4.5.0 > Environment: iOS all versions >Reporter: Juan Sebastian Dussan Cubides >Priority: Minor > > (iOS) > When I try to get the position of an audio that had an error while loading, > the crash appose exponentially because it can not cast the time = none -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13533) Embedded binaries not correctly added to Xcode project
[ https://issues.apache.org/jira/browse/CB-13533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-13533. - Resolution: Duplicate Closing as duplicate of CB-12772 > Embedded binaries not correctly added to Xcode project > -- > > Key: CB-13533 > URL: https://issues.apache.org/jira/browse/CB-13533 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios >Affects Versions: cordova@7.0.0 > Environment: Mac OS High Sierra, cordova-cli@7.0.1, > cordova-ios@4.4.0, Xcode 9 >Reporter: Craig Rouse >Assignee: Suraj Pindoria >Priority: Minor > Labels: embedded, ios > > In Cordova 7.0.0, a feature was added to allow plugins to specify that > frameworks should be added to the Embedded Binaries section of an Xcode > project file (see https://issues.apache.org/jira/browse/CB-11233). > This feature should have been great, but it doesn't work as expected. If you > add a dynamic framework to Embedded Binaries using Xcode, it will also add > the library to the "Linked Frameworks and Libraries" section. Relying on > Cordova to do this, however, only places the framework in Embedded Binaries, > and skips the "Linked Frameworks" section. > I distribute a Cordova plugin, and in my case, this resulted in my framework > not working properly. > A workaround exists, which is to list the framework twice in the plugin file: > once with "custom=true embed=true" and once without. This then forces Cordova > to add the framework to both sections, but it is messy and shouldn't be > necessary. > For evidence of how this should work, please see this description: > http://code.hootsuite.com/an-introduction-to-creating-and-distributing-embedded-frameworks-in-ios/ > under "Consuming the Framework". Please note I'm not affiliated with > Hootsuite - just using their document as an example. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13863) CameraPopoverOptions not working properly on Ipad IOS 11
[ https://issues.apache.org/jira/browse/CB-13863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-13863. - Resolution: Not A Problem The popover options are for specifying the element from which the popover is presented. In example, you have a button from which you call the camera code, and you want the popover to appear from that button, the options are used to specify that button position an size so the popover and popover's arrow are presented from there. Could be possible to size the popover, but it's not implemented in the camera plugin. > CameraPopoverOptions not working properly on Ipad IOS 11 > > > Key: CB-13863 > URL: https://issues.apache.org/jira/browse/CB-13863 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Ipad IOS 11 >Reporter: Ams >Priority: Major > > {{CameraPopoverOptions not working properly on Ipad IOS 11. Regardless what > you set the width and height it is always around 200 by 200. Increasing width > and height just moves the popover around but never makes it bigger.}} > {{var popover = new > CameraPopoverOptions(300,300,100,100,Camera.PopoverArrowDirection.ARROW_ANY); > var options = \{ quality: 50, destinationType: > Camera.DestinationType.DATA_URL,sourceType: > Camera.PictureSource.SAVEDPHOTOALBUM, popoverOptions : popover }; > navigator.camera.getPicture(onSuccess, onFail, options);}} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13858) Camera not able to capture image Android 8.0 and above
[ https://issues.apache.org/jira/browse/CB-13858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16359926#comment-16359926 ] jcesarmobile commented on CB-13858: --- Which camera plugin version are you using? there were some Android 8 changes recently > Camera not able to capture image Android 8.0 and above > --- > > Key: CB-13858 > URL: https://issues.apache.org/jira/browse/CB-13858 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera >Affects Versions: cordova-android-7.0.0 > Environment: Android OS 8.0 > Ionic Framework > Angualr 4 >Reporter: Akashdeep Sharma >Priority: Major > > Hi, > > When ever i try to take image using the plugin from android os 8.0 or above i > get error saying image not capture. But i am able to select image from gallery -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13858) Camera not able to capture image Android 8.0 and above
[ https://issues.apache.org/jira/browse/CB-13858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile updated CB-13858: -- Fix Version/s: (was: 3.6.0) > Camera not able to capture image Android 8.0 and above > --- > > Key: CB-13858 > URL: https://issues.apache.org/jira/browse/CB-13858 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera >Affects Versions: cordova-android-7.0.0 > Environment: Android OS 8.0 > Ionic Framework > Angualr 4 >Reporter: Akashdeep Sharma >Priority: Major > > Hi, > > When ever i try to take image using the plugin from android os 8.0 or above i > get error saying image not capture. But i am able to select image from gallery -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13860) Support taking pictures automatically
[ https://issues.apache.org/jira/browse/CB-13860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-13860. - Resolution: Won't Do That's out of the scope of the plugin. Doing something like that would require a complete rewrite of the plugin as, as you say, it uses intents now and it's not possible to do it with intents (same for iOS). There are 3rd party plugins available with such functionality, and it's also possible on Android using getUserMedia without plugins > Support taking pictures automatically > - > > Key: CB-13860 > URL: https://issues.apache.org/jira/browse/CB-13860 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-plugin-camera >Affects Versions: cordova-android-7.0.0 > Environment: All >Reporter: Benjamin Hill >Priority: Minor > Labels: features > > All of the code seems to be directed at the use case of "send user to Camera > app intent, let them take a picture, get the results" > Which is great, unless you want to do something automatic, like taking a > picture on a timer, or taking a picture every second to create a time-lapse, > etc. > Proposed: A new API call that lets the camera's parameters (focus, exposure > etc) stabilize and immediately snaps the pic and returns. > The example at > [https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Taking_still_photos] > looks like it is taking a frame from the Video feed, which is lower res, > ideal would be a full-still-res photo. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13854) Camera opens in portrait orientation on iphones
[ https://issues.apache.org/jira/browse/CB-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16359922#comment-16359922 ] ASF GitHub Bot commented on CB-13854: - jcesarmobile opened a new pull request #312: CB-13854(ios): fix Camera opens in portrait orientation on iphones URL: https://github.com/apache/cordova-plugin-camera/pull/312 ### Platforms affected iOS ### What does this PR do? Allow to properly present the camera in landscape ### What testing has been done on this change? Tested on iPhone and iPod touch ### Checklist - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB- is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Camera opens in portrait orientation on iphones > --- > > Key: CB-13854 > URL: https://issues.apache.org/jira/browse/CB-13854 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios, cordova-plugin-camera, > cordova-plugin-media-capture >Affects Versions: cordova-ios 4.5.0 > Environment: Cordova 7.1.0, Cordova 8.0.0 > iOS 9, 10, 11 > cordova-ios 4.5.x > >Reporter: Damian Ibbotson >Priority: Major > > Using app in landscape on iphone and open the camera using a plugin > (cordova-plugin-camera, cordova-plugin-media-capture). The camera opens in > portrait mode. Dialogs to request permissions are therefore rotated, as is > button text. > Replicated with HelloCordova app with addition of cordova-plugin-camera. > Using cordova-plugin-screen-orientation, we can see that an event to change > the orientation to portrait-primary is fired when the camera is opened. > > Does not affect ipads. > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-13864) InApp Browser is not in the npm registry
[ https://issues.apache.org/jira/browse/CB-13864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nasir closed CB-13864. -- Resolution: Fixed I solved my issue with two things # From somewhere I got InAppbrowser invalid format in the package.json file. # And I have forgotten to add a cordova.js file to my index.html I was unaware of that Cordova is creating js file during build. > InApp Browser is not in the npm registry > > > Key: CB-13864 > URL: https://issues.apache.org/jira/browse/CB-13864 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-android, cordova-browser >Affects Versions: cordova-android-7.0.0 >Reporter: Nasir >Assignee: Joe Bowser >Priority: Major > Attachments: Screenshot_2.png > > > I am trying to add Cordova inApp browser plugin to my Cordova project and > when i try to build for Android this error came in > InAppBrowser is not in the npm registry. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org