[jira] [Commented] (CB-13830) Cordova-Android@7.0.0 fails to add a plugin previously removed

2018-11-14 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on CB-13830:
--

Commit 578a6422098f9c1786834d6f98782142846f72cb in cordova-android's branch 
refs/heads/master from Christopher J. Brody
[ https://gitbox.apache.org/repos/asf?p=cordova-android.git;h=578a642 ]

Check target-dir mapping of plugin xml source file

Possibly related to: CB-13830: Add handlers for plugins
that use non-Java source files, such as Camera


> Cordova-Android@7.0.0 fails to add a plugin previously removed
> --
>
> Key: CB-13830
> URL: https://issues.apache.org/jira/browse/CB-13830
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: cordova-android-7.0.0
> Environment: macOS 10.12.6
> node 9.4.0
> Cordova CLI 8.0.0
>  
>Reporter: Enrico Giordani
>Assignee: Joe Bowser
>Priority: Major
>
> Removing a plugin and than adding it again, causes an error:
> {code}
> $ cordova create testapp
> $ cd testapp
> $ cordova platform add android
> Using cordova-fetch for cordova-android@~7.0.0
> Adding android project...
> Creating Cordova project for the Android platform:
>  Path: platforms/android
>  Package: io.cordova.hellocordova
>  Name: HelloCordova
>  Activity: MainActivity
>  Android target: android-26
> Subproject Path: CordovaLib
> Subproject Path: app
> Android project created with cordova-android@7.0.0
> Android Studio project detected
> Android Studio project detected
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Installing "cordova-plugin-whitelist" for android
> This plugin is only applicable for versions of cordova-android greater than 
> 4.0. If you have a previous platform version, you do *not* need this plugin 
> since the whitelist will be built in.
>  
> Adding cordova-plugin-whitelist to package.json
> Saved plugin info for "cordova-plugin-whitelist" to config.xml
> --save flag or autosave detected
> Saving android@~7.0.0 into config.xml file ...
> {code}
> {code}
> $ cordova plugin add cordova-plugin-camera
> Installing "cordova-plugin-camera" for android
> Android Studio project detected
> Subproject Path: CordovaLib
> Subproject Path: app
> Adding cordova-plugin-camera to package.json
> Saved plugin info for "cordova-plugin-camera" to config.xml
> {code}
> {code}
> $ cordova plugin remove cordova-plugin-camera
> Uninstalling cordova-plugin-camera from android
> Android Studio project detected
> Subproject Path: CordovaLib
> Subproject Path: app
> Removing "cordova-plugin-camera"
> Removing plugin cordova-plugin-camera from config.xml file...
> Removing cordova-plugin-camera from package.json
> {code}
> {code}
> $ cordova plugin add cordova-plugin-camera
> Installing "cordova-plugin-camera" for android
> Android Studio project detected
> Error during processing of action! Attempting to revert...
> Failed to install 'cordova-plugin-camera': CordovaError: Uh oh!
> "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml"
>  already exists!
>  at copyNewFile 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45)
>  at install 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17)
>  at ActionStack.process 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
>  at PluginManager.doOperation 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
>  at PluginManager.addPlugin 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
>  at /Users/enrico/tmp/testapp/platforms/android/cordova/Api.js:247:74
>  at _fulfilled 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:854:54)
>  at self.promiseDispatch.done 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:883:30)
>  at Promise.promise.promiseDispatch 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:816:13)
>  at 
> /Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/q/q.js:570:49
> (node:5722) UnhandledPromiseRejectionWarning: CordovaError: Uh oh!
> "/Users/enrico/tmp/testapp/platforms/android/app/src/main/res/xml/provider_paths.xml"
>  already exists!
>  at copyNewFile 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:261:45)
>  at install 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/lib/pluginHandlers.js:51:17)
>  at ActionStack.process 
> (/Users/enrico/tmp/testapp/platforms/android/cordova/node_modules/cordova-common/src/ActionS

[jira] [Commented] (CB-14125) Increase cordova-android old plugin compatibility

2018-11-14 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on CB-14125:
--

Commit 92f07d0418aded0751120609025ac2df06d05a32 in cordova-android's branch 
refs/heads/master from Christopher J. Brody
[ https://gitbox.apache.org/repos/asf?p=cordova-android.git;h=92f07d0 ]

Check old compat of other extension (CB-14125)

of plugin source file installed into app/src/main with
old target-dir scheme

NOTE: These tests do *not* check compatibility of
plugins with old lib target-dir scheme.


> Increase cordova-android old plugin compatibility
> -
>
> Key: CB-14125
> URL: https://issues.apache.org/jira/browse/CB-14125
> Project: Apache Cordova
>  Issue Type: Improvement
>Reporter: jcesarmobile
>Assignee: jcesarmobile
>Priority: Major
>
> With the structure change of cordova-android 7.1.0, a lot of plugins don't 
> work because they user source-file tag for images or other file types.
> Right now, we only patch to the new path structure .java and .xml files. 
> Add 'app/src/main' to all file types, no mater what type they have.



--
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-9366) Log error.stack when a call to a plugin throws an exception

2018-11-14 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on CB-9366:
-

Commit 5c334b6c105b5f4df2130f998e8f4dc3f7b32bfb in cordova-android's branch 
refs/heads/master from Christopher J. Brody
[ https://gitbox.apache.org/repos/asf?p=cordova-android.git;h=5c334b6 ]

CB-9366 cordova.js log error.stack (cordova-js@4.2.4)

(Update cordova.js from cordova-js@4.2.4, using coho copy-js)


> Log error.stack when a call to a plugin throws an exception
> ---
>
> Key: CB-9366
> URL: https://issues.apache.org/jira/browse/CB-9366
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-js
>Affects Versions: Master
>Reporter: Nikhil Khandelwal
>Assignee: Chris Brody
>Priority: Minor
> Fix For: 4.2.4
>
>
> This can help in isolating the cause of the error.



--
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-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-11-14 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13683:
-

ffMathy edited a comment on issue #100: CB-13683: (android) 
cordova-plugin-media-capture rotates pictures with some devices
URL: 
https://github.com/apache/cordova-plugin-media-capture/pull/100#issuecomment-438601158
 
 
   Do you have a list of committers somewhere that would elligible for that 
description?
   
   My concern is that there won't ever be random Cordova committers that will 
come by and review this. Only new people that won't fit that description.
   
   This is a critical bug. It's unusable on Android devices. The fix works. It 
has been tested by the author and myself on real devices. The approach we are 
using right now doesn't seem very pragmatic to be honest.
   
   I get that we shouldn't try to rush things in, but this could take years!


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-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
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-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-11-14 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13683:
-

ffMathy edited a comment on issue #100: CB-13683: (android) 
cordova-plugin-media-capture rotates pictures with some devices
URL: 
https://github.com/apache/cordova-plugin-media-capture/pull/100#issuecomment-438601158
 
 
   Do you have a list of committers somewhere that would elligible for that 
description?
   
   My concern is that there won't ever be random Cordova committers that will 
come by and review this. Only new people that won't fit that description.
   
   This is a critical bug. It's unusable on Android devices. It works. It has 
been tested by the author and myself on real devices. The approach we are using 
right now doesn't seem very pragmatic to be honest.
   
   I get that we shouldn't try to rush things in, but this could take years!


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-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
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-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-11-14 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13683:
-

ffMathy commented on issue #100: CB-13683: (android) 
cordova-plugin-media-capture rotates pictures with some devices
URL: 
https://github.com/apache/cordova-plugin-media-capture/pull/100#issuecomment-438623193
 
 
   @jcesarmobile you (relatively) recently pushed an orientation fix for iOS. 
This issue is regarding Android which has the same problem. If you have Android 
experience also, can you help out by reviewing it? 
   
   I suppose you have interest in getting this bugfix out too, if you are 
targeting Android devices.


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-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
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-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-11-14 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13683:
-

janpio commented on issue #100: CB-13683: (android) 
cordova-plugin-media-capture rotates pictures with some devices
URL: 
https://github.com/apache/cordova-plugin-media-capture/pull/100#issuecomment-438600912
 
 
   Short: No.
   Long: Materialize a Cordova committer with enough Android knowledge and time 
to review this.


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-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
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-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-11-14 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CB-13683:
-

ffMathy commented on issue #100: CB-13683: (android) 
cordova-plugin-media-capture rotates pictures with some devices
URL: 
https://github.com/apache/cordova-plugin-media-capture/pull/100#issuecomment-438601158
 
 
   Do you have a list of committers somewhere that would elligible for that 
description?


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-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
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