[jira] [Commented] (CB-11445) Cordova-iOS Platform Release June 15, 2016

2016-06-16 Thread ASF subversion and git services (JIRA)

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

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

Commit 0f34d79a60883a4774e74d6f14481a997a5c9bad in cordova-ios's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=0f34d79 ]

CB-11445 updated version in CDVAvailability.h


> Cordova-iOS Platform Release June 15, 2016
> --
>
> Key: CB-11445
> URL: https://issues.apache.org/jira/browse/CB-11445
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11445) Cordova-iOS Platform Release June 15, 2016

2016-06-16 Thread ASF subversion and git services (JIRA)

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

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

Commit d9a4c10c5c2df48987d9136ecf5c780044204a8a in cordova-ios's branch 
refs/heads/4.2.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=d9a4c10 ]

CB-11445 updated version in CDVAvailability.h


> Cordova-iOS Platform Release June 15, 2016
> --
>
> Key: CB-11445
> URL: https://issues.apache.org/jira/browse/CB-11445
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11445) Cordova-iOS Platform Release June 15, 2016

2016-06-16 Thread ASF subversion and git services (JIRA)

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

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

Commit 69a2911eb71625c43be8eed09532220186173bb0 in cordova-ios's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=69a2911 ]

CB-11445 updated .ratignore


> Cordova-iOS Platform Release June 15, 2016
> --
>
> Key: CB-11445
> URL: https://issues.apache.org/jira/browse/CB-11445
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11445) Cordova-iOS Platform Release June 15, 2016

2016-06-16 Thread ASF subversion and git services (JIRA)

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

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

Commit 413417633855994ae1b5ffc529b87a4b32580504 in cordova-ios's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=4134176 ]

CB-11445 Updated RELEASENOTES and Version for release 4.2.0


> Cordova-iOS Platform Release June 15, 2016
> --
>
> Key: CB-11445
> URL: https://issues.apache.org/jira/browse/CB-11445
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11449) Phonegap issue with an iframe

2016-06-16 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-11449:
--

This appears to be a repeat of CB-8049

> Phonegap issue with an iframe
> -
>
> Key: CB-11449
> URL: https://issues.apache.org/jira/browse/CB-11449
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
> Environment: iOS 9.3.2
>Reporter: Frank Barletta
>Assignee: Shazron Abdullah
>  Labels: cordova-6.0.0, iframe, ios
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> [~shazron]
> iOS 9.3.2
> Phonegap Build 6.1
> We're loading an iFrame from another vendor into our iOS app. The form loads 
> perfectly fine. We tap on the form field and it does not allow any inputs. 
> This occurs on multiple iPhones.
> We've made changes to the CSS for 
> -webkit-user-select: none;
> now everything is
> input { -webkit-user-select: text; }
> We've disabled faskclick.js and made the changes suggested, still the same 
> thing.
> Not sure what could be causing the problem. Any guidance would be appreciated.
> Here is the HTML we've put into a simple phonegap application that replicates 
> the issue.
> 
> 
> 
> 
> Input Bug Test
>  
>  
> 
> 
> 
>  
> src="https://checkout.paystand.co/v3/js/paystand.checkout.js";>
> 
>   PayStandCheckout.init({
> "publishableKey": "gfjgsz3t4vbqklihsp9eev4c",
> "checkoutDomain": "https://checkout.paystand.co/v3/";,
> "domain": "https://api.paystand.co";,
> "payment": {
>   "amount": "5000.20",
>   "currency": "USD"
> },
> "currency": "USD",
> "paymentMethods": [
>   'echeck',
>   'card'
> ],
> "billing": {
>   "street": "41 Grandview St",
>   "city": "Santa Cruz",
>   "postalCode": "95060",
>   "subdivisionCode": "CA",
>   "countryCode": "USA"
> },
> "payer": {
>   "name": "Christina Chan",
>   "email": "demo+cc...@paystand.com"
> },
> "meta": {}
>   });
> 
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11449) Phonegap issue with an iframe

2016-06-16 Thread Frank Barletta (JIRA)

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

Frank Barletta commented on CB-11449:
-

we downgrade to cordova 3.7.0 and use "cordova-plugin-wkwebview", it works as 
intended.

> Phonegap issue with an iframe
> -
>
> Key: CB-11449
> URL: https://issues.apache.org/jira/browse/CB-11449
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
> Environment: iOS 9.3.2
>Reporter: Frank Barletta
>Assignee: Shazron Abdullah
>  Labels: cordova-6.0.0, iframe, ios
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> [~shazron]
> iOS 9.3.2
> Phonegap Build 6.1
> We're loading an iFrame from another vendor into our iOS app. The form loads 
> perfectly fine. We tap on the form field and it does not allow any inputs. 
> This occurs on multiple iPhones.
> We've made changes to the CSS for 
> -webkit-user-select: none;
> now everything is
> input { -webkit-user-select: text; }
> We've disabled faskclick.js and made the changes suggested, still the same 
> thing.
> Not sure what could be causing the problem. Any guidance would be appreciated.
> Here is the HTML we've put into a simple phonegap application that replicates 
> the issue.
> 
> 
> 
> 
> Input Bug Test
>  
>  
> 
> 
> 
>  
> src="https://checkout.paystand.co/v3/js/paystand.checkout.js";>
> 
>   PayStandCheckout.init({
> "publishableKey": "gfjgsz3t4vbqklihsp9eev4c",
> "checkoutDomain": "https://checkout.paystand.co/v3/";,
> "domain": "https://api.paystand.co";,
> "payment": {
>   "amount": "5000.20",
>   "currency": "USD"
> },
> "currency": "USD",
> "paymentMethods": [
>   'echeck',
>   'card'
> ],
> "billing": {
>   "street": "41 Grandview St",
>   "city": "Santa Cruz",
>   "postalCode": "95060",
>   "subdivisionCode": "CA",
>   "countryCode": "USA"
> },
> "payer": {
>   "name": "Christina Chan",
>   "email": "demo+cc...@paystand.com"
> },
> "meta": {}
>   });
> 
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11449) Phonegap issue with an iframe

