cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-11295) Cordova app navigates to home screen when fetching image from PhotoLibrary
Date Tue, 23 Aug 2016 12:26:20 GMT


ASF GitHub Bot commented on CB-11295:

GitHub user vladimir-kotikov opened a pull request:

    CB-11295 Add WP8.1 quirk when choosing image from photoalbum

    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    ### Platforms affected
    Windows (Windows Phone 8.1)
    ### What does this PR do?
    Updates plugin's docs to reflect WP8.1 quirk when calling `camera.getPicture` from location,
different than app's start page
    ### What testing has been done on this change?
    Not required
    ### Checklist
    - [x] [ICLA]( has been signed and submitted to
    - [x] [Reported an issue]( in the JIRA
    - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [x] Added automated test coverage as appropriate for this change. (not required)

You can merge this pull request into a Git repository by running:

    $ git pull CB-11295

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #233
commit 11e300a42ddb72a7228a0fcecf1477e5ac66b197
Author: Vladimir Kotikov <>
Date:   2016-08-23T12:08:59Z

    CB-11295 Add WP8.1 quirk when choosing image from photoalbum


> Cordova app navigates to home screen when fetching image from PhotoLibrary
> --------------------------------------------------------------------------
>                 Key: CB-11295
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>            Reporter: Apoorv Saxena
>              Labels: camera, cordova-6.0.0, windows-universal
> **Use Case**: Choose image from Gallery and execute callbacks
> **Issue**: Redirection to Home screen of the app after image selection from Gallery.
> Getting image from Camera works:
> {noformat}
> {
>     	console.log('success'); 
>     },function() {
>     	console.log('failure'); 
>     } , {
>     	destinationType: Camera.DestinationType.DATA_URL
>     });
> {noformat}
> Choosing image from Gallery redirects to the homescreen
> {noformat}
> {
>     	console.log('success'); 
>     },function() {
>     	console.log('failure'); 
>     } , {
>         destinationType:,
>     	sourceType:
>     });
> {noformat}
> The code is fairly simple and is mentioned at many places to give an example of how to
choose image from Gallery. This code doesn't work on any screen other than the home screen
of App. Also, no errors are reported before redirection.
> The following code also results in redirection to the homescreen after image selection.
> {noformat}
>     <input type="file" name="">
> {noformat}
> Configuration:
>     Device: Windows Lumia 535
>     Device OS Version: 8.1
>     Cordova: 6.1.1 
>     Cordova plugin camera: 2.2.0

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message