[jira] [Commented] (CB-12886) white area where status bar is in iOS 11

2017-10-25 Thread Richard Kimber (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16219440#comment-16219440
 ] 

Richard Kimber commented on CB-12886:
-

I've written up my own experience and workarounds, for this bug. Thank you to 
the various people on this thread that have pointed me in the right direction, 
with their comments. https://github.com/kim3er/ios11-scroll-offset

> white area where status bar is in iOS 11
> 
>
> Key: CB-12886
> URL: https://issues.apache.org/jira/browse/CB-12886
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS 11 beta 1
>Reporter: Shazron Abdullah
>  Labels: backlog, ios11
> Fix For: cordova-ios@5.0.0
>
> Attachments: ios11.png, screenshot-1.png, screenshot-2.png
>
>
> See attached screenshot. Using WKWebView plugin, new app.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-3757) navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY

2013-06-12 Thread Richard Kimber (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13681237#comment-13681237
 ] 

Richard Kimber commented on CB-3757:


I have the same problem with a new 2.8.0 project on iOS, using:

navigator.camera.getPicture(function() {console.log(arguments);}, function() 
{console.log(arguments, arguments[0], '***');}, {
 sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY
});

Is there a workaround until 2.9.0 is released?

 navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY
 --

 Key: CB-3757
 URL: https://issues.apache.org/jira/browse/CB-3757
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Camera
Affects Versions: 2.8.0
 Environment: Can be reproduce on all iOS Devices and the 
 iOS-Simulator.
Reporter: Ronny Schleicher
Assignee: Steve Gill
Priority: Critical
 Fix For: 2.9.0


 Since Cordova version 2.8.0 it is not possible to load images from the photo 
 library on the iOS (Device and Simulator).
 Following code always calls the function onGetPictureFailed. An error 
 analysis is not possible in the callback, as the callback is called with no 
 parameters!
 (Note: in Cordova 2.7.0 the code works fine.)
 navigator.camera.getPicture(
onGetPictureSuccessfully,
onGetPictureFailed,
{
 quality: 90,
 destinationType: navigator.camera.DestinationType.FILE_URI,
 sourceType :navigator.camera.PictureSourceType.PHOTOLIBRARY,
 correctOrientation : true,
 targetWidth: 800,
 targetHeight   : 800
});

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3757) navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY

2013-06-12 Thread Richard Kimber (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13681270#comment-13681270
 ] 

Richard Kimber commented on CB-3757:


I've tracked my erro down to line 344 of CDVCamera.m. The function is actually 
failing because line 343 is unable to save the image using the Simulator 
(haven't tried a device yet). The error is nil.

Rich

 navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY
 --

 Key: CB-3757
 URL: https://issues.apache.org/jira/browse/CB-3757
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Camera
Affects Versions: 2.8.0
 Environment: Can be reproduce on all iOS Devices and the 
 iOS-Simulator.
Reporter: Ronny Schleicher
Assignee: Steve Gill
Priority: Critical
 Fix For: 2.9.0


 Since Cordova version 2.8.0 it is not possible to load images from the photo 
 library on the iOS (Device and Simulator).
 Following code always calls the function onGetPictureFailed. An error 
 analysis is not possible in the callback, as the callback is called with no 
 parameters!
 (Note: in Cordova 2.7.0 the code works fine.)
 navigator.camera.getPicture(
onGetPictureSuccessfully,
onGetPictureFailed,
{
 quality: 90,
 destinationType: navigator.camera.DestinationType.FILE_URI,
 sourceType :navigator.camera.PictureSourceType.PHOTOLIBRARY,
 correctOrientation : true,
 targetWidth: 800,
 targetHeight   : 800
});

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3757) navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY

2013-06-12 Thread Richard Kimber (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13681270#comment-13681270
 ] 

Richard Kimber edited comment on CB-3757 at 6/12/13 2:31 PM:
-

I've tracked my erro down to line 344 of CDVCamera.m. The function is actually 
failing because line 343 is unable to save the image using the Simulator 
(haven't tried a device yet).

The error is nil, but more interestingly 'data' is also nil because it's never 
assigned too if the Encoding Type isn't set to EncodingTypePNG.

Rich

  was (Author: kim3er):
I've tracked my erro down to line 344 of CDVCamera.m. The function is 
actually failing because line 343 is unable to save the image using the 
Simulator (haven't tried a device yet). The error is nil.

Rich
  
 navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY
 --

 Key: CB-3757
 URL: https://issues.apache.org/jira/browse/CB-3757
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Camera
Affects Versions: 2.8.0
 Environment: Can be reproduce on all iOS Devices and the 
 iOS-Simulator.
Reporter: Ronny Schleicher
Assignee: Steve Gill
Priority: Critical
 Fix For: 2.9.0


 Since Cordova version 2.8.0 it is not possible to load images from the photo 
 library on the iOS (Device and Simulator).
 Following code always calls the function onGetPictureFailed. An error 
 analysis is not possible in the callback, as the callback is called with no 
 parameters!
 (Note: in Cordova 2.7.0 the code works fine.)
 navigator.camera.getPicture(
onGetPictureSuccessfully,
onGetPictureFailed,
{
 quality: 90,
 destinationType: navigator.camera.DestinationType.FILE_URI,
 sourceType :navigator.camera.PictureSourceType.PHOTOLIBRARY,
 correctOrientation : true,
 targetWidth: 800,
 targetHeight   : 800
});

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-3757) navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY

2013-06-12 Thread Richard Kimber (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13681277#comment-13681277
 ] 

Richard Kimber edited comment on CB-3757 at 6/12/13 3:38 PM:
-

For me at least it's a typo at line 310. 'self.data' should be 'data'. Rich

data = UIImageJPEGRepresentation(scaledImage == nil ? image : 
scaledImage, cameraPicker.quality / 100.0f);
self.data = data;

  was (Author: kim3er):
For me at least it's a typo at line 310. 'self.data' should be 'data'. Rich
  
 navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY
 --

 Key: CB-3757
 URL: https://issues.apache.org/jira/browse/CB-3757
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Camera
Affects Versions: 2.8.0
 Environment: Can be reproduce on all iOS Devices and the 
 iOS-Simulator.
Reporter: Ronny Schleicher
Assignee: Steve Gill
Priority: Critical
 Fix For: 2.9.0


 Since Cordova version 2.8.0 it is not possible to load images from the photo 
 library on the iOS (Device and Simulator).
 Following code always calls the function onGetPictureFailed. An error 
 analysis is not possible in the callback, as the callback is called with no 
 parameters!
 (Note: in Cordova 2.7.0 the code works fine.)
 navigator.camera.getPicture(
onGetPictureSuccessfully,
onGetPictureFailed,
{
 quality: 90,
 destinationType: navigator.camera.DestinationType.FILE_URI,
 sourceType :navigator.camera.PictureSourceType.PHOTOLIBRARY,
 correctOrientation : true,
 targetWidth: 800,
 targetHeight   : 800
});

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira