[ 
https://issues.apache.org/jira/browse/CB-12429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kerri Shotts closed CB-12429.
-----------------------------
    Resolution: Not A Problem

> [blocked] cordova-plugin-camera refresh app Android
> ---------------------------------------------------
>
>                 Key: CB-12429
>                 URL: https://issues.apache.org/jira/browse/CB-12429
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 3.5.0
>         Environment: Android phonegap build
>            Reporter: Guillaume Touzeau
>            Priority: Critical
>              Labels: build
>
> with phonegap build. only on android device (IOS is working well) + plugin :
> <preference name='phonegap-version' value='cli-6.5.0' />
> <preference name="android-minSdkVersion" value="15" />         
> <preference name="android-maxSdkVersion" value="22" />
> <gap:plugin name="cordova-plugin-camera" source="npm" />
> The app is refreshing each time that i use the code below (the code that i 
> used to use with another version and was working well, but now it is not when 
> i compile again the app on phonegap build)
> I cannot find a solution that is working (i'm on it since 3 days without any 
> solution)
> with the following code :
> navigator.camera.getPicture(onPhotoDataSuccessAndroid,onFail,
> {quality:50, 
>  destinationType: Camera.DestinationType.FILE_URI,
>  sourceType : Camera.PictureSourceType.PHOTOLIBRARY,
>  mediaType: Camera.MediaType.PICTURE  });     
> function onPhotoDataSuccessAndroid(imageURI) {
>               //I do nothing here but the app is still refreshing...
>       }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to