2016-06-16 Thread Frank Barletta (JIRA)

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

Frank Barletta commented on CB-11449:
-

With all JS/CSS disabled, the issue still occurs. However, when I hold delete 
and keep deleting an empty field, I am able to then type this in a field

However, when I hold down the delete key and delete any contents in a form 
field for a few seconds, when I stop I am able to then type this in that form 
field.

> Phonegap issue with an iframe
> -
>
> Key: CB-11449
> URL: https://issues.apache.org/jira/browse/CB-11449
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin InAppBrowser
> Environment: iOS 9.3.2
>Reporter: Frank Barletta
>Assignee: Shazron Abdullah
>  Labels: cordova-6.0.0, iframe, ios
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> [~shazron]
> iOS 9.3.2
> Phonegap Build 6.1
> We're loading an iFrame from another vendor into our iOS app. The form loads 
> perfectly fine. We tap on the form field and it does not allow any inputs. 
> This occurs on multiple iPhones.
> We've made changes to the CSS for 
> -webkit-user-select: none;
> now everything is
> input { -webkit-user-select: text; }
> We've disabled faskclick.js and made the changes suggested, still the same 
> thing.
> Not sure what could be causing the problem. Any guidance would be appreciated.
> Here is the HTML we've put into a simple phonegap application that replicates 
> the issue.
> 
> 
> 
> 
> Input Bug Test
>  
>  
> 
> 
> 
>  
> src="https://checkout.paystand.co/v3/js/paystand.checkout.js";>
> 
>   PayStandCheckout.init({
> "publishableKey": "gfjgsz3t4vbqklihsp9eev4c",
> "checkoutDomain": "https://checkout.paystand.co/v3/";,
> "domain": "https://api.paystand.co";,
> "payment": {
>   "amount": "5000.20",
>   "currency": "USD"
> },
> "currency": "USD",
> "paymentMethods": [
>   'echeck',
>   'card'
> ],
> "billing": {
>   "street": "41 Grandview St",
>   "city": "Santa Cruz",
>   "postalCode": "95060",
>   "subdivisionCode": "CA",
>   "countryCode": "USA"
> },
> "payer": {
>   "name": "Christina Chan",
>   "email": "demo+cc...@paystand.com"
> },
> "meta": {}
>   });
> 
>  
> 
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11023) plugin.xml should be able to add attribute to an existing element in AndroidManifest.xml

2016-06-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11023:
-

Github user ktop commented on the issue:

https://github.com/apache/cordova-lib/pull/449
  
Cool, let me rebase


> plugin.xml should be able to add attribute to an existing element in 
> AndroidManifest.xml
> 
>
> Key: CB-11023
> URL: https://issues.apache.org/jira/browse/CB-11023
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Plugman
>Reporter: Carlos Santana
>
> We have a need for a plugin we develop to add the attribute android:name to 
> the  element to be able to point to a Class that tracks app 
> sessions for analytics.
> plugin.xml only support via  only to add elements to 
> AndroidManfist.xml this request is to add an enhancement to also handle 
> adding an attribute to an existing element.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Created] (CB-11449) Phonegap issue with an iframe

2016-06-16 Thread Frank Barletta (JIRA)
Frank Barletta created CB-11449:
---

 Summary: Phonegap issue with an iframe
 Key: CB-11449
 URL: https://issues.apache.org/jira/browse/CB-11449
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin InAppBrowser
 Environment: iOS 9.3.2
Reporter: Frank Barletta
Assignee: Shazron Abdullah


[~shazron]

iOS 9.3.2
Phonegap Build 6.1

We're loading an iFrame from another vendor into our iOS app. The form loads 
perfectly fine. We tap on the form field and it does not allow any inputs. This 
occurs on multiple iPhones.

We've made changes to the CSS for 
-webkit-user-select: none;

now everything is

input { -webkit-user-select: text; }

We've disabled faskclick.js and made the changes suggested, still the same 
thing.

Not sure what could be causing the problem. Any guidance would be appreciated.


Here is the HTML we've put into a simple phonegap application that replicates 
the issue.






Input Bug Test
 
 



https://checkout.paystand.co/v3/js/paystand.checkout.js";>

  PayStandCheckout.init({
"publishableKey": "gfjgsz3t4vbqklihsp9eev4c",
"checkoutDomain": "https://checkout.paystand.co/v3/";,
"domain": "https://api.paystand.co";,
"payment": {
  "amount": "5000.20",
  "currency": "USD"
},
"currency": "USD",
"paymentMethods": [
  'echeck',
  'card'
],
"billing": {
  "street": "41 Grandview St",
  "city": "Santa Cruz",
  "postalCode": "95060",
  "subdivisionCode": "CA",
  "countryCode": "USA"
},
"payer": {
  "name": "Christina Chan",
  "email": "demo+cc...@paystand.com"
},
"meta": {}
  });

 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (CB-11448) Execution failed for task ':mergeDebugResources' - Error: Duplicate resources - Conflict between screen.png and screen.9.png

2016-06-16 Thread Antoine Censi (JIRA)

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

Antoine Censi updated CB-11448:
---
Description: 
*Steps to reproduce*
```
rm -rf platforms/android
cordova platform add android
cordova build android
```
with `config.xml`
```























```
*Output*
```
Execution failed for task ':mergeDebugResources'.
> [drawable-land-xhdpi-v4/screen] 
> /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> [drawable-land-xhdpi-v4/screen] 
> /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.png:
>  Error: Duplicate resources
...
```

*Documentation*
http://stackoverflow.com/questions/27547287/android-error-duplicate-resources
http://stackoverflow.com/questions/27948603/phonegap-generating-both-screen-png-and-screen-9-png-for-splash-screens
 (unanswered...)
Possible hint 
https://github.com/apache/cordova-android/blob/3a1b4ffcb8857d5bf70dab3b507f0daba3f9130a/bin/templates/cordova/lib/prepare.js#L267

*Current solution - (not using 9patch screen though - Fail)*
```
















```

  was:
# Steps to reproduce
```
rm -rf platforms/android
cordova platform add android
cordova build android
```
with `config.xml`
```























```
# Output
```
Execution failed for task ':mergeDebugResources'.
> [drawable-land-xhdpi-v4/screen] 
> /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> [drawable-land-xhdpi-v4/screen] 
> /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.png:
>  Error: Duplicate resources
...
```

# Documentation
http://stackoverflow.com/questions/27547287/android-error-duplicate-resources
http://stackoverflow.com/questions/27948603/phonegap-generating-both-screen-png-and-screen-9-png-for-splash-screens
 (unanswered...)
Possible hint 
https://github.com/apache/cordova-android/blob/3a1b4ffcb8857d5bf70dab3b507f0daba3f9130a/bin/templates/cordova/lib/prepare.js#L267

# Current solution - (not using 9patch screen though - Fail)
```
















```


> Execution failed for task ':mergeDebugResources' - Error: Duplicate resources 
> - Conflict between screen.png and screen.9.png
> 
>
> Key: CB-11448
> URL: https://issues.apache.org/jira/browse/CB-11448
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.2.0
> Environment: Mac OS 10.11.5
>Reporter: Antoine Censi
>Priority: Blocker
>  Labels: build
>
> *Steps to reproduce*
> ```
> rm -rf platforms/android
> cordova platform add android
> cordova build android
> ```
> with `config.xml`
> ```
> 
>  src="assets/splash/android/android-ldpi.9.png"/>
>  src="assets/splash/android/android-mdpi.9.png"/>
>  src="assets/splash/android/android-hdpi.9.png"/>
>  src="assets/splash/android/android-xhdpi.9.png"/>
>  src="assets/splash/android/android-xxhdpi.9.png"/>
>  src="assets/splash/android/android-xxxhdpi.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-portrait.9.png"/>
>  src="assets/splash/android/android-mdpi-portrait.9.png"/>
>  src="assets/splash/android/android-hdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxhdpi-portrait.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-portrait.9.png"/>
> 
>  src="assets/splash/android/android-ldpi-landscape.9.png"/>
>  src="assets/splash/android/android-mdpi-landscape.9.png"/>
>  src="assets/splash/android/android-hdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxhdpi-landscape.9.png"/>
>  src="assets/splash/android/android-xxxhdpi-landscape.9.png"/>
> ```
> *Output*
> ```
> Execution failed for task ':mergeDebugResources'.
> > [drawable-land-xhdpi-v4/screen] 
> > /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> > [drawable-land-xhdpi-

[jira] [Created] (CB-11448) Execution failed for task ':mergeDebugResources' - Error: Duplicate resources - Conflict between screen.png and screen.9.png

2016-06-16 Thread Antoine Censi (JIRA)
Antoine Censi created CB-11448:
--

 Summary: Execution failed for task ':mergeDebugResources' - Error: 
Duplicate resources - Conflict between screen.png and screen.9.png
 Key: CB-11448
 URL: https://issues.apache.org/jira/browse/CB-11448
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 6.2.0
 Environment: Mac OS 10.11.5

Reporter: Antoine Censi
Priority: Blocker


# Steps to reproduce
```
rm -rf platforms/android
cordova platform add android
cordova build android
```
with `config.xml`
```























```
# Output
```
Execution failed for task ':mergeDebugResources'.
> [drawable-land-xhdpi-v4/screen] 
> /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.9.png
> [drawable-land-xhdpi-v4/screen] 
> /Users/antoine/Sites/attendease-cordova/platforms/android/res/drawable-land-xhdpi/screen.png:
>  Error: Duplicate resources
...
```

# Documentation
http://stackoverflow.com/questions/27547287/android-error-duplicate-resources
http://stackoverflow.com/questions/27948603/phonegap-generating-both-screen-png-and-screen-9-png-for-splash-screens
 (unanswered...)
Possible hint 
https://github.com/apache/cordova-android/blob/3a1b4ffcb8857d5bf70dab3b507f0daba3f9130a/bin/templates/cordova/lib/prepare.js#L267

# Current solution - (not using 9patch screen though - Fail)
```
















```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11023) plugin.xml should be able to add attribute to an existing element in AndroidManifest.xml

2016-06-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11023:
-

Github user macdonst commented on the issue:

https://github.com/apache/cordova-lib/pull/449
  
LGTM! Sorry for taking so long. My workspace is in a bad way and I think I 
need to kill it with fire and setup the whole thing from scratch.

Once this gets into a release I have about 4 plugins I will modify to use 
this approach.


> plugin.xml should be able to add attribute to an existing element in 
> AndroidManifest.xml
> 
>
> Key: CB-11023
> URL: https://issues.apache.org/jira/browse/CB-11023
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Plugman
>Reporter: Carlos Santana
>
> We have a need for a plugin we develop to add the attribute android:name to 
> the  element to be able to point to a Class that tracks app 
> sessions for analytics.
> plugin.xml only support via  only to add elements to 
> AndroidManfist.xml this request is to add an enhancement to also handle 
> adding an attribute to an existing element.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Created] (CB-11447) [Camera Andrpod] Wrong file encoding when taking a picture with the following paramedters sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit:

2016-06-16 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-11447:
--

 Summary: [Camera Andrpod] Wrong file encoding when taking a 
picture with the following paramedters sourceType: PHOTOLIBRARY, 
destinationType: FILE_URI, encodingType: PNG, allowEdit: true, 
correctOrientation: false
 Key: CB-11447
 URL: https://issues.apache.org/jira/browse/CB-11447
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Camera
Reporter: Alexander Sorokin
Assignee: Alexander Sorokin


This is found by Appium tests:
https://ci.apache.org/builders/cordova-android-osx/builds/2832/steps/running-appium-tests/logs/stdio

{noformat}
1) 
Camera tests Android. Specs. camera.ui.spec.11.30 Combining options. 
sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, 
allowEdit: true, correctOrientation: false
  Message:
Failed: ERROR: File type mismatch. Expected PNG, got JPEG
  Stack:
Error: Failed: ERROR: File type mismatch. Expected PNG, got JPEG
at stack 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1577:17)
at buildExpectationResult 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1547:14)
at Spec.Env.expectationResultFactory 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:638:18)
at Spec.addExpectationResult 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:330:34)
at Env.fail 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:987:25)
at jasmineInterface.fail 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3423:23)
at 
/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/plugins/cordova-plugin-camera/appium-tests/android/android.spec.js:190:25
at _fulfilled 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:834:54)
at self.promiseDispatch.done 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:796:13)
2) 
Camera tests Android. Specs. camera.ui.spec.11.32 Combining options. 
sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, 
allowEdit: false, correctOrientation: false
  Message:
Failed: ERROR: File type mismatch. Expected PNG, got JPEG
  Stack:
Error: Failed: ERROR: File type mismatch. Expected PNG, got JPEG
at stack 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1577:17)
at buildExpectationResult 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1547:14)
at Spec.Env.expectationResultFactory 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:638:18)
at Spec.addExpectationResult 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:330:34)
at Env.fail 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:987:25)
at jasmineInterface.fail 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3423:23)
at 
/Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/plugins/cordova-plugin-camera/appium-tests/android/android.spec.js:190:25
at _fulfilled 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:834:54)
at self.promiseDispatch.done 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch 
(/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:796:13)
3) 
Camera tests Android. Specs. camera.ui.spec.11.46 Combining options. 
sourceType: PHOTOLIBRARY, destinationType: NATIVE_URI, encodingType: PNG, 
allowEdit: true, correctOrientation: false
  Message:
Failed: ERROR: File type mismatch. Expected PNG, got JPEG

[jira] [Commented] (CB-11089) splash hide not always works on ios

2016-06-16 Thread Philipp Kursawe (JIRA)

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

Philipp Kursawe commented on CB-11089:
--

you are correct:
https://github.com/apache/cordova-plugin-splashscreen/blob/master/src/ios/CDVSplashScreen.m#L406

> splash hide not always works on ios
> ---
>
> Key: CB-11089
> URL: https://issues.apache.org/jira/browse/CB-11089
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iphone 6
>Reporter: wzhsh90
>  Labels: triaged, wfc
>
> splash version:3.2.2-dev
> setp 1、I set AutoHideSplashScreen=false,FadeSplashScreen=false
> I kill the application multi times, sometimes the splash will hide correctly, 
> but somethimes the splash can not hide ,it always show or white screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-10868) iOS only - Can't open youtube links in _system when youtube app is installed

2016-06-16 Thread Michel Reij (JIRA)

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

Michel Reij commented on CB-10868:
--

I did find a workaround to ease the pain a little: use a url shortener like 
bitly or tinyurl to refer to the YouTube url. Doing that will present you with 
a message box asking whether you want to open the link in YouTube (which refers 
to the app, not the website). If you click the 'Open' button the app is opened 
and the correct content shown. If you click 'Cancel', Safari is opened and a 
white page is visible. Not exactly ideal, but better than no link at all.

Unfortunately, YouTube's own shortened url's -- https://youtu.be/ -- do 
not work. :-(

> iOS only - Can't open youtube links in _system when youtube app is installed
> 
>
> Key: CB-10868
> URL: https://issues.apache.org/jira/browse/CB-10868
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 6.0.0
>Reporter: Brian Mooy
>  Labels: triaged
>
> I created a blank app, with the system browser plugin and attempted to open a 
> link to youtube with the following javascript:
> window.open ('https://youtu.be/7E0fVfectDo', '_system')
> This works fine if the youtube app is not installed, but once the youtube app 
> is installed, literally nothing happens. This appears to be a problem 
> introduced with the new youtube 17.0 version that was released March 1st. 
> There's no javascript errors in the console. No errors in Xcode's debugger 
> output. Other links work fine. IE: window.open ('http://google.com', 
> '_system') ; The key to it is the youtube app being installed on the phone. 
> Removing the youtube app then opens the link into the browser. The prompt 
> ("open this link in youtube") is not appearing, and as such is causing the 
> issue. 
> I am running cordova V 6.0.0, cordova-plugin-inappbrowser 1.2.1 and 
> cordova-plugin-whitelist 1.2.1
> Cordova browser is on 4.1.0, iOS is on 4.0.1
> It may also be worth noting that it works fine on android - the problem only 
> exists on iOS. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Created] (CB-11446) Android: app crashes after taking a photo

2016-06-16 Thread Victor Ros (JIRA)
Victor Ros created CB-11446:
---

 Summary: Android: app crashes after taking a photo
 Key: CB-11446
 URL: https://issues.apache.org/jira/browse/CB-11446
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin Camera
Affects Versions: 5.4.1
 Environment: +*Smartphone:*+ Samsung Galaxy S5 Active
+*Model:*+ SM-G870F
+*Android version:*+ 5.0
Reporter: Victor Ros


I develop with a framework using cordova for an hybrid application.
I only produce the Android version for testing the application.

I'm using *cordova-plugin-camera* to take a picture in my application.
I use getPicture method to do that.

I always encounter this bug by following these steps :
* Take a photo
* Tap the "Retry" button
* Take another photo
* Then validate the photo by tapping the "Ok" button OR by cancelling with the 
back button
* ==> App stopped

I try to debug with Android Studio but even with breakpoints I don't succeed.

Bellow, the stack from the Java Error when validating the photo:
{code}
E/AndroidRuntime: FATAL EXCEPTION: main
Process: my.application.appXXX.bip.mobileClient, PID: 16960
java.lang.RuntimeException: Unable to resume activity 
{my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
 java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, 
request=34, result=-1, data=null} to activity 
{my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
 java.lang.NullPointerException: Attempt to invoke virtual method 
'java.lang.String android.net.Uri.toString()' on a null object reference
at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:3349)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5835)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
 Caused by: java.lang.RuntimeException: Failure delivering result 
ResultInfo{who=null, request=34, result=-1, data=null} to activity 
{my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
 java.lang.NullPointerException: Attempt to invoke virtual method 
'java.lang.String android.net.Uri.toString()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
at 
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
at android.app.ActivityThread.access$900(ActivityThread.java:172) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:145) 
at android.app.ActivityThread.main(ActivityThread.java:5835) 
at java.lang.reflect.Method.invoke(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:372) 
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 
 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 
'java.lang.String android.net.Uri.toString()' on a null object reference
at 
org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:452)
at 
org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:787)
at 
org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
at 
org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)
at android.app.Activity.dispatchActivityResult(Activity.java:6475)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335) 
at 
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
at android.app.ActivityThread.access$900(ActivityThread.java:172) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Loo

[jira] [Updated] (CB-11446) Android: app crashes after taking a photo

2016-06-16 Thread Victor Ros (JIRA)

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

Victor Ros updated CB-11446:

Description: 
I develop with a framework using cordova for an hybrid application.
I only produce the Android version for testing the application.

I'm using *cordova-plugin-camera 2.2.0* to take a picture in my application.
I use getPicture method to do that.

I always encounter this bug by following these steps :
* Take a photo
* Tap the "Retry" button
* Take another photo
* Then validate the photo by tapping the "Ok" button OR by cancelling with the 
back button
* ==> App stopped

I try to debug with Android Studio but even with breakpoints I don't succeed.

Bellow, the stack from the Java Error when validating the photo:
{code}
E/AndroidRuntime: FATAL EXCEPTION: main
Process: my.application.appXXX.bip.mobileClient, PID: 16960
java.lang.RuntimeException: Unable to resume activity 
{my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
 java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, 
request=34, result=-1, data=null} to activity 
{my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
 java.lang.NullPointerException: Attempt to invoke virtual method 
'java.lang.String android.net.Uri.toString()' on a null object reference
at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:3349)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5835)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
 Caused by: java.lang.RuntimeException: Failure delivering result 
ResultInfo{who=null, request=34, result=-1, data=null} to activity 
{my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
 java.lang.NullPointerException: Attempt to invoke virtual method 
'java.lang.String android.net.Uri.toString()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
at 
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
at android.app.ActivityThread.access$900(ActivityThread.java:172) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:145) 
at android.app.ActivityThread.main(ActivityThread.java:5835) 
at java.lang.reflect.Method.invoke(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:372) 
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 
 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 
'java.lang.String android.net.Uri.toString()' on a null object reference
at 
org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:452)
at 
org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:787)
at 
org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
at 
org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)
at android.app.Activity.dispatchActivityResult(Activity.java:6475)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335) 
at 
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
at android.app.ActivityThread.access$900(ActivityThread.java:172) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:145) 
at android.app.ActivityThread.main(ActivityThread.java:5835) 
at java.lang.reflect.Method.invoke(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:372) 
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
 
 

[jira] [Updated] (CB-11446) Android: app crashes after taking a photo

2016-06-16 Thread Victor Ros (JIRA)

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

Victor Ros updated CB-11446:

Remaining Estimate: (was: 168h)
 Original Estimate: (was: 168h)

> Android: app crashes after taking a photo
> -
>
> Key: CB-11446
> URL: https://issues.apache.org/jira/browse/CB-11446
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin Camera
>Affects Versions: 5.4.1
> Environment: +*Smartphone:*+ Samsung Galaxy S5 Active
> +*Model:*+ SM-G870F
> +*Android version:*+ 5.0
>Reporter: Victor Ros
>
> I develop with a framework using cordova for an hybrid application.
> I only produce the Android version for testing the application.
> I'm using *cordova-plugin-camera* to take a picture in my application.
> I use getPicture method to do that.
> I always encounter this bug by following these steps :
> * Take a photo
> * Tap the "Retry" button
> * Take another photo
> * Then validate the photo by tapping the "Ok" button OR by cancelling with 
> the back button
> * ==> App stopped
> I try to debug with Android Studio but even with breakpoints I don't succeed.
> Bellow, the stack from the Java Error when validating the photo:
> {code}
> E/AndroidRuntime: FATAL EXCEPTION: main
> Process: my.application.appXXX.bip.mobileClient, PID: 16960
> java.lang.RuntimeException: Unable to resume activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, 
> request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3349)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
> at android.app.ActivityThread.access$900(ActivityThread.java:172)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
> at android.os.Handler.dispatchMessage(Handler.java:102)
> at android.os.Looper.loop(Looper.java:145)
> at android.app.ActivityThread.main(ActivityThread.java:5835)
> at java.lang.reflect.Method.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:372)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
>  Caused by: java.lang.RuntimeException: Failure delivering result 
> ResultInfo{who=null, request=34, result=-1, data=null} to activity 
> {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}:
>  java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
> at 
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380) 
> at 
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731) 
> at android.app.ActivityThread.access$900(ActivityThread.java:172) 
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) 
> at android.os.Handler.dispatchMessage(Handler.java:102) 
> at android.os.Looper.loop(Looper.java:145) 
> at android.app.ActivityThread.main(ActivityThread.java:5835) 
> at java.lang.reflect.Method.invoke(Native Method) 
> at java.lang.reflect.Method.invoke(Method.java:372) 
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
>  
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183) 
>  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 
> 'java.lang.String android.net.Uri.toString()' on a null object reference
> at 
> org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:452)
> at 
> org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:787)
> at 
> org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
> at 
> org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)
> at android.app.Activity.dispatchActivityResult(Activity.java:6475)
> at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
> at 
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335) 
>

[jira] [Commented] (CB-11089) splash hide not always works on ios

2016-06-16 Thread Sergey Shakhnazarov (JIRA)

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

Sergey Shakhnazarov commented on CB-11089:
--

{{AutoHideSplashScreen=false}} sets {{splashDuration}} to 0 so it should hide 
on {{navigator.splashscreen.hide()}} call.

> splash hide not always works on ios
> ---
>
> Key: CB-11089
> URL: https://issues.apache.org/jira/browse/CB-11089
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iphone 6
>Reporter: wzhsh90
>  Labels: triaged, wfc
>
> splash version:3.2.2-dev
> setp 1、I set AutoHideSplashScreen=false,FadeSplashScreen=false
> I kill the application multi times, sometimes the splash will hide correctly, 
> but somethimes the splash can not hide ,it always show or white screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11089) splash hide not always works on ios

2016-06-16 Thread Philipp Kursawe (JIRA)

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

Philipp Kursawe commented on CB-11089:
--

I refer to this code 
https://github.com/apache/cordova-plugin-splashscreen/blob/master/src/ios/CDVSplashScreen.m#L435

It seems wrong. You should always be able to close the splashscreen regardless 
of the delay.



> splash hide not always works on ios
> ---
>
> Key: CB-11089
> URL: https://issues.apache.org/jira/browse/CB-11089
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iphone 6
>Reporter: wzhsh90
>  Labels: triaged, wfc
>
> splash version:3.2.2-dev
> setp 1、I set AutoHideSplashScreen=false,FadeSplashScreen=false
> I kill the application multi times, sometimes the splash will hide correctly, 
> but somethimes the splash can not hide ,it always show or white screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-10868) iOS only - Can't open youtube links in _system when youtube app is installed

2016-06-16 Thread Michel Reij (JIRA)

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

Michel Reij commented on CB-10868:
--

Same issue here: not able to open a YouTube link when the YouTube app is 
installed, but after removing the YouTube app, the YouTube website is opened 
correctly in the Safari browser.

iOS 9.3.2
Cordova 6.1.1
cordova-plugin-inappbrowser 1.3.0
cordova-plugin-whitelist 1.2.1

> iOS only - Can't open youtube links in _system when youtube app is installed
> 
>
> Key: CB-10868
> URL: https://issues.apache.org/jira/browse/CB-10868
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 6.0.0
>Reporter: Brian Mooy
>  Labels: triaged
>
> I created a blank app, with the system browser plugin and attempted to open a 
> link to youtube with the following javascript:
> window.open ('https://youtu.be/7E0fVfectDo', '_system')
> This works fine if the youtube app is not installed, but once the youtube app 
> is installed, literally nothing happens. This appears to be a problem 
> introduced with the new youtube 17.0 version that was released March 1st. 
> There's no javascript errors in the console. No errors in Xcode's debugger 
> output. Other links work fine. IE: window.open ('http://google.com', 
> '_system') ; The key to it is the youtube app being installed on the phone. 
> Removing the youtube app then opens the link into the browser. The prompt 
> ("open this link in youtube") is not appearing, and as such is causing the 
> issue. 
> I am running cordova V 6.0.0, cordova-plugin-inappbrowser 1.2.1 and 
> cordova-plugin-whitelist 1.2.1
> Cordova browser is on 4.1.0, iOS is on 4.0.1
> It may also be worth noting that it works fine on android - the problem only 
> exists on iOS. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-16 Thread zhuisui (JIRA)

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

zhuisui commented on CB-11326:
--

I ensure. And I found that it is not the whitelist plugin controls that, it
is above mentioned.


-- 

追随


> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:148)
>  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> {code}
> Then, app cannot accept any command and doesn't response.


[jira] [Resolved] (CB-11443) Splashscreen is created the second time on resume on Windows

2016-06-16 Thread Sergey Shakhnazarov (JIRA)

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

Sergey Shakhnazarov resolved CB-11443.
--
Resolution: Fixed

> Splashscreen is created the second time on resume on Windows
> 
>
> Key: CB-11443
> URL: https://issues.apache.org/jira/browse/CB-11443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>
> 1. Suspend the app,
> 2. Open the app from tile,
> 3. Crash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11443) Splashscreen is created the second time on resume on Windows

2016-06-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11443:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-windows/pull/178


> Splashscreen is created the second time on resume on Windows
> 
>
> Key: CB-11443
> URL: https://issues.apache.org/jira/browse/CB-11443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>
> 1. Suspend the app,
> 2. Open the app from tile,
> 3. Crash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11443) Splashscreen is created the second time on resume on Windows

2016-06-16 Thread ASF subversion and git services (JIRA)

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

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

Commit 04a0099ddc10ce4e92baa7718ecd7ac8b0ee457d in cordova-windows's branch 
refs/heads/master from [~daserge]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=04a0099 ]

CB-11443 Splashscreen is created the second time on resume on Windows
Only read the config and show the splashscreen when necessary.


> Splashscreen is created the second time on resume on Windows
> 
>
> Key: CB-11443
> URL: https://issues.apache.org/jira/browse/CB-11443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>
> 1. Suspend the app,
> 2. Open the app from tile,
> 3. Crash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-10732) WKWebView incompatible with SQLite

2016-06-16 Thread Rory Aherne (JIRA)

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

Rory Aherne commented on CB-10732:
--

Looks like it's getting a fix... 
https://twitter.com/andersca/status/743259582252879872

> WKWebView incompatible with SQLite
> --
>
> Key: CB-10732
> URL: https://issues.apache.org/jira/browse/CB-10732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
> Environment: .iOS
>Reporter: Dean Le
>  Labels: triaged, wfc, wkwebview-1.0.2, wkwebview-known-issues
>
> UIWebView is working great, however, WKWebview couldn't open SQLite db



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-10142) WebSQL (window.openDatabase) will not work in WKWebViewEngine

2016-06-16 Thread Rory Aherne (JIRA)

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

Rory Aherne commented on CB-10142:
--

https://bugs.webkit.org/show_bug.cgi?id=156928 says a patch has been comitted 
and is awaiting QA since April.

The same guy (an Apple employee) has just tweeted that WebSql will work with 
wkwebview on iOS10

https://twitter.com/andersca/status/743259582252879872



> WebSQL (window.openDatabase) will not work in WKWebViewEngine
> -
>
> Key: CB-10142
> URL: https://issues.apache.org/jira/browse/CB-10142
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: Shazron Abdullah
>  Labels: wkwebview-known-issues
>
> It fails mobile-spec storage.spec.18 and is a known WKWebView bug (not fixed 
> as of iOS 9.1): https://bugs.webkit.org/show_bug.cgi?id=137760
> The test is skipped when you run the engine on mobile-spec.
> window.openDatabase is defined, but throws an error when you use it.
> This is an Apple bug.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11443) Splashscreen is created the second time on resume on Windows

2016-06-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11443:
-

Github user vladimir-kotikov commented on the issue:

https://github.com/apache/cordova-windows/pull/178
  
LGTM


> Splashscreen is created the second time on resume on Windows
> 
>
> Key: CB-11443
> URL: https://issues.apache.org/jira/browse/CB-11443
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>
> 1. Suspend the app,
> 2. Open the app from tile,
> 3. Crash.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11326) use navigator.app.loadUrl got uncaught exception with allow-navigation

2016-06-16 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-11326:
---

>  loadUrl enters showWebPage in the CordovaWebViewImpl, and 
> pluginManager.shouldAllowNavigation(url) returns false

This means that the page isn't get loaded, right? This explains why you get 
your app frozen. You should ensure that the page, you're navigating to is 
whitelisted.

> use navigator.app.loadUrl got uncaught exception with allow-navigation 
> ---
>
> Key: CB-11326
> URL: https://issues.apache.org/jira/browse/CB-11326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: Cordova 6.2.0
>Reporter: zhuisui
>Assignee: Vladimir Kotikov
>  Labels: triaged
>
> I get this stack when {{navigator.app.loadUrl(myurl)}} with 
> {{}}, which occurs after 
> {{pluginManager.shouldAllowNavigation(myurl)}} returns true
> {code}
> Uncaught exception from plugin
>  
> android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original 
> thread that created a view hierarchy can touch its views.
>  at 
> android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6556)
>  at 
> android.view.ViewRootImpl.clearChildFocus(ViewRootImpl.java:3023)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.ViewGroup.clearChildFocus(ViewGroup.java:964)
>  at 
> android.view.View.clearFocusInternal(View.java:5602)
>  at 
> android.view.View.clearFocus(View.java:5585)
>  at 
> android.view.ViewGroup.clearFocus(ViewGroup.java:977)
>  at 
> android.view.View.setFlags(View.java:10622)
>  at 
> android.view.View.setVisibility(View.java:7431)
>  at 
> org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:85)
>  at 
> org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:58)
>  at 
> org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
>  at 
> org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
>  at 
> org.apache.cordova.PluginManager.init(PluginManager.java:87)
>  at 
> org.apache.cordova.CordovaWebViewImpl.loadUrlIntoView(CordovaWebViewImpl.java:138)
>  at 
> org.apache.cordova.CordovaWebViewImpl.showWebPage(CordovaWebViewImpl.java:216)
>  at 
> org.apache.cordova.CoreAndroid.loadUrl(CoreAndroid.java:203)
>  at 
> org.apache.cordova.CoreAndroid.execute(CoreAndroid.java:92)
>  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
>  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
>  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
>  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
>  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
>  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
>  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
>  at 
> android.os.Looper.loop(Looper.java:

[jira] [Commented] (CB-11034) Camera.getPicture -Handle of OutOfMemoryError gracefully

2016-06-16 Thread Dagfinn Parnas (JIRA)

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

Dagfinn Parnas commented on CB-11034:
-

@riknoll @nikhilkh Any comments on the last post on the pull request? 

> Camera.getPicture -Handle of OutOfMemoryError gracefully
> 
>
> Key: CB-11034
> URL: https://issues.apache.org/jira/browse/CB-11034
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.1.1
> Environment: Android
>Reporter: Dagfinn Parnas
>  Labels: Android, mustfix, triaged
>
> We have an app for which we are dependent on using DATA_URL.
> On some older phones (Samsung SII Android 4.1), we have experienced sporadic 
> OutOfMemoryError exceptions when taking a picture. 
> When this occurs the app crashes since the camera plugin doesn't explicitly 
> handle the java.lang.OutOfMemoryError which is thrown. 
> It's ok that the OutOfMemoryError appear, but the apps should be able to 
> handle it gracefully and not just have the app crash. 
> Example stack trace from an uncaught OutOfMemoryError 
> {code}
> 04-06 09:51:55.155: E/dalvikvm-heap(22744): Out of memory on a 31961104-byte 
> allocation.
> 04-06 09:51:55.155: I/dalvikvm(22744):   at 
> android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
> 04-06 09:51:55.160: I/dalvikvm(22744):   at 
> android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:652)
> 04-06 09:51:55.160: I/dalvikvm(22744):   at 
> android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:724)
> 04-06 09:51:55.160: I/dalvikvm(22744):   at 
> org.apache.cordova.camera.CameraLauncher.getScaledBitmap(CameraLauncher.java:916)
> 04-06 09:51:55.160: I/dalvikvm(22744):   at 
> org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:454)
> 04-06 09:51:55.160: I/dalvikvm(22744):   at 
> org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:753)
> 04-06 09:51:55.160: I/dalvikvm(22744):   at 
> org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
> {code}
> In the example above, CameraLauncher.getScaledBitmap doesn't catch the 
> java.lang.OutOfMemoryError and the app crashes. The same situation can occur 
> in CameraLauncher.processPicture (which has a try catch with only exception)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-10857) Camera.getPicture return null for Google Drive (camera 2.1.1)

2016-06-16 Thread Dagfinn Parnas (JIRA)

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

Dagfinn Parnas commented on CB-10857:
-

@riknoll @jcesarmobile any update on this case? 

> Camera.getPicture return null for Google Drive (camera 2.1.1)
> -
>
> Key: CB-10857
> URL: https://issues.apache.org/jira/browse/CB-10857
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.1.1
> Environment: Android - Tested on 6.0.1
>Reporter: Dagfinn Parnas
>  Labels: android, mustfix, reproduced, triaged
> Attachments: Filepicker_google_drive.png
>
>
> Camera.getPicture returns null for pictures and other files when using Google 
> Drive in version 2.1.1. Other sources in the generic file picker such as 
> Images, Photos and Astro File Manager works. 
> The camera plugin gets a null value in processResultFromGallery
> 03-14 10:21:00.066: D/CameraLauncher(21662): File locaton is: null
> The return value from the file picker is
> content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000 
> (see android log below)
> Code sample:
> {code}
> navigator.camera.getPicture(onPhotoURISuccess, onFail, {
> quality: 50,
> correctOrientation: true,
> destinationType: destinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
> mediaType: Camera.MediaType.ALLMEDIA,
> });
> {code}
> Android log: 
> {code}
> 03-14 10:48:31.969: I/ActivityManager(914): Displayed 
> com.android.documentsui/.DocumentsActivity: +146ms (total +172ms)
> 03-14 10:48:31.974: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=2, sortOrder=2
> 03-14 10:48:40.310: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=1, sortOrder=1
> 03-14 10:48:44.279: D/NetlinkSocketObserver(914): 
> NeighborEvent{elapsedMs=447463541, 10.4.67.1, [FEA087606419], RTM_NEWNEIGH, 
> NUD_STALE}
> 03-14 10:48:45.778: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=1, sortOrder=1
> 03-14 10:48:46.192: D/ConnectivityService(914): updateNetworkScore for 
> NetworkAgentInfo [WIFI () - 148] to 55
> 03-14 10:48:48.832: I/Atfwd_Sendcmd(1677): AtCmdFwd service not ready - 
> Exhausted retry attempts - :6
> 03-14 10:48:48.833: I/Atfwd_Daemon(1677): result : -1  ,Init step :2  
>  ,qmiErrorCode: 0
> 03-14 10:48:49.211: D/ConnectivityService(914): updateNetworkScore for 
> NetworkAgentInfo [WIFI () - 148] to 56
> 03-14 10:48:49.243: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=1, sortOrder=1
> 03-14 10:48:52.028: D/Documents(19828): onFinished() 
> [content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000]
> 03-14 10:48:52.049: D/CordovaInterfaceImpl(2469): Sending activity result to 
> plugin
> 03-14 10:48:52.051: D/CameraLauncher(2469): File locaton is: null
> 03-14 10:48:52.056: I/chromium(2469): [INFO:CONSOLE(39)] "onPhotoURISuccess: 
> null", source: 
> file:///android_asset/www/neptune/public/application/z_cats_login_bouvet/js/loglevel-persistlogstrings.js
>  (39)
> {code}
> Related to https://issues.apache.org/jira/browse/CB-10270
> PS Updated android log



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11089) splash hide not always works on ios

2016-06-16 Thread Sergey Shakhnazarov (JIRA)

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

Sergey Shakhnazarov commented on CB-11089:
--

??Because you can, at the moment, only hide the splashscreen programmatically 
when you also set the SplashScreenDelay to "0"?? - this is a bug if it works 
so, because I believe it should be sufficient to specify {{}}.

> splash hide not always works on ios
> ---
>
> Key: CB-11089
> URL: https://issues.apache.org/jira/browse/CB-11089
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iphone 6
>Reporter: wzhsh90
>  Labels: triaged, wfc
>
> splash version:3.2.2-dev
> setp 1、I set AutoHideSplashScreen=false,FadeSplashScreen=false
> I kill the application multi times, sometimes the splash will hide correctly, 
> but somethimes the splash can not hide ,it always show or white screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-11423) Web view shrinks after locking screen orientation

2016-06-16 Thread arul sudarsanam (JIRA)

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

arul sudarsanam commented on CB-11423:
--

seems to appear on IPOD 5th gen with 9.3.2

https://www.dropbox.com/s/zbcoviwaeqsekqo/thumb_IMG_0613_1024.jpg?dl=0

> Web view shrinks after locking screen orientation
> -
>
> Key: CB-11423
> URL: https://issues.apache.org/jira/browse/CB-11423
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation
>Affects Versions: 1.4.2
> Environment: Using:
> - Cordova CLI 6.2.0
> - cordova-ios 4.1.1
> - Xcode 7.3
> - OSX 10.11.5
> Best reproduced on an iOS simulator with iPhone 6s Plus and iOS 9.3.
>Reporter: Rafael Barriuso
>
> Since version 1.4.2 "screen.lockOrientation" works on iOS 9, but for some 
> reason, in some phones the dimensions of the web view are wrong after 
> changing to the new orientation.
> Before locking:
> !https://www.dropbox.com/s/t2jcqqmg1hni22t/Sim-screenshot2.png?dl=1!
> After locking:
> !https://www.dropbox.com/s/p64324riwqzepzz/Sim-screenshot1.png?dl=1!
> Steps to reproduce:
> 1) Prepare a cordova app including cordova-plugin-screen-orientation.
> 2) Run the application on a Xcode simulator for iPhone 6s Plus and iOS 9.3.
> 3) Rotate the simulator to the left (menu -> Hardware -> Rotate left).
> 4) Open the Safari web inspector connected to the app running on the 
> simulator.
> 5) In the console, run: window.screen.lockOrientation("portrait-primary")
> 6) The width of the resulting "" is shrink, as reported by the Safari 
> web inspector (e.g. in my case to 92px whereas it should be 414px).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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