[jira] [Comment Edited] (CB-12492) plugin.xml edit-config not working for attributes on manifest/application

2017-02-27 Thread Nikita Matrosov (JIRA)

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

Nikita Matrosov edited comment on CB-12492 at 2/28/17 7:53 AM:
---

Matthias, it seems that you are using `edit-file` rather than `edit-config` tag 
in `plugin.xml` to add new attributes. Could you please recheck it?


was (Author: nikita matrosov):
@Matthias, It seems that you are using `edit-file` rather than `edit-config` 
tag in `plugin.xml` to add new attributes. Could you please recheck it?

> plugin.xml edit-config not working for attributes on manifest/application
> -
>
> Key: CB-12492
> URL: https://issues.apache.org/jira/browse/CB-12492
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaCommon
>Affects Versions: 2.0.0
>Reporter: Matthias
>
> h3. Environment
> Cordova: 6.5.0
> CordovaCommon: 2.0.0
> CordovaAndroid: 6.1.2
> h3. Description
> Using the edit-config in a plugin.xml to add an additional attribute on the 
> manifest or application tag in AndroidManifest.xml does not work.
> h3. Steps to reproduce
> - Create new cordova project with android platform
> - (Copy initial AndroidManifest.xml for comparison)
> - Add cordova plugin which uses the edit-config setting to add a new 
> attribute to manifest or application tag
> - Compare updated AndroidManifist.xml and see attribute was not added
> h3. Expectation
> Edit-config setting in plugin.xml allows to add/alter as well attributes on 
> manifest/application/... level in AndroidManifest.xml
> 
> h3. Example
> This will work
> {code:xml}
>  mode="merge">
> 
> 
> {code}
> This will *NOT* work
> {code:xml}
> 
> http://schemas.android.com/tools;>
> 
>  mode="merge">
> 
> 
> {code}



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



[jira] [Commented] (CB-12492) plugin.xml edit-config not working for attributes on manifest/application

2017-02-27 Thread Nikita Matrosov (JIRA)

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

Nikita Matrosov commented on CB-12492:
--

@Matthias, It seems that you are using `edit-file` rather than `edit-config` 
tag in `plugin.xml` to add new attributes. Could you please recheck it?

> plugin.xml edit-config not working for attributes on manifest/application
> -
>
> Key: CB-12492
> URL: https://issues.apache.org/jira/browse/CB-12492
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaCommon
>Affects Versions: 2.0.0
>Reporter: Matthias
>
> h3. Environment
> Cordova: 6.5.0
> CordovaCommon: 2.0.0
> CordovaAndroid: 6.1.2
> h3. Description
> Using the edit-config in a plugin.xml to add an additional attribute on the 
> manifest or application tag in AndroidManifest.xml does not work.
> h3. Steps to reproduce
> - Create new cordova project with android platform
> - (Copy initial AndroidManifest.xml for comparison)
> - Add cordova plugin which uses the edit-config setting to add a new 
> attribute to manifest or application tag
> - Compare updated AndroidManifist.xml and see attribute was not added
> h3. Expectation
> Edit-config setting in plugin.xml allows to add/alter as well attributes on 
> manifest/application/... level in AndroidManifest.xml
> 
> h3. Example
> This will work
> {code:xml}
>  mode="merge">
> 
> 
> {code}
> This will *NOT* work
> {code:xml}
> 
> http://schemas.android.com/tools;>
> 
>  mode="merge">
> 
> 
> {code}



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



[jira] [Resolved] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11906.
---
Resolution: Fixed

Fixed by iOS 10.2 update by Apple

> Ajax call fails on iOS 10 but works fine on previous versions for Cordova 
> application
> -
>
> Key: CB-11906
> URL: https://issues.apache.org/jira/browse/CB-11906
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: ios10
>Reporter: Nikita Ahluwalia
>  Labels: ios10, ios10-known-issue
>
> I am using the latest iOS platform and plugins in my cordova application. The 
> app works fine on older versions of iOS but not on iOS 10. I am getting 
> timeout error (I already have timeout in my application. But this seems to be 
> even before establishing connection with web service). Tried removing 
> platform and adding again. Also created a fresh project. Still no luck. The 
> app works fine on Android as well. The same application pointing to 
> webservice on staging environment works (on iOS 10 too) but when pointing to 
> production APIs, it does not work on iOS 10 but works on older version.



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



[jira] [Created] (CB-12515) Object.prototype.toString.call(file) return [object Object] instead of [object File]

2017-02-27 Thread Alexander Broekhuis (JIRA)
Alexander Broekhuis created CB-12515:


 Summary: Object.prototype.toString.call(file) return [object 
Object] instead of [object File]
 Key: CB-12515
 URL: https://issues.apache.org/jira/browse/CB-12515
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Reporter: Alexander Broekhuis


I'm trying to use the File plugin in combination with FineUploader. 
FineUploader uses the File API and tests if a passed in object is a file using 
the following call:

Object.prototype.toString.call(file) === "[object File]"

But the File retrieved from a FileEntry using entry.file(function(file) { ... 
}); is not seen as a file since the toString.call returns [object Object].



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



[jira] [Commented] (CB-11248) InAppBrowser no focus on input text fields

2017-02-27 Thread JIRA

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

Ulf Brügelmann commented on CB-11248:
-

Hi Ben, did you try Chris' workaround? Worked perfectly for me...

> InAppBrowser no focus on input text fields
> --
>
> Key: CB-11248
> URL: https://issues.apache.org/jira/browse/CB-11248
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 1.4.0
> Environment: Cordova CLI, Android, Android Studio
>Reporter: Mo Pages
>Priority: Minor
>  Labels: android, no-repro, triaged
>
> When opening a webpage with a form in the Cordova default webview or system 
> webview focus on an input text box works as normal - a cursor is displayed 
> (and if there's any js list its displayed). However when using the 
> InAppBrowser the focus cursor does not display at all when you click in a 
> text box...the keyboard comes up but no focus cursor.
> I've tried injecting js to focus on the text box but this doesn't do 
> anything..Also it makes no difference what value the option 
> keyboardDisplayRequiresUserAction is given...Is there a fix for this? 



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



[jira] [Updated] (CB-12510) cannot rename windows cordova project

2017-02-27 Thread Sergey Shakhnazarov (JIRA)

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

Sergey Shakhnazarov updated CB-12510:
-
Issue Type: Wish  (was: Bug)

> cannot rename windows cordova project
> -
>
> Key: CB-12510
> URL: https://issues.apache.org/jira/browse/CB-12510
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: Windows
>Reporter: Ali Mustafa
>Priority: Minor
>  Labels: windows
>
> building Cordova app for windows generates CordovaApp.sln even though I 
> specified another name under widget tag in config.xml.  



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



[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application

2017-02-27 Thread Kilian Koller (JIRA)

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

Kilian Koller commented on CB-11906:


Hi, yes, it's gone!

> Ajax call fails on iOS 10 but works fine on previous versions for Cordova 
> application
> -
>
> Key: CB-11906
> URL: https://issues.apache.org/jira/browse/CB-11906
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: ios10
>Reporter: Nikita Ahluwalia
>  Labels: ios10, ios10-known-issue
>
> I am using the latest iOS platform and plugins in my cordova application. The 
> app works fine on older versions of iOS but not on iOS 10. I am getting 
> timeout error (I already have timeout in my application. But this seems to be 
> even before establishing connection with web service). Tried removing 
> platform and adding again. Also created a fresh project. Still no luck. The 
> app works fine on Android as well. The same application pointing to 
> webservice on staging environment works (on iOS 10 too) but when pointing to 
> production APIs, it does not work on iOS 10 but works on older version.



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



[jira] [Commented] (CB-12146) cordova-plugin-media - Adds support for "playAudioWhenScreenIsLocked" already used in iOS

2017-02-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12146:
-

Github user romedius commented on the issue:

https://github.com/apache/cordova-plugin-media/pull/121
  
@stevengill Hi! I will merge the functionality this week.


> cordova-plugin-media - Adds support for "playAudioWhenScreenIsLocked" already 
> used in iOS
> -
>
> Key: CB-12146
> URL: https://issues.apache.org/jira/browse/CB-12146
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Media
>Affects Versions: Master
> Environment: Apache Cordova media plugin on Android
>Reporter: Romedius Weiss
>Priority: Minor
>  Labels: newbie, patch
> Fix For: Master
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> This patch adds the support of the playAudioWhenScreenIsLocked flag on 
> Android, listed as quirk for iOS.
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media/#ios-quirks
> A previous version of the fix was published here:
> https://github.com/apache/cordova-plugin-media/pull/54



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



[jira] [Resolved] (CB-11890) Remove repositories from ReviewBoard

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11890.
---
Resolution: Duplicate

> Remove repositories from ReviewBoard
> 
>
> Key: CB-11890
> URL: https://issues.apache.org/jira/browse/CB-11890
> Project: Apache Cordova
>  Issue Type: Task
>  Components: AllComponents
>Reporter: Nate Cole
>
> It appears as though Cordova on ReviewBoard is no longer active.  Can the 40+ 
> repositories be removed or consolidated?  (On ReviewBoard only).  Feel free 
> to reassign to INFRA if need be.
> It looks like Cordova hasn't been active on ReviewBoard for over 2.5 years.



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



[jira] [Updated] (CB-11890) Remove repositories from ReviewBoard

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11890:
--
Component/s: AllComponents

> Remove repositories from ReviewBoard
> 
>
> Key: CB-11890
> URL: https://issues.apache.org/jira/browse/CB-11890
> Project: Apache Cordova
>  Issue Type: Task
>  Components: AllComponents
>Reporter: Nate Cole
>
> It appears as though Cordova on ReviewBoard is no longer active.  Can the 40+ 
> repositories be removed or consolidated?  (On ReviewBoard only).  Feel free 
> to reassign to INFRA if need be.
> It looks like Cordova hasn't been active on ReviewBoard for over 2.5 years.



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



[jira] [Updated] (CB-12173) Add docs to run local filetransfer server for mobilespec

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12173:
--
Component/s: Plugin File Transfer
 Labs

> Add docs to run local filetransfer server for mobilespec
> 
>
> Key: CB-12173
> URL: https://issues.apache.org/jira/browse/CB-12173
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Labs, Plugin File Transfer
>Reporter: Shazron Abdullah
>
> The cordova-vm filetransfer server could be offline.
> Add docs to show people how to run their own local server.
> The server to run is at:
> https://github.com/apache/cordova-labs/tree/cordova-filetransfer
> And you would override this variable for this test plugin:
> https://github.com/apache/cordova-plugin-file-transfer/blob/9b322dec6790f6d273b8f707bc07976d778c4cf6/tests/plugin.xml#L33
> {code}
> cordova plugin rm cordova-plugin-file-transfer-tests
> cordova plugin add path/to/cordova-plugin-file-transfer/tests --variable 
> FILETRANSFER_SERVER_ADDRESS="http://yourlocal-IPAddressHere:5000;
> {code}
> Run the server:
> {code}
> git clone https://github.com/apache/cordova-labs.git
> cd cordova-labs
> git checkout cordova-filetransfer
> node server.js
> {code}
> Get your local ip by running:
> {code}
> ifconfig
> {code}



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



[jira] [Updated] (CB-12215) Possible uncaught exception triggered by socket_write_close shutdown

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12215:
--
Component/s: Plugin File Transfer

> Possible uncaught exception triggered by socket_write_close shutdown
> 
>
> Key: CB-12215
> URL: https://issues.apache.org/jira/browse/CB-12215
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Reporter: Keith Pincombe
>Priority: Minor
>
> Sorry I haven't filled in this bug report correctly. I've searched around for 
> the bug tracker for 30 minutes and can't find anyone else reporting this 
> issue. 
> This problem is fairly easy to replicate.
> When downloading a file in iOS 10 if the app is put to sleep during the file 
> download process. When the app is woken up again an exception appears to be 
> thrown but nothing is reported to the error callback.
> If the same error occurs ( Socket is not connected ) while the app is awake 
> it does trigger the error callback correctly. 
> I've included the error message shown in the log below:
> {code}
> 2016-12-05 12:22:17.279091 GuidedMind[8705:5171369] [] nw_socket_write_close 
> shutdown(12, SHUT_WR): [57] Socket is not connected
> 2016-12-05 12:22:17.279144 GuidedMind[8705:5171369] [] 
> nw_endpoint_flow_service_writes [15.1 52.216.16.91:443 ready socket-flow 
> (satisfied)] Write request has 0 frame count, 0 byte count
> 2016-12-05 12:22:17.279475 GuidedMind[8705:5171369] [] 
> nw_socket_get_input_frames recvmsg(fd 12, 1024 bytes): [57] Socket is not 
> connected
> 2016-12-05 12:22:17.280004 GuidedMind[8705:5171369] [] 
> __tcp_connection_write_eof_block_invoke Write close callback received error: 
> [89] Operation canceled
> {code}
> Another thing which is notably missing from the error log is the message:
> File Transfer Error: The request timed out.
> I hope this information helps, if there is anything more I can do to help 
> please let me know :-)
>   



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



[jira] [Resolved] (CB-12204) expected predicate and/or actions following probe description.while archeiving project iam getting this issue

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-12204.
---
Resolution: Incomplete

> expected predicate and/or actions following probe description.while 
> archeiving project iam getting this issue
> -
>
> Key: CB-12204
> URL: https://issues.apache.org/jira/browse/CB-12204
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: srilatha
>




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



[jira] [Commented] (CB-12215) Possible uncaught exception triggered by socket_write_close shutdown

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12215:
---

Is this a File Transfer Plugin error?

> Possible uncaught exception triggered by socket_write_close shutdown
> 
>
> Key: CB-12215
> URL: https://issues.apache.org/jira/browse/CB-12215
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Keith Pincombe
>Priority: Minor
>
> Sorry I haven't filled in this bug report correctly. I've searched around for 
> the bug tracker for 30 minutes and can't find anyone else reporting this 
> issue. 
> This problem is fairly easy to replicate.
> When downloading a file in iOS 10 if the app is put to sleep during the file 
> download process. When the app is woken up again an exception appears to be 
> thrown but nothing is reported to the error callback.
> If the same error occurs ( Socket is not connected ) while the app is awake 
> it does trigger the error callback correctly. 
> I've included the error message shown in the log below:
> {code}
> 2016-12-05 12:22:17.279091 GuidedMind[8705:5171369] [] nw_socket_write_close 
> shutdown(12, SHUT_WR): [57] Socket is not connected
> 2016-12-05 12:22:17.279144 GuidedMind[8705:5171369] [] 
> nw_endpoint_flow_service_writes [15.1 52.216.16.91:443 ready socket-flow 
> (satisfied)] Write request has 0 frame count, 0 byte count
> 2016-12-05 12:22:17.279475 GuidedMind[8705:5171369] [] 
> nw_socket_get_input_frames recvmsg(fd 12, 1024 bytes): [57] Socket is not 
> connected
> 2016-12-05 12:22:17.280004 GuidedMind[8705:5171369] [] 
> __tcp_connection_write_eof_block_invoke Write close callback received error: 
> [89] Operation canceled
> {code}
> Another thing which is notably missing from the error log is the message:
> File Transfer Error: The request timed out.
> I hope this information helps, if there is anything more I can do to help 
> please let me know :-)
>   



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



[jira] [Updated] (CB-12215) Possible uncaught exception triggered by socket_write_close shutdown

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12215:
--
Description: 
Sorry I haven't filled in this bug report correctly. I've searched around for 
the bug tracker for 30 minutes and can't find anyone else reporting this issue. 

This problem is fairly easy to replicate.

When downloading a file in iOS 10 if the app is put to sleep during the file 
download process. When the app is woken up again an exception appears to be 
thrown but nothing is reported to the error callback.

If the same error occurs ( Socket is not connected ) while the app is awake it 
does trigger the error callback correctly. 

I've included the error message shown in the log below:
{code}
2016-12-05 12:22:17.279091 GuidedMind[8705:5171369] [] nw_socket_write_close 
shutdown(12, SHUT_WR): [57] Socket is not connected
2016-12-05 12:22:17.279144 GuidedMind[8705:5171369] [] 
nw_endpoint_flow_service_writes [15.1 52.216.16.91:443 ready socket-flow 
(satisfied)] Write request has 0 frame count, 0 byte count
2016-12-05 12:22:17.279475 GuidedMind[8705:5171369] [] 
nw_socket_get_input_frames recvmsg(fd 12, 1024 bytes): [57] Socket is not 
connected
2016-12-05 12:22:17.280004 GuidedMind[8705:5171369] [] 
__tcp_connection_write_eof_block_invoke Write close callback received error: 
[89] Operation canceled
{code}

Another thing which is notably missing from the error log is the message:

File Transfer Error: The request timed out.

I hope this information helps, if there is anything more I can do to help 
please let me know :-)
  

  was:
Sorry I haven't filled in this bug report correctly. I've searched around for 
the bug tracker for 30 minutes and can't find anyone else reporting this issue. 

This problem is fairly easy to replicate.

When downloading a file in iOS 10 if the app is put to sleep during the file 
download process. When the app is woken up again an exception appears to be 
thrown but nothing is reported to the error callback.

If the same error occurs ( Socket is not connected ) while the app is awake it 
does trigger the error callback correctly. 

I've included the error message shown in the log below:

2016-12-05 12:22:17.279091 GuidedMind[8705:5171369] [] nw_socket_write_close 
shutdown(12, SHUT_WR): [57] Socket is not connected
2016-12-05 12:22:17.279144 GuidedMind[8705:5171369] [] 
nw_endpoint_flow_service_writes [15.1 52.216.16.91:443 ready socket-flow 
(satisfied)] Write request has 0 frame count, 0 byte count
2016-12-05 12:22:17.279475 GuidedMind[8705:5171369] [] 
nw_socket_get_input_frames recvmsg(fd 12, 1024 bytes): [57] Socket is not 
connected
2016-12-05 12:22:17.280004 GuidedMind[8705:5171369] [] 
__tcp_connection_write_eof_block_invoke Write close callback received error: 
[89] Operation canceled

Another thing which is notably missing from the error log is the message:

File Transfer Error: The request timed out.

I hope this information helps, if there is anything more I can do to help 
please let me know :-)
  


> Possible uncaught exception triggered by socket_write_close shutdown
> 
>
> Key: CB-12215
> URL: https://issues.apache.org/jira/browse/CB-12215
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Keith Pincombe
>Priority: Minor
>
> Sorry I haven't filled in this bug report correctly. I've searched around for 
> the bug tracker for 30 minutes and can't find anyone else reporting this 
> issue. 
> This problem is fairly easy to replicate.
> When downloading a file in iOS 10 if the app is put to sleep during the file 
> download process. When the app is woken up again an exception appears to be 
> thrown but nothing is reported to the error callback.
> If the same error occurs ( Socket is not connected ) while the app is awake 
> it does trigger the error callback correctly. 
> I've included the error message shown in the log below:
> {code}
> 2016-12-05 12:22:17.279091 GuidedMind[8705:5171369] [] nw_socket_write_close 
> shutdown(12, SHUT_WR): [57] Socket is not connected
> 2016-12-05 12:22:17.279144 GuidedMind[8705:5171369] [] 
> nw_endpoint_flow_service_writes [15.1 52.216.16.91:443 ready socket-flow 
> (satisfied)] Write request has 0 frame count, 0 byte count
> 2016-12-05 12:22:17.279475 GuidedMind[8705:5171369] [] 
> nw_socket_get_input_frames recvmsg(fd 12, 1024 bytes): [57] Socket is not 
> connected
> 2016-12-05 12:22:17.280004 GuidedMind[8705:5171369] [] 
> __tcp_connection_write_eof_block_invoke Write close callback received error: 
> [89] Operation canceled
> {code}
> Another thing which is notably missing from the error log is the message:
> File Transfer Error: The request timed out.
> I hope this information helps, if there is anything more I can do to help 
> please let me know :-)
>   



--
This 

[jira] [Updated] (CB-12233) Not always working

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12233:
--
Component/s: Plugin Contacts

> Not always working
> --
>
> Key: CB-12233
> URL: https://issues.apache.org/jira/browse/CB-12233
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Cordova 6.2
> Contacts 2.2.0
> Device Zenfone 2 Intel
> Lolipop 5.0
> data: 500+ contacts
>Reporter: Stomata
>
> Contact values are null except for id and rawId, they have value.
> But when I testing in emulator, its working fine. (Android 4.x.x - Ripple 
> emulator).
> Results from real device:
> {code}
> {"id":"30","rawId":"45","displayName":null,"name":null,"nickname":null,"phoneNumbers":null,"emails":null,"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}
> {code}
> Results from emulator:
> {code}
> {"id":"8276E06E-3BD9-44F8-A7B2-1C9798359DD8","rawId":null,"displayName":"Brent
>  Lintner","name":{"formatted":"Brent 
> Lintner"},"nickname":null,"phoneNumbers":null,"emails":[{"type":"work","value":"br...@tinyhippos.com","pref":false}],"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}
> {code}
> Update: After I merge duplicate, delete, etc my contact in real device Its 
> now working. Weird. Should have capability to select account I think



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



[jira] [Updated] (CB-12225) Cordova camera always returns same picture in Android

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12225:
--
Component/s: Plugin Camera

> Cordova camera always returns same picture in Android
> -
>
> Key: CB-12225
> URL: https://issues.apache.org/jira/browse/CB-12225
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Nicholas Kim
>
> If I select images from SAVEDPHOTOALBUM, it always returns same image
> file:///storage/emulated/0/android/data/app/cache/.pic.jpg
> my code looks like following
> var selectAPhoto = function(){
>   var options = {
> quality: 80,
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
> allowEdit: true,
> encodingType: Camera.EncodingType.JPEG
>   }
> 
>   $cordovaCamera.getPicture(options).then(function(imageData) {
> $scope.photos[emptySlot($scope.photos)].source = imageData;
> $scope.photos[emptySlot($scope.photos)].stockImage = false;
> update();
>   }, function(err) {
> 
>   });
> }
> There is a workaround on following link but I'm quite sure that using 
> DATA_URL causes a memory issue at some stage 
> http://stackoverflow.com/questions/27540710/cordova-camera-plugin-always-return-the-same-image-when-select-from-gallery-with#_=_



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



[jira] [Updated] (CB-12233) Not always working

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12233:
--
Description: 
Contact values are null except for id and rawId, they have value.

But when I testing in emulator, its working fine. (Android 4.x.x - Ripple 
emulator).

Results from real device:
{code}
{"id":"30","rawId":"45","displayName":null,"name":null,"nickname":null,"phoneNumbers":null,"emails":null,"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}
{code}

Results from emulator:
{code}
{"id":"8276E06E-3BD9-44F8-A7B2-1C9798359DD8","rawId":null,"displayName":"Brent 
Lintner","name":{"formatted":"Brent 
Lintner"},"nickname":null,"phoneNumbers":null,"emails":[{"type":"work","value":"br...@tinyhippos.com","pref":false}],"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}
{code}

Update: After I merge duplicate, delete, etc my contact in real device Its now 
working. Weird. Should have capability to select account I think

  was:
Contact values are null except for id and rawId, they have value.

But when I testing in emulator, its working fine. (Android 4.x.x - Ripple 
emulator).

Results from real device:
{"id":"30","rawId":"45","displayName":null,"name":null,"nickname":null,"phoneNumbers":null,"emails":null,"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}

Results from emulator:
{"id":"8276E06E-3BD9-44F8-A7B2-1C9798359DD8","rawId":null,"displayName":"Brent 
Lintner","name":{"formatted":"Brent 
Lintner"},"nickname":null,"phoneNumbers":null,"emails":[{"type":"work","value":"br...@tinyhippos.com","pref":false}],"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}



Update: After I merge duplicate, delete, etc my contact in real device Its now 
working. Weird. Should have capability to select account I think


> Not always working
> --
>
> Key: CB-12233
> URL: https://issues.apache.org/jira/browse/CB-12233
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Cordova 6.2
> Contacts 2.2.0
> Device Zenfone 2 Intel
> Lolipop 5.0
> data: 500+ contacts
>Reporter: Stomata
>
> Contact values are null except for id and rawId, they have value.
> But when I testing in emulator, its working fine. (Android 4.x.x - Ripple 
> emulator).
> Results from real device:
> {code}
> {"id":"30","rawId":"45","displayName":null,"name":null,"nickname":null,"phoneNumbers":null,"emails":null,"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}
> {code}
> Results from emulator:
> {code}
> {"id":"8276E06E-3BD9-44F8-A7B2-1C9798359DD8","rawId":null,"displayName":"Brent
>  Lintner","name":{"formatted":"Brent 
> Lintner"},"nickname":null,"phoneNumbers":null,"emails":[{"type":"work","value":"br...@tinyhippos.com","pref":false}],"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null}
> {code}
> Update: After I merge duplicate, delete, etc my contact in real device Its 
> now working. Weird. Should have capability to select account I think



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



[jira] [Updated] (CB-12225) Cordova camera always returns same picture in Android

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12225:
--
Environment: Android

> Cordova camera always returns same picture in Android
> -
>
> Key: CB-12225
> URL: https://issues.apache.org/jira/browse/CB-12225
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: Android
>Reporter: Nicholas Kim
>
> If I select images from SAVEDPHOTOALBUM, it always returns same image
> file:///storage/emulated/0/android/data/app/cache/.pic.jpg
> my code looks like following
> var selectAPhoto = function(){
>   var options = {
> quality: 80,
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
> allowEdit: true,
> encodingType: Camera.EncodingType.JPEG
>   }
> 
>   $cordovaCamera.getPicture(options).then(function(imageData) {
> $scope.photos[emptySlot($scope.photos)].source = imageData;
> $scope.photos[emptySlot($scope.photos)].stockImage = false;
> update();
>   }, function(err) {
> 
>   });
> }
> There is a workaround on following link but I'm quite sure that using 
> DATA_URL causes a memory issue at some stage 
> http://stackoverflow.com/questions/27540710/cordova-camera-plugin-always-return-the-same-image-when-select-from-gallery-with#_=_



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



[jira] [Updated] (CB-12225) Cordova camera always returns same picture in Android

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12225:
--
Description: 
If I select images from SAVEDPHOTOALBUM, it always returns same image
file:///storage/emulated/0/android/data/app/cache/.pic.jpg

my code looks like following
{code}
var selectAPhoto = function(){
  var options = {
quality: 80,
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
allowEdit: true,
encodingType: Camera.EncodingType.JPEG
  }

  $cordovaCamera.getPicture(options).then(function(imageData) {
$scope.photos[emptySlot($scope.photos)].source = imageData;
$scope.photos[emptySlot($scope.photos)].stockImage = false;
update();
  }, function(err) {

  });
}
{code}

There is a workaround on following link but I'm quite sure that using DATA_URL 
causes a memory issue at some stage 
http://stackoverflow.com/questions/27540710/cordova-camera-plugin-always-return-the-same-image-when-select-from-gallery-with#_=_

  was:
If I select images from SAVEDPHOTOALBUM, it always returns same image
file:///storage/emulated/0/android/data/app/cache/.pic.jpg

my code looks like following

var selectAPhoto = function(){
  var options = {
quality: 80,
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
allowEdit: true,
encodingType: Camera.EncodingType.JPEG
  }

  $cordovaCamera.getPicture(options).then(function(imageData) {
$scope.photos[emptySlot($scope.photos)].source = imageData;
$scope.photos[emptySlot($scope.photos)].stockImage = false;
update();
  }, function(err) {

  });
}

There is a workaround on following link but I'm quite sure that using DATA_URL 
causes a memory issue at some stage 
http://stackoverflow.com/questions/27540710/cordova-camera-plugin-always-return-the-same-image-when-select-from-gallery-with#_=_


> Cordova camera always returns same picture in Android
> -
>
> Key: CB-12225
> URL: https://issues.apache.org/jira/browse/CB-12225
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: Android
>Reporter: Nicholas Kim
>
> If I select images from SAVEDPHOTOALBUM, it always returns same image
> file:///storage/emulated/0/android/data/app/cache/.pic.jpg
> my code looks like following
> {code}
> var selectAPhoto = function(){
>   var options = {
> quality: 80,
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
> allowEdit: true,
> encodingType: Camera.EncodingType.JPEG
>   }
> 
>   $cordovaCamera.getPicture(options).then(function(imageData) {
> $scope.photos[emptySlot($scope.photos)].source = imageData;
> $scope.photos[emptySlot($scope.photos)].stockImage = false;
> update();
>   }, function(err) {
> 
>   });
> }
> {code}
> There is a workaround on following link but I'm quite sure that using 
> DATA_URL causes a memory issue at some stage 
> http://stackoverflow.com/questions/27540710/cordova-camera-plugin-always-return-the-same-image-when-select-from-gallery-with#_=_



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



[jira] [Updated] (CB-12252) screen-orientation does not match w3 spec

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12252:
--
Component/s: Plugin Screen Orientation

> screen-orientation does not match w3 spec
> -
>
> Key: CB-12252
> URL: https://issues.apache.org/jira/browse/CB-12252
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Screen Orientation
> Environment: iOS, Android , Windows
>Reporter: Vishal Mishra
>Assignee: Vishal Mishra
>
> The current screen orientation plugin does not conform to w3 specifications. 



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



[jira] [Updated] (CB-12264) media. getCurrentAmplitude has no the correct definition on the readme

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12264:
--
Component/s: Plugin Media

> media. getCurrentAmplitude has no the correct definition on the readme
> --
>
> Key: CB-12264
> URL: https://issues.apache.org/jira/browse/CB-12264
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: Quique Fdez Guerra
>Priority: Minor
>
> On the documentation of media plugin the getCurrentamplitude doesn't have the 
> correct definition, I've created a PR 
> https://github.com/apache/cordova-plugin-media/pull/123/commits/f9b5703dcf7c9d66882b1bcf905158bc6de0571d



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



[jira] [Updated] (CB-12269) phonegap images not showing on android kitkat only showing white screen

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12269:
--
Component/s: Android

> phonegap images not showing on android kitkat only showing white screen 
> 
>
> Key: CB-12269
> URL: https://issues.apache.org/jira/browse/CB-12269
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: saba
>
> phonegap images not showing on android kitkat only showing white screen
> but showing on android lollipop, on android kitkat button text ect is showing 
> properly. i don't understand why images not showing in kitkat version while 
> its working properly in lollipop,



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



[jira] [Commented] (CB-12289) cordova-serve release Dec 21, 2016

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12289:
---

Was this released? I forget

> cordova-serve release Dec 21, 2016
> --
>
> Key: CB-12289
> URL: https://issues.apache.org/jira/browse/CB-12289
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CordovaServe
>Reporter: Tim Barham
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md



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



[jira] [Updated] (CB-12289) cordova-serve release Dec 21, 2016

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12289:
--
Component/s: CordovaServe

> cordova-serve release Dec 21, 2016
> --
>
> Key: CB-12289
> URL: https://issues.apache.org/jira/browse/CB-12289
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CordovaServe
>Reporter: Tim Barham
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md



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



[jira] [Updated] (CB-12296) Add support to provide directory path only when downloading files using file-transfer-plugin

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12296:
--
Component/s: Plugin File Transfer

> Add support to provide directory path only when downloading files using 
> file-transfer-plugin
> 
>
> Key: CB-12296
> URL: https://issues.apache.org/jira/browse/CB-12296
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Plugin File Transfer
>Reporter: Bilal Soomro
>
> Currently, the plugin requires me to provide a full path including the name 
> (with extension) of the file. The plugin should be able to save the file in 
> the directory provided with the original file name. 



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



[jira] [Updated] (CB-12356) cdvfile:// not working in html5 video tag

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12356:
--
Description: 
I have a file downloaded to sdCard.
I can play it in media player.So file is not corrupted.

As per documentation to use 'cdvfile://..' in html tag two settings have to be 
set.
# I set the Content-Security-Policy with
{code}

{code}
# I set origin access with
{code}
App.accessRule('cdvfile://*'); in mobile-config.js
{code}

Html :
{code}

  

{code}

Expected: 
video tag should play the video.

Actual:
A black screen appears without any error.No playback.

  was:
I have a file downloaded to sdCard.
I can play it in media player.So file is not corrupted.

As per documentation to use 'cdvfile://..' in html tag two settings have to be 
set.
1.I set the Content-Security-Policy with


2.I set origin access with
App.accessRule('cdvfile://*'); in mobile-config.js

Html :


  


Expected: 
video tag should play the video.

Actual:
A black screen appears without any error.No playback.


> cdvfile:// not working in html5 video tag
> -
>
> Key: CB-12356
> URL: https://issues.apache.org/jira/browse/CB-12356
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Android version : 4.4.2
> Model : HTC 
> cordova-plugin-file@4.3.1
> Meteor : 1.4
>Reporter: harish
>  Labels: plugin-file, video
>
> I have a file downloaded to sdCard.
> I can play it in media player.So file is not corrupted.
> As per documentation to use 'cdvfile://..' in html tag two settings have to 
> be set.
> # I set the Content-Security-Policy with
> {code}
> 
> {code}
> # I set origin access with
> {code}
> App.accessRule('cdvfile://*'); in mobile-config.js
> {code}
> Html :
> {code}
> 
>src="cdvfile://localhost/files-external/ksnYb8A3bBr5BnSbT-aK2xDY3_460sv.mp4">
> 
> {code}
> Expected: 
> video tag should play the video.
> Actual:
> A black screen appears without any error.No playback.



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



[jira] [Updated] (CB-12356) cdvfile:// not working in html5 video tag

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12356:
--
Component/s: Android

> cdvfile:// not working in html5 video tag
> -
>
> Key: CB-12356
> URL: https://issues.apache.org/jira/browse/CB-12356
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Android version : 4.4.2
> Model : HTC 
> cordova-plugin-file@4.3.1
> Meteor : 1.4
>Reporter: harish
>  Labels: plugin-file, video
>
> I have a file downloaded to sdCard.
> I can play it in media player.So file is not corrupted.
> As per documentation to use 'cdvfile://..' in html tag two settings have to 
> be set.
> 1.I set the Content-Security-Policy with
> 
> 2.I set origin access with
> App.accessRule('cdvfile://*'); in mobile-config.js
> Html :
> 
>src="cdvfile://localhost/files-external/ksnYb8A3bBr5BnSbT-aK2xDY3_460sv.mp4">
> 
> Expected: 
> video tag should play the video.
> Actual:
> A black screen appears without any error.No playback.



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



[jira] [Updated] (CB-12362) [ERROR:interface_registry.cc(104)] Failed to locate a binder for interface: autofill::mojom::PasswordManagerDriver

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12362:
--
Component/s: Android

> [ERROR:interface_registry.cc(104)] Failed to locate a binder for interface: 
> autofill::mojom::PasswordManagerDriver
> --
>
> Key: CB-12362
> URL: https://issues.apache.org/jira/browse/CB-12362
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.5.0
> Environment: Cordova 6.4.0
>Reporter: Sandeep Armal
>
> I am downloading some pages on SD card and that pages I am calling from 
> asset.  
> Example. 
> Asset_A.html opening SD_A.html using Asset_A.js. It's working fine but when I 
> am trying to send callback to Asset_A.js from SD_A.js then call back not 
> going.  
> I am getting following error.   
> {code}
>  E/chromium: [ERROR:interface_registry.cc(104)] Failed to locate a binder for 
> interface: autofill::mojom::PasswordManagerDriver
> D/CordovaWebViewImpl: 
> onPageFinished(file:///data/user/0/com.app.san/files/Web/index.html)
> D/JsMessageQueue: Set native->JS mode to null
> D/CordovaWebViewImpl: 
> onPageDidNavigate(file:///data/user/0/com.app.san/files/Web/index.html)
> W/cr_BindingManager: Cannot call determinedVisibility() - never saw a 
> connection for the pid: 28198
> D/JsMessageQueue: Set native->JS mode to EvalBridgeMode
> {code}



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



[jira] [Updated] (CB-12362) [ERROR:interface_registry.cc(104)] Failed to locate a binder for interface: autofill::mojom::PasswordManagerDriver

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12362:
--
Description: 
I am downloading some pages on SD card and that pages I am calling from asset.  

Example. 
Asset_A.html opening SD_A.html using Asset_A.js. It's working fine but when I 
am trying to send callback to Asset_A.js from SD_A.js then call back not going. 
 

I am getting following error.   
{code}
 E/chromium: [ERROR:interface_registry.cc(104)] Failed to locate a binder for 
interface: autofill::mojom::PasswordManagerDriver
D/CordovaWebViewImpl: 
onPageFinished(file:///data/user/0/com.app.san/files/Web/index.html)
D/JsMessageQueue: Set native->JS mode to null
D/CordovaWebViewImpl: 
onPageDidNavigate(file:///data/user/0/com.app.san/files/Web/index.html)
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a 
connection for the pid: 28198
D/JsMessageQueue: Set native->JS mode to EvalBridgeMode
{code}

  was:
I am downloading some pages on SD card and that pages I am calling from asset.  

Example. 
Asset_A.html opening SD_A.html using Asset_A.js. It's working fine but when I 
am trying to send callback to Asset_A.js from SD_A.js then call back not going. 
 

I am getting following error.   

 E/chromium: [ERROR:interface_registry.cc(104)] Failed to locate a binder for 
interface: autofill::mojom::PasswordManagerDriver
D/CordovaWebViewImpl: 
onPageFinished(file:///data/user/0/com.app.san/files/Web/index.html)
D/JsMessageQueue: Set native->JS mode to null
D/CordovaWebViewImpl: 
onPageDidNavigate(file:///data/user/0/com.app.san/files/Web/index.html)
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a 
connection for the pid: 28198
D/JsMessageQueue: Set native->JS mode to EvalBridgeMode


> [ERROR:interface_registry.cc(104)] Failed to locate a binder for interface: 
> autofill::mojom::PasswordManagerDriver
> --
>
> Key: CB-12362
> URL: https://issues.apache.org/jira/browse/CB-12362
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.5.0
> Environment: Cordova 6.4.0
>Reporter: Sandeep Armal
>
> I am downloading some pages on SD card and that pages I am calling from 
> asset.  
> Example. 
> Asset_A.html opening SD_A.html using Asset_A.js. It's working fine but when I 
> am trying to send callback to Asset_A.js from SD_A.js then call back not 
> going.  
> I am getting following error.   
> {code}
>  E/chromium: [ERROR:interface_registry.cc(104)] Failed to locate a binder for 
> interface: autofill::mojom::PasswordManagerDriver
> D/CordovaWebViewImpl: 
> onPageFinished(file:///data/user/0/com.app.san/files/Web/index.html)
> D/JsMessageQueue: Set native->JS mode to null
> D/CordovaWebViewImpl: 
> onPageDidNavigate(file:///data/user/0/com.app.san/files/Web/index.html)
> W/cr_BindingManager: Cannot call determinedVisibility() - never saw a 
> connection for the pid: 28198
> D/JsMessageQueue: Set native->JS mode to EvalBridgeMode
> {code}



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



[jira] [Updated] (CB-12373) Plugins Release, Thu Jan 19 2017

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12373:
--
Component/s: AllPlugins

> Plugins Release, Thu Jan 19 2017
> 
>
> Key: CB-12373
> URL: https://issues.apache.org/jira/browse/CB-12373
> Project: Apache Cordova
>  Issue Type: Task
>  Components: AllPlugins
>Reporter: Filip Maj
>Assignee: Filip Maj
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md



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



[jira] [Updated] (CB-12401) Online documentation bug

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12401:
--
Component/s: Docs

> Online documentation bug
> 
>
> Key: CB-12401
> URL: https://issues.apache.org/jira/browse/CB-12401
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Jedat Kinports
>  Labels: documentation-update
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> On this page: 
> https://cordova.apache.org/docs/en/latest/guide/platforms/ios/#project-configuration
>  under "Deploying to Device" it should say: "2. Verify that the Code Signing 
> Identity setting within the Code Signing section within the build settings is 
> set to your certificate name." instead of: "2. Verify that the Code Signing 
> Identity setting within the Code Signing section within the build settings is 
> set to your provisioning profile name.".



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



[jira] [Updated] (CB-12401) Online documentation bug

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12401:
--
Description: 
On this page: 
https://cordova.apache.org/docs/en/latest/guide/platforms/ios/#project-configuration
 under "Deploying to Device",

 it should say: 
"2. Verify that the Code Signing Identity setting within the Code Signing 
section within the build settings is set to your certificate name." 

instead of:
"2. Verify that the Code Signing Identity setting within the Code Signing 
section within the build settings is set to your provisioning profile name.".

  was:On this page: 
https://cordova.apache.org/docs/en/latest/guide/platforms/ios/#project-configuration
 under "Deploying to Device" it should say: "2. Verify that the Code Signing 
Identity setting within the Code Signing section within the build settings is 
set to your certificate name." instead of: "2. Verify that the Code Signing 
Identity setting within the Code Signing section within the build settings is 
set to your provisioning profile name.".


> Online documentation bug
> 
>
> Key: CB-12401
> URL: https://issues.apache.org/jira/browse/CB-12401
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Jedat Kinports
>  Labels: documentation-update
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> On this page: 
> https://cordova.apache.org/docs/en/latest/guide/platforms/ios/#project-configuration
>  under "Deploying to Device",
>  it should say: 
> "2. Verify that the Code Signing Identity setting within the Code Signing 
> section within the build settings is set to your certificate name." 
> instead of:
> "2. Verify that the Code Signing Identity setting within the Code Signing 
> section within the build settings is set to your provisioning profile name.".



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



[jira] [Updated] (CB-12404) Cordova-Windows Platform Release January 27, 2017

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12404:
--
Component/s: Windows

> Cordova-Windows Platform Release January 27, 2017
> -
>
> Key: CB-12404
> URL: https://issues.apache.org/jira/browse/CB-12404
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>
> 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.15#6346)

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



[jira] [Resolved] (CB-12404) Cordova-Windows Platform Release January 27, 2017

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-12404.
---
Resolution: Done

> Cordova-Windows Platform Release January 27, 2017
> -
>
> Key: CB-12404
> URL: https://issues.apache.org/jira/browse/CB-12404
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Windows
>Reporter: Sergey Shakhnazarov
>
> 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.15#6346)

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



[jira] [Updated] (CB-12426) CLI Text Color

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12426:
--
Component/s: CLI

> CLI Text Color
> --
>
> Key: CB-12426
> URL: https://issues.apache.org/jira/browse/CB-12426
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: Lumine
>Priority: Minor
>
> This might sounds a bit silly but here I got an issue
> I use windows as my development machine and so I use Command Prompt as the 
> terminal.
> I use custom color for the text, its pure green (0, 255, 0) and sometimes, 
> when I issue a cordova (or ionic) command, the text color change into darker 
> green
> though this only appears on several cases like issuing a "run" or "build" 
> command for example, or when the command ends with an error, this is quite 
> annoying for me
> So is there any workaround against this?



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



[jira] [Assigned] (CB-12430) URL Redirection to Untrusted Site ('Open Redirect')

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-12430:
-

Assignee: Shazron Abdullah

> URL Redirection to Untrusted Site ('Open Redirect') 
> 
>
> Key: CB-12430
> URL: https://issues.apache.org/jira/browse/CB-12430
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Sahil
>Assignee: Shazron Abdullah
>
> In VARACODE Scan of android Application following flaw was observed.
> Attack Vector: android.webkit.WebView.loadUrl
> Description: This call to android.webkit.WebView.loadUrl() contains a URL 
> redirection to untrusted site flaw. Writing unsanitized user-supplied input 
> into a URL value could cause the web application to redirect the request to 
> the specified URL, leading to phishing attempts to steal user credentials.



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



[jira] [Updated] (CB-12430) URL Redirection to Untrusted Site ('Open Redirect')

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12430:
--
Component/s: Android

> URL Redirection to Untrusted Site ('Open Redirect') 
> 
>
> Key: CB-12430
> URL: https://issues.apache.org/jira/browse/CB-12430
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Sahil
>Assignee: Shazron Abdullah
>
> In VARACODE Scan of android Application following flaw was observed.
> Attack Vector: android.webkit.WebView.loadUrl
> Description: This call to android.webkit.WebView.loadUrl() contains a URL 
> redirection to untrusted site flaw. Writing unsanitized user-supplied input 
> into a URL value could cause the web application to redirect the request to 
> the specified URL, leading to phishing attempts to steal user credentials.



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



[jira] [Assigned] (CB-12430) URL Redirection to Untrusted Site ('Open Redirect')

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-12430:
-

Assignee: (was: Shazron Abdullah)

> URL Redirection to Untrusted Site ('Open Redirect') 
> 
>
> Key: CB-12430
> URL: https://issues.apache.org/jira/browse/CB-12430
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Sahil
>
> In VARACODE Scan of android Application following flaw was observed.
> Attack Vector: android.webkit.WebView.loadUrl
> Description: This call to android.webkit.WebView.loadUrl() contains a URL 
> redirection to untrusted site flaw. Writing unsanitized user-supplied input 
> into a URL value could cause the web application to redirect the request to 
> the specified URL, leading to phishing attempts to steal user credentials.



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



[jira] [Updated] (CB-12431) Information Exposure Through an Error Message

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12431:
--
Component/s: Android

> Information Exposure Through an Error Message 
> --
>
> Key: CB-12431
> URL: https://issues.apache.org/jira/browse/CB-12431
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Sahil
>
> During VARACODE Static Scan for the Cordova based android App has the 
> foloowing Flaw
> Attack Vector: java.lang.Throwable.printStackTrace
> Description:  The application calls the java.lang.Throwable.printStackTrace() 
> function, which may expose information about the application logic or other 
> details such as the names and versions of the application container and 
> associated components. This information can be useful in executing other 
> attacks and can also enable the attacker to target known vulnerabilities in 
> application components. The first argument to printStackTrace() contains data 
> from an error message (possibly containing user-specified or database data) 
> from the variables (new PrintWriter(...)). The data from an error message 
> (possibly containing user-specified or database data) originated from an 
> earlier call to java.lang.exception.printstacktrace.
> Remediation: Ensure that error codes or other messages returned to end users 
> are not overly verbose. Sanitize all messages of any sensitive information 
> that is not absolutely necessary.



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



[jira] [Updated] (CB-12458) [cordova-plugin-camera] - The information about old versions of the plugin install the deprecated ID is missing in the README

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12458:
--
Description: 
The information about old versions of the plugin install the deprecated ID is 
missing in the README of the cordova-plugin-camera 
(https://github.com/apache/cordova-plugin-camera)

*Example:*

*Add plugin without defining the version of the plugin. ( lastest )*
 {code}
dhcp-17-22:01789921-Cordova-App cmacedo$ cordova plugin add 
cordova-plugin-camera --save
Saved plugin info for "cordova-plugin-camera" to config.xml
dhcp-17-22:01789921-Cordova-App cmacedo$ cat config.xml 

http://www.w3.org/ns/widgets; 
xmlns:cdv="http://cordova.apache.org/ns/1.0;>
Blank App

This is an hybrid app, built using Cordova










*Add plugin with the definition of the version as 0.2.7.*  

dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cordova plugin add 
cordova-plugin-camera@0.2.7 --save
Fetching plugin "cordova-plugin-camera@0.2.7" via npm
Saved plugin info for "org.apache.cordova.camera" to config.xml
dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cat config.xml 

http://www.w3.org/ns/widgets; 
xmlns:cdv="http://cordova.apache.org/ns/1.0;>
Blank App

This is an hybrid app, built using Cordova










 {code}
*Cordova CLI tool used*

dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cordova -g -v
6.4.0

*Point of the documentation*

Installation

This requires cordova 5.0+

cordova plugin add cordova-plugin-camera
Older versions of cordova can still install via the deprecated id

cordova plugin add org.apache.cordova.camera
It is also possible to install via repo url directly ( unstable )

cordova plugin add https://github.com/apache/cordova-plugin-camera.git 


  was:
The information about old versions of the plugin install the deprecated ID is 
missing in the README of the cordova-plugin-camera 
(https://github.com/apache/cordova-plugin-camera)

*Example:*

*Add plugin without defining the version of the plugin. ( lastest )*
 
dhcp-17-22:01789921-Cordova-App cmacedo$ cordova plugin add 
cordova-plugin-camera --save
Saved plugin info for "cordova-plugin-camera" to config.xml
dhcp-17-22:01789921-Cordova-App cmacedo$ cat config.xml 

http://www.w3.org/ns/widgets; 
xmlns:cdv="http://cordova.apache.org/ns/1.0;>
Blank App

This is an hybrid app, built using Cordova










*Add plugin with the definition of the version as 0.2.7.*  

dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cordova plugin add 
cordova-plugin-camera@0.2.7 --save
Fetching plugin "cordova-plugin-camera@0.2.7" via npm
Saved plugin info for "org.apache.cordova.camera" to config.xml
dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cat config.xml 

http://www.w3.org/ns/widgets; 
xmlns:cdv="http://cordova.apache.org/ns/1.0;>
Blank App

This is an hybrid app, built using Cordova











*Cordova CLI tool used*

dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cordova -g -v
6.4.0

*Point of the documentation*

Installation

This requires cordova 5.0+

cordova plugin add cordova-plugin-camera
Older versions of cordova can still install via the deprecated id

cordova plugin add org.apache.cordova.camera
It is also possible to install via repo url directly ( unstable )

cordova plugin add https://github.com/apache/cordova-plugin-camera.git 


Component/s: Plugin Camera

> [cordova-plugin-camera] - The information about old versions of the plugin 
> install the deprecated ID is missing in the README
> -
>
> Key: CB-12458
> URL: https://issues.apache.org/jira/browse/CB-12458
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: Camila Macedo
>  Labels: camera, plugin, readme
>
> The information about old versions of the plugin install the deprecated ID is 
> missing in the README of the cordova-plugin-camera 
> (https://github.com/apache/cordova-plugin-camera)
> *Example:*
> *Add plugin without defining the version of the plugin. ( lastest )*
>  {code}
> dhcp-17-22:01789921-Cordova-App cmacedo$ cordova plugin add 
> cordova-plugin-camera --save
> Saved plugin info for "cordova-plugin-camera" to config.xml
> dhcp-17-22:01789921-Cordova-App cmacedo$ cat config.xml 
> 
>  xmlns="http://www.w3.org/ns/widgets; 
> xmlns:cdv="http://cordova.apache.org/ns/1.0;>
> Blank App
> 
> This is an hybrid app, built using Cordova
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *Add plugin with the definition of the version as 0.2.7.*  
> dhcp-17-22:CordovaHello-Cordova-App cmacedo$ cordova plugin add 
> 

[jira] [Updated] (CB-12442) npm install -g cordova fails

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12442:
--
Component/s: CLI

> npm install -g cordova  fails
> -
>
> Key: CB-12442
> URL: https://issues.apache.org/jira/browse/CB-12442
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: windows 7 home premium
>Reporter: Bill Morgan
>Priority: Blocker
>
> npm install -g cordova fails on Windows...
> recently installed nodejs (upgrade)
> npm ERR! Windows_NT 6.1.7601
> npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files 
> (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
> npm ERR! node v6.9.5
> npm ERR! npm  v3.10.10
> npm ERR! path 
> C:\Users\Bill\AppData\Roaming\npm\node_modules\.staging\abbrev-8e8eafc3
> npm ERR! code ENOENT
> npm ERR! errno -4058
> npm ERR! syscall rename



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



[jira] [Updated] (CB-12480) Blackberry10 build error

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12480:
--
Component/s: BlackBerry

> Blackberry10 build error
> 
>
> Key: CB-12480
> URL: https://issues.apache.org/jira/browse/CB-12480
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Reporter: Jason Vertucio
>
> I don't know when this change happened but I believe it started at version 
> 6.4.0.
> *To reproduce*
> # Run cordova build blackberry10
> *Expected result*
> # It builds
> *Actual result*
> {code}
> Error loading cordova-blackberry10
> Error: Unable to graft xml at selector "/widget/rim:permissions" from 
> "/Users/Jason/Code/SVN/MyApp/platforms/blackberry10/www/config.xml" during 
> config install
> {code}
> Additionally, on prior versions (and possibly current versions once this is 
> fixed), if I do not remove build.json I receive an error, {{error: unknown 
> option `--buildConfig=/Users/Jason/Code/SVN/MyApp/build.json'}}.
> I am forced to both use an old version of Cordova, as well as temporarily 
> remove this file whenever I have to build my cross-platform app for 
> Blackberry.



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



[jira] [Updated] (CB-12507) iOS status bar covers webview when returning from sharing

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12507:
--
Component/s: (was: iOS)

> iOS status bar covers webview when returning from sharing
> -
>
> Key: CB-12507
> URL: https://issues.apache.org/jira/browse/CB-12507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
>Affects Versions: 2.2.1
> Environment: iOS 10x, iPhone 7
>Reporter: Benjamin LUPU
>Priority: Minor
>
> I use the social sharing plugin from Eddy Verbruggen 
> (https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin).
> Since I've upgraded to version 2.2.1 of StatusBar, the iOS status bar 
> overlays the webview when returning from the sharing app (eg. mail app).
> Workaround: downgrading to 2.2.0 resolves the problem.



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



[jira] [Commented] (CB-12272) cordova-ios: installation of plugin with pod dependency fails: pod install silently exits

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12272:
---

Hmm strange that "-d" (--verbose) did not include the "pod install" output.

> cordova-ios: installation of plugin with pod dependency fails: pod install 
> silently exits
> -
>
> Key: CB-12272
> URL: https://issues.apache.org/jira/browse/CB-12272
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.3.1
> Environment: Mac OS X 10.12.2
> Xcode 8.2
> iPhoneOS10.2.sdk - iOS 10.2 
> Cocoapods 1.1.0.rc.3
> cordova@6.4.0
> cordova-ios@4.3.1
>Reporter: Jean-Marc Terrettaz
>Priority: Minor
>  Labels: cordova-ios-4.3.x
> Fix For: cordova-ios@4.4.0
>
> Attachments: hello-world.zip, plugin.xml
>
>
> I have a Cordova plugin which has a 'framework' dependency of type 'podspec' 
> (see attached plugin.xml). When I add this plugin to a Cordova app on my 
> MacBook, everything works fine, the plugin gets installed and then 'pod 
> install' ist called and runs fine. 
> I am automating the build on MacServer nodes of our Jenkins CI. The plugin 
> installation fails there. 
> I run this script : 
> {code}
> CORDOVA_VERSION=6.4.0
> npm install cordova@${CORDOVA_VERSION}
> PATH=$PATH:/usr/local/bin/:$(pwd)/node_modules/cordova/bin
> rm -rf hello-world
> cordova create hello-world
> cd hello-world
> cordova platform add ios@4.3.1
> cordova -d plugin add sbb-cordova-plugin-onboarding@0.0.5
> {code}
> The plugin add command fails with this output: 
> {code}
> + cordova -d plugin add sbb-cordova-plugin-onboarding@0.0.5
> You have been opted out of telemetry. To change this, run: cordova telemetry 
> on.
> No scripts found for hook "before_plugin_add".
> Calling plugman.fetch on plugin "sbb-cordova-plugin-onboarding@0.0.5"
> Fetching plugin "sbb-cordova-plugin-onboarding@0.0.5" via npm
> Copying plugin 
> "/Users/admin/.cordova/lib/npm_cache/sbb-cordova-plugin-onboarding/0.0.5/package"
>  => 
> "/Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/plugins/sbb-cordova-plugin-onboarding"
> Calling plugman.install on plugin 
> "/Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/plugins/sbb-cordova-plugin-onboarding"
>  for platform "ios
> Installing "sbb-cordova-plugin-onboarding" for ios
> Running command: 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/cordova/version
>  
> Command finished with error code 0: 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/cordova/version
>  
> Finding scripts for "before_plugin_install" hook from plugin 
> sbb-cordova-plugin-onboarding on ios platform only.
> No scripts found for hook "before_plugin_install".
> Install start for "sbb-cordova-plugin-onboarding" on ios.
> Beginning processing of action stack for ios project...
> Action stack processing complete.
> Adding pods since the plugin contained (s) with type="podspec"
> pods.json: The file at 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/pods.json
>  does not exist.
> Creating new pods.json in platforms/ios
> Wrote to pods.json.
> Podfile: The file at 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/Podfile
>  does not exist.
> Creating new Podfile in platforms/ios
> Wrote to Podfile.
> Set pods.json for `SBBSMPLib`
> Added pod line for `SBBSMPLib`
> Wrote to pods.json.
> Wrote to Podfile.
> Running `pod install` (to install plugins)
> Failed to install 'sbb-cordova-plugin-onboarding':undefined
> Error: Version should contain only numbers and dots
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
> {code}
> pod install does nothing but gives no error. 
> So I guess the problem has to do with the environment but it is for me very 
> difficult to find the cause of the problem without a more detailled error 
> message or more informations.
> Is there any way to get  more information or detailled error message?
> I attach the whole 'hello-world' Cordova app as it is after the build failure.
> Thanks,



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



[jira] [Updated] (CB-12272) cordova-ios: installation of plugin with pod dependency fails: pod install silently exits

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12272:
--
Fix Version/s: cordova-ios@4.4.0

> cordova-ios: installation of plugin with pod dependency fails: pod install 
> silently exits
> -
>
> Key: CB-12272
> URL: https://issues.apache.org/jira/browse/CB-12272
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.3.1
> Environment: Mac OS X 10.12.2
> Xcode 8.2
> iPhoneOS10.2.sdk - iOS 10.2 
> Cocoapods 1.1.0.rc.3
> cordova@6.4.0
> cordova-ios@4.3.1
>Reporter: Jean-Marc Terrettaz
>Priority: Minor
>  Labels: cordova-ios-4.3.x
> Fix For: cordova-ios@4.4.0
>
> Attachments: hello-world.zip, plugin.xml
>
>
> I have a Cordova plugin which has a 'framework' dependency of type 'podspec' 
> (see attached plugin.xml). When I add this plugin to a Cordova app on my 
> MacBook, everything works fine, the plugin gets installed and then 'pod 
> install' ist called and runs fine. 
> I am automating the build on MacServer nodes of our Jenkins CI. The plugin 
> installation fails there. 
> I run this script : 
> {code}
> CORDOVA_VERSION=6.4.0
> npm install cordova@${CORDOVA_VERSION}
> PATH=$PATH:/usr/local/bin/:$(pwd)/node_modules/cordova/bin
> rm -rf hello-world
> cordova create hello-world
> cd hello-world
> cordova platform add ios@4.3.1
> cordova -d plugin add sbb-cordova-plugin-onboarding@0.0.5
> {code}
> The plugin add command fails with this output: 
> {code}
> + cordova -d plugin add sbb-cordova-plugin-onboarding@0.0.5
> You have been opted out of telemetry. To change this, run: cordova telemetry 
> on.
> No scripts found for hook "before_plugin_add".
> Calling plugman.fetch on plugin "sbb-cordova-plugin-onboarding@0.0.5"
> Fetching plugin "sbb-cordova-plugin-onboarding@0.0.5" via npm
> Copying plugin 
> "/Users/admin/.cordova/lib/npm_cache/sbb-cordova-plugin-onboarding/0.0.5/package"
>  => 
> "/Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/plugins/sbb-cordova-plugin-onboarding"
> Calling plugman.install on plugin 
> "/Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/plugins/sbb-cordova-plugin-onboarding"
>  for platform "ios
> Installing "sbb-cordova-plugin-onboarding" for ios
> Running command: 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/cordova/version
>  
> Command finished with error code 0: 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/cordova/version
>  
> Finding scripts for "before_plugin_install" hook from plugin 
> sbb-cordova-plugin-onboarding on ios platform only.
> No scripts found for hook "before_plugin_install".
> Install start for "sbb-cordova-plugin-onboarding" on ios.
> Beginning processing of action stack for ios project...
> Action stack processing complete.
> Adding pods since the plugin contained (s) with type="podspec"
> pods.json: The file at 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/pods.json
>  does not exist.
> Creating new pods.json in platforms/ios
> Wrote to pods.json.
> Podfile: The file at 
> /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/Podfile
>  does not exist.
> Creating new Podfile in platforms/ios
> Wrote to Podfile.
> Set pods.json for `SBBSMPLib`
> Added pod line for `SBBSMPLib`
> Wrote to pods.json.
> Wrote to Podfile.
> Running `pod install` (to install plugins)
> Failed to install 'sbb-cordova-plugin-onboarding':undefined
> Error: Version should contain only numbers and dots
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
> {code}
> pod install does nothing but gives no error. 
> So I guess the problem has to do with the environment but it is for me very 
> difficult to find the cause of the problem without a more detailled error 
> message or more informations.
> Is there any way to get  more information or detailled error message?
> I attach the whole 'hello-world' Cordova app as it is after the build failure.
> Thanks,



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



[jira] [Updated] (CB-10137) preference 'target-device' and 'deployment-target' should modify the build.xcconfig file instead of the pbxproj

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10137:
--
Fix Version/s: cordova-ios@5.0.0

> preference 'target-device' and 'deployment-target' should modify the 
> build.xcconfig file instead of the pbxproj
> ---
>
> Key: CB-10137
> URL: https://issues.apache.org/jira/browse/CB-10137
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: cordova-ios-4.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: cordova-ios-4.1.1
> Fix For: cordova-ios@5.0.0
>
>
> Right now if you have this preference set, it takes precedence so you can't 
> override it in the build.xcconfig.
> All build settings should modify the build.xcconfig file instead.



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



[jira] [Updated] (CB-12435) Cordova iOS template 'C Language Dialect : C99[-std=c99]' cause Xcode compile error

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12435:
--
Fix Version/s: cordova-ios@4.4.0

> Cordova iOS template 'C Language Dialect : C99[-std=c99]' cause Xcode compile 
> error
> ---
>
> Key: CB-12435
> URL: https://issues.apache.org/jira/browse/CB-12435
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Affects Versions: 3.5.0
>Reporter: Carl
>Priority: Minor
> Fix For: cordova-ios@4.4.0
>
>
> The Cordova iOS template use C Language Dialect as C99[-std=c99], which will 
> make Xcode complain an error: 
> '__weak' only applies to Objective-C object or block pointer types; type here 
> is 'int'
> and I search google, try to change this value to GNU99(-std=gnu99) which fix 
> this problem, refer from 
> https://github.com/nst/STTwitter/issues/230#issuecomment-158335695



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



[jira] [Commented] (CB-12435) Cordova iOS template 'C Language Dialect : C99[-std=c99]' cause Xcode compile error

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12435:
---

How can I repro this? Just a plain new Cordova project, or with some plugins?

> Cordova iOS template 'C Language Dialect : C99[-std=c99]' cause Xcode compile 
> error
> ---
>
> Key: CB-12435
> URL: https://issues.apache.org/jira/browse/CB-12435
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Affects Versions: 3.5.0
>Reporter: Carl
>Priority: Minor
> Fix For: cordova-ios@4.4.0
>
>
> The Cordova iOS template use C Language Dialect as C99[-std=c99], which will 
> make Xcode complain an error: 
> '__weak' only applies to Objective-C object or block pointer types; type here 
> is 'int'
> and I search google, try to change this value to GNU99(-std=gnu99) which fix 
> this problem, refer from 
> https://github.com/nst/STTwitter/issues/230#issuecomment-158335695



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



[jira] [Updated] (CB-11319) Orientation preference is ignored on iOS

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11319:
--
Fix Version/s: cordova-ios@4.4.0

> Orientation preference is ignored on iOS
> 
>
> Key: CB-11319
> URL: https://issues.apache.org/jira/browse/CB-11319
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Roman Kisilenko
>Priority: Minor
>  Labels: triaged
> Fix For: cordova-ios@4.4.0
>
>
> This issue is similar to CB-6026
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.
> -- Cordova CLI: 6.1.1



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



[jira] [Updated] (CB-10130) Support iOS share extension

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10130:
--
Fix Version/s: cordova-ios@5.0.0

> Support iOS share extension
> ---
>
> Key: CB-10130
> URL: https://issues.apache.org/jira/browse/CB-10130
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Affects Versions: 5.3.3
>Reporter: Sebastien Lorber
>Priority: Minor
> Fix For: cordova-ios@5.0.0
>
>
> I have successfully been able to integrate a Share Extension (iOS >= 8) in a 
> Cordova project by using XCode.
> However it is kind of painful because it requires to version the xproj file, 
> or to add a manual procedure that the developer must do in XCode after 
> running cordova prepare ios
> It would be nice if it was more friendly to create an iOS share extension on 
> a Cordova project.
> I know it may be hard to reverse-engineer that xproj file so it is probably 
> not a priority, as there is also a workaroud.
> I have documented my steps here:
> http://stackoverflow.com/questions/33105698/cordova-sharing-browser-url-to-my-ios-app-clipper-ios-share-extension/34064913



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



[jira] [Updated] (CB-12309) Missing CLI help for --developmentTeam

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12309:
--
Fix Version/s: cordova-ios@4.4.0

> Missing CLI help for --developmentTeam
> --
>
> Key: CB-12309
> URL: https://issues.apache.org/jira/browse/CB-12309
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.3.1
>Reporter: Andreas Kohn
>Priority: Minor
> Fix For: cordova-ios@4.4.0
>
>
> See 
> https://github.com/apache/cordova-ios/blob/4.3.1/bin/templates/scripts/cordova/lib/build.js#L339
> This should document the --developmentTeam option.



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



[jira] [Resolved] (CB-4695) Messaging API plugin

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-4695.
--
Resolution: Won't Fix

100% unlikely that we will add this as a core plugin at this point

> Messaging API plugin
> 
>
> Key: CB-4695
> URL: https://issues.apache.org/jira/browse/CB-4695
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: Android, iOS
>Affects Versions: Master
>Reporter: Shazron Abdullah
>Priority: Minor
>
> This was sent to me from a Cordova user:
> {quote}
> One of my suggestions for the future would be that an SMS plugin be included 
> as part of the core API as it just seems anti-intuitive that a mobile 
> framework cannot allow a developer to access one of the most widely used 
> functionalities of mobile phones out-of-the-box.
> It was a genuine shock to me that something like Compass is included as part 
> of the core API which has an extremely small use case whereas the biggest use 
> case of sending SMSs is not covered and is only available third party.
> {quote}
> We do have the SysApps spec:
> http://messaging.sysapps.org/



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



[jira] [Resolved] (CB-10959) Retain the name of the index file

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-10959.
---
Resolution: Incomplete

Abandoned

> Retain the name of the index file
> -
>
> Key: CB-10959
> URL: https://issues.apache.org/jira/browse/CB-10959
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Andreas Kohn
>Priority: Minor
>
> When installing `cordova-labs-local-webserver` the scripts/after_install.js 
> file ignores the content/@src attribute, and just blindly assumes that the 
> value would have been `index.html`.
> Following up to CB-10958, we could easily also take the existing path into 
> account.



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



[jira] [Updated] (CB-1594) CDVViewController leaks

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-1594:
-
Fix Version/s: cordova-ios@5.0.0

> CDVViewController leaks
> ---
>
> Key: CB-1594
> URL: https://issues.apache.org/jira/browse/CB-1594
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: Master
>Reporter: Andrew Grieve
>Priority: Minor
> Fix For: cordova-ios@5.0.0
>
>
> Noticed when running the iOS unit tests that the retain count for 
> CDVViewController is unreasonably high, and that dealloc is never called for 
> it.



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



[jira] [Updated] (CB-11440) iOS: Remove default: disabled NSAppTransportSecurity - soon required by Apple

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11440:
--
Fix Version/s: cordova-ios@5.0.0

> iOS: Remove default: disabled NSAppTransportSecurity - soon required by Apple 
> --
>
> Key: CB-11440
> URL: https://issues.apache.org/jira/browse/CB-11440
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: cordova-ios 4.1.1
>Reporter: Michael Schmidt
>Assignee: Shazron Abdullah
>Priority: Blocker
>  Labels: iOS, triaged
> Fix For: cordova-ios@5.0.0
>
>
> iOS platform by default disables https:
> {code}
> NSAppTransportSecurity
> 
>   NSAllowsArbitraryLoads
>   
> 
> {code}
> Apple soon requires HTTPS:
> "Apple mandates App Store apps support ATS security protocol by 2017"
> http://appleinsider.com/articles/16/06/14/apple-mandates-app-store-apps-support-ats-security-protocol-by-2017
> --> remove this default from cordova ios platform



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



[jira] [Updated] (CB-11803) Plugin features don't get written to iOS-specific config.xml

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11803:
--
Fix Version/s: cordova-ios@5.0.0

> Plugin features don't get written to iOS-specific config.xml
> 
>
> Key: CB-11803
> URL: https://issues.apache.org/jira/browse/CB-11803
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 6.3.1
>Reporter: Matus Koprda
>Priority: Critical
> Fix For: cordova-ios@5.0.0
>
>
> When running `cordova prepare` or `cordova platform add ios` after adding 
> plugins, the platform-specific config.xml file for iOS 
> (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which 
> effectively prevents any installed plugin from working.
> The tags *do* get added when installing plugins *after* the iOS platform was 
> created.
> How to reproduce - this creates a working config.xml:
> {code}
>   cordova create test
>   cd test
>   cordova platform add ios
>   cordova plugin add cordova-plugin-device --save
> {code}
> This creates a broken config.xml (resulting in `Plugin 'Device' not found, or 
> is not a CDVPlugin.` error when running on a an iPhone):
> {code}
>   cordova create test
>   cd test
>   cordova plugin add cordova-plugin-device --save
>   cordova platform add ios
> {code}



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



[jira] [Updated] (CB-9772) Can't install .tbd dynamic libraries as plugin deps

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-9772:
-
Fix Version/s: cordova-ios@4.4.0

> Can't install .tbd dynamic libraries as plugin deps
> ---
>
> Key: CB-9772
> URL: https://issues.apache.org/jira/browse/CB-9772
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iOS
>Reporter: Adriano Di Giovanni
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.1.1
> Fix For: cordova-ios@4.4.0
>
>
> .dylib are now .tbd in iOS 9.
> I wrote a custom plugin in order to integrate Parse SDK into my Cordova app. 
> The plugin used libsqlite3.dylib and libz.dylib so I've updated it to work 
> with iOS 9. Thus, I changed related lines in plugin.xml from
> 
> 
> to
> 
> 
> Installation completes successfully but frameworks aren't linked correctly in 
> XCode.



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



[jira] [Updated] (CB-4475) Log an error when tag is missing value.

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-4475:
-
Environment: iOS, Android
Component/s: (was: Android)
 (was: iOS)
 CordovaLib

> Log an error when  tag is missing  value.
> -
>
> Key: CB-4475
> URL: https://issues.apache.org/jira/browse/CB-4475
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 3.0.0
> Environment: iOS, Android
>Reporter: Andrew Grieve
>Priority: Minor
>
> Right now we silently ignore when we have a  with a missing or 
> invalid .



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



[jira] [Updated] (CB-9794) cordova run ios --target does not use versioned simulators

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-9794:
-
Fix Version/s: cordova-ios@4.4.0

> cordova run ios --target does not use versioned simulators
> --
>
> Key: CB-9794
> URL: https://issues.apache.org/jira/browse/CB-9794
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>Priority: Minor
>  Labels: cordova-ios-4.1.1, triaged
> Fix For: cordova-ios@4.4.0
>
>
> This stack-overflow points out an issue with the 'validTargets' list of 
> simulators, and the actual list returned by ios-sim
> http://stackoverflow.com/questions/22310526/cordova-start-specific-ios-emulator-image/29705666#29705666
> We need to use the ios-sim device list as validTargets so users can 
> accurately target 'iPhone-4s, 7.1' ...



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



[jira] [Resolved] (CB-79) Add support for iOS banner notifications

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-79.

Resolution: Won't Fix

100% likelihood we are not going to implement this as a core plugin. There are 
3rd party plugins that provide this functionality I believe.

> Add support for iOS banner notifications
> 
>
> Key: CB-79
> URL: https://issues.apache.org/jira/browse/CB-79
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
> Environment: iOS
>Reporter: Robert La Ferla
>Priority: Minor
>
> Add support for iOS banner notifications (1-2 line messages that appear 
> across the top of the screen.)
> May I suggest adding the function:
> navigator.notification.banner()



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



[jira] [Updated] (CB-10373) Cordova camera plugin (navigator.camera.getPicture) add option to pick video is full screen instead of popover on iPad

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10373:
--
Environment: iOS
Component/s: (was: iOS)

> Cordova camera plugin (navigator.camera.getPicture) add option to pick video 
> is full screen instead of popover on iPad
> --
>
> Key: CB-10373
> URL: https://issues.apache.org/jira/browse/CB-10373
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Camera
> Environment: iOS
>Reporter: Vasyl Kovalisko
>Priority: Minor
>
> I have an issue on iPad when using navigator.camera.getPicture(...). I am 
> trying to pick Video from library. I found that on iPad my viewer to pick 
> video files is very small. 
> How can I make this view to be full screen?
> This is my code to execute picking video from gallery:
> function () {
>   var defer = $q.defer();
>   navigator.camera.getPicture(
> function (mediaFiles) {
>   defer.resolve(mediaFiles);
> },
> function (errorData) {
>   defer.reject(errorData);
> },
> {
>   quality: 100,
>   allowEdit: false,
>   mediaType: Camera.MediaType.VIDEO,
>   sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
>   destinationType: Camera.DestinationType.FILE_URI
> });
> return defer.promise;
> }



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



[jira] [Updated] (CB-6275) Docs should be updated to reflect that all platforms support backgroundColor in config.xml

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6275:
-
Fix Version/s: cordova-ios@4.4.0

> Docs should be updated to reflect that all platforms support backgroundColor 
> in config.xml
> --
>
> Key: CB-6275
> URL: https://issues.apache.org/jira/browse/CB-6275
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Docs
>Reporter: Jesse MacFadyen
>Priority: Minor
> Fix For: cordova-ios@4.4.0
>
>
> After the others are done 



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



[jira] [Updated] (CB-10947) Minor icon issues

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10947:
--
Fix Version/s: cordova-ios@4.4.0

> Minor icon issues
> -
>
> Key: CB-10947
> URL: https://issues.apache.org/jira/browse/CB-10947
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs, iOS
>Affects Versions: 6.0.0
> Environment: Cordova CLI 6.0, Cordova iOS 4.1.0
>Reporter: Jacob Weber
>Priority: Minor
>  Labels: ios
> Fix For: cordova-ios@4.4.0
>
>
> * On the [docs for 
> icons|https://cordova.apache.org/docs/en/latest/config_ref/images.html], it 
> lists icon...@2x.png. This is copied into the iOS project, but it's not used 
> in the icon set's Contents.json file. It can probably be removed from the 
> docs.
> * That docs page doesn't list icon-8...@2x.png, which was recently added to 
> the code.
> * The icon set's Contents.json file uses icon...@3x.png twice, once for the 
> 40@3x icon, and once for the 60@2x icon. They're the same size, but you might 
> not want to use the same file for both (since the first one is a Spotlight 
> icon, and the second is an App icon).



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



[jira] [Updated] (CB-11389) Prevent Cordova from creating launch images

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11389:
--
Fix Version/s: (was: 6.1.1)
   (was: 6.0.0)
   cordova-ios@5.0.0

> Prevent Cordova from creating launch images
> ---
>
> Key: CB-11389
> URL: https://issues.apache.org/jira/browse/CB-11389
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Affects Versions: 6.0.0, 6.1.1
> Environment: Normal Cordova project.
>Reporter: Andrea Tino
>Priority: Minor
> Fix For: cordova-ios@5.0.0
>
>
> When creating a project, I do not want default launch images to be created as 
> a storyboard will be used instead.
> However, if no launch images are specified in the config file, then Cordova 
> will create default launch screens. How to prevent them from being created, 
> and how to remove the ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME setting as well?



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



[jira] [Updated] (CB-10700) iOS BackupWebStorage setting in config.xml is ignored

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10700:
--
Fix Version/s: cordova-ios@4.4.0

> iOS BackupWebStorage setting in config.xml is ignored
> -
>
> Key: CB-10700
> URL: https://issues.apache.org/jira/browse/CB-10700
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: Xcode
>Reporter: Michael Stanford
>Priority: Minor
>  Labels: cordova-ios-4.1.1, triaged
> Fix For: cordova-ios@4.4.0
>
>
> When I put a BackupWebStorage setting in my config.xml, "$ cordova build" 
> leaves the ios/cordova/defaults.xml entry ('cloud') at the top of the  
> resulting iOS//config.xml file, so there are two BackupWebStorage  
> entries in it after building.
> Does this break the "Validity constraint: No Duplicate Types" constraint in 
> the XML spec?
> In any case, on my system it seems to be obeying the default rule rather than 
> the one from the config.xml file, so following the documentation at 
> https://cordova.apache.org/docs/en/latest/guide/platforms/ios/config.html 
> seems to be futile.



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



[jira] [Updated] (CB-12123) Failed to expand identifiers

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12123:
--
Fix Version/s: cordova-ios@4.4.1

> Failed to expand identifiers
> 
>
> Key: CB-12123
> URL: https://issues.apache.org/jira/browse/CB-12123
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: xcode 8 , iOS 10 , cordova-ios 4.3.0, cordova  6.4.0
>Reporter: Shibi Nirappel Sridharan
> Fix For: cordova-ios@4.4.1
>
>
> I am trying to build cordova ios application using grunt . It woks fine if I 
> don't add app group to capabilities. Once add app group 
> group.com.XXX.internal.ent2.XXX.XXX. to app group  the build is failing  
> {code}
> Fatal error: 2016-11-08 00:25:56.864 xcodebuild[23503:1306316] [MT] 
> DVTAssertions: Warning in 
> /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
> Details:  Failed to expand identifiers "{(
> "group.com.XXX.internal.ent2.XXX.XXX."
> )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a 
> selected developer portal team." UserInfo={NSLocalizedDescription=The 
> operation requires a selected developer portal team., 
> NSLocalizedRecoverySuggestion=}
> Object:   
> Method:   -_appIDFeatureStateIncludingEntitlements:
> Thread:   {number = 1, name = main}
> Please file a bug at http://bugreport.apple.com with this warning message and 
> any useful information you can provide.
> {code}



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



[jira] [Resolved] (CB-12376) IOS log issues

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-12376.
---
Resolution: Incomplete

Please re-open when you have provided the requested info.

> IOS log issues
> --
>
> Key: CB-12376
> URL: https://issues.apache.org/jira/browse/CB-12376
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.4.0
> Environment: macOS Sierra 10.12.2
> Xcode 8.2.1
>Reporter: Sami Silmani
>
> Logging in ios doesn't work event after adding the plugin 
> cordova-plugin-console
> steps to reproduce the bug:
> {code}
> cordova create myApp com.cordova.myApp
> cd myApp/
> cordova plugin add cordova-plugin-console
> cd www
> vi js/index.js 
> cordova emulate ios
> {code}
> in index.js i added 3 console.logs only the on device ready and Received 
> Event are displayed on the xcode console log, all the others on the index.js 
> and the code added later doesn't work, the log works fine on android.
> {code:title=index.js|borderStyle=solid}
> console.log("starting log");
> var app = {
> // Application Constructor
> initialize: function() {
> document.addEventListener('deviceready', 
> this.onDeviceReady.bind(this), false);
> console.log("init function");
> },
> // deviceready Event Handler
> //
> // Bind any cordova events here. Common events are:
> // 'pause', 'resume', etc.
> onDeviceReady: function() {
> this.receivedEvent('deviceready');
> console.log("on device ready");
> },
> // Update DOM on a Received Event
> receivedEvent: function(id) {
> var parentElement = document.getElementById(id);
> var listeningElement = parentElement.querySelector('.listening');
> var receivedElement = parentElement.querySelector('.received');
> listeningElement.setAttribute('style', 'display:none;');
> receivedElement.setAttribute('style', 'display:block;');
> console.log('Received Event: ' + id);
> }
> };
> app.initialize();
> {code}



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



[jira] [Updated] (CB-10026) Fix warnings in Objective-C tests

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10026:
--
Fix Version/s: cordova-ios@4.4.0

> Fix warnings in Objective-C tests
> -
>
> Key: CB-10026
> URL: https://issues.apache.org/jira/browse/CB-10026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Shazron Abdullah
>Priority: Minor
>  Labels: easyfix, iOS
> Fix For: cordova-ios@4.4.0
>
>
> Some deprecated items in there.
> Run the workspace in ./tests



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



[jira] [Updated] (CB-12123) Failed to expand identifiers

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12123:
--
Description: 
I am trying to build cordova ios application using grunt . It woks fine if I 
don't add app group to capabilities. Once add app group 
group.com.XXX.internal.ent2.XXX.XXX. to app group  the build is failing  
{code}
Fatal error: 2016-11-08 00:25:56.864 xcodebuild[23503:1306316] [MT] 
DVTAssertions: Warning in 
/Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.XXX.internal.ent2.XXX.XXX."
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a 
selected developer portal team." UserInfo={NSLocalizedDescription=The operation 
requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   {number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and 
any useful information you can provide.
{code}


  was:
I am trying to build cordova ios application using grunt . It woks fine if I 
don't add app group to capabilities. Once add app group 
group.com.XXX.internal.ent2.XXX.XXX. to app group  the build is failing  

Fatal error: 2016-11-08 00:25:56.864 xcodebuild[23503:1306316] [MT] 
DVTAssertions: Warning in 
/Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.XXX.internal.ent2.XXX.XXX."
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a 
selected developer portal team." UserInfo={NSLocalizedDescription=The operation 
requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   {number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and 
any useful information you can provide.




> Failed to expand identifiers
> 
>
> Key: CB-12123
> URL: https://issues.apache.org/jira/browse/CB-12123
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: xcode 8 , iOS 10 , cordova-ios 4.3.0, cordova  6.4.0
>Reporter: Shibi Nirappel Sridharan
>
> I am trying to build cordova ios application using grunt . It woks fine if I 
> don't add app group to capabilities. Once add app group 
> group.com.XXX.internal.ent2.XXX.XXX. to app group  the build is failing  
> {code}
> Fatal error: 2016-11-08 00:25:56.864 xcodebuild[23503:1306316] [MT] 
> DVTAssertions: Warning in 
> /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11527/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
> Details:  Failed to expand identifiers "{(
> "group.com.XXX.internal.ent2.XXX.XXX."
> )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a 
> selected developer portal team." UserInfo={NSLocalizedDescription=The 
> operation requires a selected developer portal team., 
> NSLocalizedRecoverySuggestion=}
> Object:   
> Method:   -_appIDFeatureStateIncludingEntitlements:
> Thread:   {number = 1, name = main}
> Please file a bug at http://bugreport.apple.com with this warning message and 
> any useful information you can provide.
> {code}



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



[jira] [Resolved] (CB-11897) cordova-plugin-wkwebview-engine crashes app on startup if Safari is set to "Automatically Show Web Inspector for JSContexts"

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11897.
---
Resolution: Won't Fix

> cordova-plugin-wkwebview-engine crashes app on startup if Safari is set to 
> "Automatically Show Web Inspector for JSContexts" 
> -
>
> Key: CB-11897
> URL: https://issues.apache.org/jira/browse/CB-11897
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin WKWebViewEngine
>Affects Versions: 1.1.0
> Environment: iOS
>Reporter: Brad Reynolds
>Assignee: Shazron Abdullah
>
> If in Safari the Simulator/iPhone is set to automatically show web inspector 
> when the cordova-plugin-wkwebview-engine is in use the app will crash on 
> startup.
> Versions: 
> Safari: 10.0 (12602.1.50.0.10)
> OS X: 10.12 (16A323)
> Xcode: 8.0 (8A218a)
> Cordova: 6.3.1
> Cordova WebKit Engine: 1.1.0
> To repro:
> 1. Create a new test app and add the cordova-plugin-wkwebview-engine plugin 
> to it.
> 2. Open the iOS project in Xcode.
> 3. Run the Simulator.
> If it didn't crash:
> 4. In Safari go to Develop->Simulator->Automatically Show Web Inspector for 
> JSContexts and ensure it's checked.
> 5. Restart the app in Xcode.  It should crash.
> The output in Xcode will be something like:
> {quote}
> testApp(3824,0x1ae6eec40) malloc: *** error for object 0x1700a7e60: pointer 
> being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> {quote}
> I spent most of the day trying to repro this consistently because I was 
> seeing the crash on my iPhone but not in the Simulator.  Once I realized it 
> was this setting I'm able to reproduce it consistently on both.
> Also if you remove the CordovaWebViewEngine preference that is set to 
> CDVWKWebViewEngine the app will not crash.



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



[jira] [Commented] (CB-11897) cordova-plugin-wkwebview-engine crashes app on startup if Safari is set to "Automatically Show Web Inspector for JSContexts"

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11897:
---

Because this feature is out of our control. And outside the scope of Cordova to 
be able to fix.

> cordova-plugin-wkwebview-engine crashes app on startup if Safari is set to 
> "Automatically Show Web Inspector for JSContexts" 
> -
>
> Key: CB-11897
> URL: https://issues.apache.org/jira/browse/CB-11897
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin WKWebViewEngine
>Affects Versions: 1.1.0
> Environment: iOS
>Reporter: Brad Reynolds
>Assignee: Shazron Abdullah
>
> If in Safari the Simulator/iPhone is set to automatically show web inspector 
> when the cordova-plugin-wkwebview-engine is in use the app will crash on 
> startup.
> Versions: 
> Safari: 10.0 (12602.1.50.0.10)
> OS X: 10.12 (16A323)
> Xcode: 8.0 (8A218a)
> Cordova: 6.3.1
> Cordova WebKit Engine: 1.1.0
> To repro:
> 1. Create a new test app and add the cordova-plugin-wkwebview-engine plugin 
> to it.
> 2. Open the iOS project in Xcode.
> 3. Run the Simulator.
> If it didn't crash:
> 4. In Safari go to Develop->Simulator->Automatically Show Web Inspector for 
> JSContexts and ensure it's checked.
> 5. Restart the app in Xcode.  It should crash.
> The output in Xcode will be something like:
> {quote}
> testApp(3824,0x1ae6eec40) malloc: *** error for object 0x1700a7e60: pointer 
> being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> {quote}
> I spent most of the day trying to repro this consistently because I was 
> seeing the crash on my iPhone but not in the Simulator.  Once I realized it 
> was this setting I'm able to reproduce it consistently on both.
> Also if you remove the CordovaWebViewEngine preference that is set to 
> CDVWKWebViewEngine the app will not crash.



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



[jira] [Updated] (CB-11803) Plugin features don't get written to iOS-specific config.xml

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11803:
--
Component/s: (was: Plugins)

> Plugin features don't get written to iOS-specific config.xml
> 
>
> Key: CB-11803
> URL: https://issues.apache.org/jira/browse/CB-11803
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 6.3.1
>Reporter: Matus Koprda
>Priority: Critical
>
> When running `cordova prepare` or `cordova platform add ios` after adding 
> plugins, the platform-specific config.xml file for iOS 
> (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which 
> effectively prevents any installed plugin from working.
> The tags *do* get added when installing plugins *after* the iOS platform was 
> created.
> How to reproduce - this creates a working config.xml:
> {code}
>   cordova create test
>   cd test
>   cordova platform add ios
>   cordova plugin add cordova-plugin-device --save
> {code}
> This creates a broken config.xml (resulting in `Plugin 'Device' not found, or 
> is not a CDVPlugin.` error when running on a an iPhone):
> {code}
>   cordova create test
>   cd test
>   cordova plugin add cordova-plugin-device --save
>   cordova platform add ios
> {code}



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



[jira] [Commented] (CB-12212) Cordova iOS build fails with pods that use the resource_bundle spec feature.

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12212:
---

Can you run your build command with the "--verbose" flag and attach it to this 
issue? Thanks!

> Cordova iOS build fails with pods that use the resource_bundle spec feature.
> 
>
> Key: CB-12212
> URL: https://issues.apache.org/jira/browse/CB-12212
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.3.0
>Reporter: Helen Crowell
> Fix For: cordova-ios@4.4.0
>
>
> Cordova iOS build fails with pods that use the `resource_bundle` spec feature.
> Tested with two different pods that use the `resource_bundle` spec feature.
> cordova version: 6.4.0
> Installed platforms:
>   ios 4.3.0
> Test code:
> {code}
> cordova create test
> cd test
> cordova platform add ios
> cordova build
> {code}
> Test 1:
> UrbanAirship-iOS-SDK
> https://github.com/urbanairship/ios-library/search?utf8=%E2%9C%93=resource_bundle
> {code}
> ~/Documents/workspace/test_ios_8_1_3_entitlement/platforms/ios$ cat Podfile
> # DO NOT MODIFY -- auto-generated by Apache Cordova
> platform :ios, '8.0'
> target 'TestProj' do
> project 'TestProj.xcodeproj'
> pod 'UrbanAirship-iOS-SDK', '~> 8.1.3'
> end
> $cordova build
> ...
> === BUILD TARGET UrbanAirship-iOS-SDK-AirshipResources OF PROJECT Pods WITH 
> CONFIGURATION Debug ===
> Check dependencies
> Write auxiliary files
> write-file 
> /Users/abcuser/Library/Developer/Xcode/DerivedData/TestProj-ceyniiayavksmtaebmmmvxaymsdx/Build/Intermediates/Pods.build/Debug-iphonesimulator/UrbanAirship-iOS-SDK-AirshipResources.build/AirshipResources-generated-files.hmap
> write-file 
> /Users/abcuser/Library/Developer/Xcode/DerivedData/TestProj-ceyniiayavksmtaebmmmvxaymsdx/Build/Intermediates/Pods.build/Debug-iphonesimulator/UrbanAirship-iOS-SDK-AirshipResources.build/AirshipResources-all-target-headers.hmap
> write-file 
> /Users/abcuser/Library/Developer/Xcode/DerivedData/TestProj-ceyniiayavksmtaebmmmvxaymsdx/Build/Intermediates/Pods.build/Debug-iphonesimulator/UrbanAirship-iOS-SDK-AirshipResources.build/AirshipResources-own-target-headers.hmap
> write-file 
> /Users/abcuser/Library/Developer/Xcode/DerivedData/TestProj-ceyniiayavksmtaebmmmvxaymsdx/Build/Intermediates/Pods.build/Debug-iphonesimulator/UrbanAirship-iOS-SDK-AirshipResources.build/AirshipResources.hmap
> write-file 
> /Users/abcuser/Library/Developer/Xcode/DerivedData/TestProj-ceyniiayavksmtaebmmmvxaymsdx/Build/Intermediates/Pods.build/Debug-iphonesimulator/UrbanAirship-iOS-SDK-AirshipResources.build/AirshipResources-all-non-framework-target-headers.hmap
> write-file 
> /Users/abcuser/Library/Developer/Xcode/DerivedData/TestProj-ceyniiayavksmtaebmmmvxaymsdx/Build/Intermediates/Pods.build/Debug-iphonesimulator/UrbanAirship-iOS-SDK-AirshipResources.build/AirshipResources-project-headers.hmap
> Create product structure
> /bin/mkdir -p 
> /Users/abcuser/Documents/workspace/test_ios_8_1_3_entitlement/platforms/ios/build/emulator/AirshipResources.bundle
> CopyPlistFile 
> /Users/abcuser/Documents/workspace/test_ios_8_1_3_entitlement/platforms/ios/build/emulator/AirshipResources.bundle/Info.plist
>  UrbanAirship-iOS-SDK/AirshipKit/AirshipResources/Info.plist
> cd 
> /Users/abcuser/Documents/workspace/test_ios_8_1_3_entitlement/platforms/ios/Pods
> export 
> PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/abcuser/Documents/workspace/sandalwood/build/install/sandalwood/bin:/usr/local/bin/cordova:/usr/local/bin/phonegap:/usr/local/bin/npm/bin:/usr/local/share/python:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/bin:/Users/abcuser/Documents/workspace/android-sdk//platform-tools:/Users/abcuser/Documents/workspace/android-sdk/tools"
> builtin-copyPlist --convert binary1 --outdir 
> /Users/abcuser/Documents/workspace/test_ios_8_1_3_entitlement/platforms/ios/build/emulator/AirshipResources.bundle
>  -- UrbanAirship-iOS-SDK/AirshipKit/AirshipResources/Info.plist
> ProcessProductPackaging "" 
> /Users/abcuser/Library/Developer/Xcode/DerivedData/TestProj-ceyniiayavksmtaebmmmvxaymsdx/Build/Intermediates/Pods.build/Debug-iphonesimulator/UrbanAirship-iOS-SDK-AirshipResources.build/AirshipResources.bundle.xcent
> cd 
> /Users/abcuser/Documents/workspace/test_ios_8_1_3_entitlement/platforms/ios/Pods
> export 
> 

[jira] [Updated] (CB-12512) No way to get from a FILE_URL to a DATA_URL onsuccess

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12512:
--
Component/s: (was: Android)
 (was: iOS)
 Plugin File
 Plugin Camera

> No way to get from a FILE_URL to a DATA_URL onsuccess
> -
>
> Key: CB-12512
> URL: https://issues.apache.org/jira/browse/CB-12512
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, Plugin File
> Environment: Android 4.0+ / iOS 9.0+
>Reporter: Kyle Slack
>
> The onsuccess function of the getPicture method uses the FILE_URI to set an 
>  source perfectly fine, however, the conversion of this FILE_URI to get 
> the image data or DATA_URL is never successful no matter the means attempted. 
> Even utilizing your posted methods to get the actual file have failed:
> window.resolveLocalFileSystemURL(imgUri, function success(fileEntry) - is not 
> getting to the image, always results in null DATA_URL in the end.
> Our method using FILE_URI:
> {code}
> navigator.camera.getPicture(function (data) {
> setTimeout(function () {
> StatusBar.overlaysWebView(true);
> setTimeout(function () {
> StatusBar.overlaysWebView(false);
> }, 250);
> }, 250);
> viewModel.txtImageStatus("Loading...");
> document.getElementById("image").src = data; 
> viewModel.showNoImage(false);
> document.getElementById("image").style.display = "block";
> SavetoShipment(data);
> }, function (msg) {
> if (!msg == "Camera cancelled.") {
> viewModel.popVisible(true);
> viewModel.popMessage("Failed: " + msg);
> };
> setTimeout(function () {
> StatusBar.overlaysWebView(true);
> setTimeout(function () {
> StatusBar.overlaysWebView(false);
> }, 250);
> }, 250);
> }, {
> quality: DevExpress.devices.real().platform == "ios" ? 50 : 100,
> destinationType: Camera.DestinationType.FILE_URI,
> saveToPhotoAlbum: false,
> correctOrientation: true,
> encodingType: DevExpress.devices.real().platform == "ios" ? 
> Camera.EncodingType.PNG : Camera.EncodingType.JPEG
> });
> function SavetoShipment(fileURI) {
> var fileReader = new FileReader();
> fileReader.onload = function (fileLoad) {
> viewModel.shipment.CustomerPhotoInfo = fileLoad.target.result;
> };
> fileReader.readAsDataURL(fileURI);
> }
> {code}



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



[jira] [Updated] (CB-10555) the 87x87 png not appear after "cordova build ios --device"

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10555:
--
Summary: the 87x87 png not appear after "cordova build ios --device"  (was: 
the 87X87 png not appear after "cordova build ios --device")

> the 87x87 png not appear after "cordova build ios --device"
> ---
>
> Key: CB-10555
> URL: https://issues.apache.org/jira/browse/CB-10555
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.1
> Environment: Cordova 6.0 + iOS 4.1.0 + Xcode 7.2
>Reporter: Colin Bau
>  Labels: cordova-ios-4.1.1, triaged
> Attachments: Captura de pantalla 2017-02-26 a las 0.28.16.png, 
> screenshot.png
>
>
> all detail under
> http://www.littlebau.com/cordova_issue/87.png
> I am very sure my png is good to work



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



[jira] [Resolved] (CB-12509) LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) in iOS 10.2

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-12509.
---
Resolution: Won't Fix

localStorage is not persistent. iOS stores it in /Library/Caches which gives 
you a clue why. This is an Apple policy, not ours -- and thus an external 
issue. 

See 
http://gonehybrid.com/dont-assume-localstorage-will-always-work-in-your-hybrid-app/
 for alternatives

> LocalStorage not persistent when app is updated (cordova ios 3.8.0 -> 4.1.1) 
> in iOS 10.2
> 
>
> Key: CB-12509
> URL: https://issues.apache.org/jira/browse/CB-12509
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.1.1
>Reporter: Sachitra Malwatte
>  Labels: iOS, iOS10.2
>
> I have a app built with cordova ios 3.8.0.
> When I updated the app to new version which is built with 4.1.1 LocalStorage 
> returns empty. I cannot retrieve the data saved by previous version.
> Works in iOS 8 and 9
> Does not work in iOS 10.2
> Please help.
> Cordova-ios: current 4.1.1, previous 3.8.0
> Cordova CLI: current 6.1.1
> xcode: current 7.2.1



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



[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11906:
---

Can anyone confirm iOS 10.2 fixes this issue so this issue can be resolved?

> Ajax call fails on iOS 10 but works fine on previous versions for Cordova 
> application
> -
>
> Key: CB-11906
> URL: https://issues.apache.org/jira/browse/CB-11906
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: ios10
>Reporter: Nikita Ahluwalia
>  Labels: ios10, ios10-known-issue
>
> I am using the latest iOS platform and plugins in my cordova application. The 
> app works fine on older versions of iOS but not on iOS 10. I am getting 
> timeout error (I already have timeout in my application. But this seems to be 
> even before establishing connection with web service). Tried removing 
> platform and adding again. Also created a fresh project. Still no luck. The 
> app works fine on Android as well. The same application pointing to 
> webservice on staging environment works (on iOS 10 too) but when pointing to 
> production APIs, it does not work on iOS 10 but works on older version.



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



[jira] [Updated] (CB-12506) getPicture() breaks layout

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12506:
--
Environment: iOS
Component/s: (was: iOS)
 Plugin Camera

> getPicture() breaks layout
> --
>
> Key: CB-12506
> URL: https://issues.apache.org/jira/browse/CB-12506
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.3.1-dev
> Environment: iOS
>Reporter: Ali Zahid
>  Labels: bug
>
> Calling getPicture() breaks the layout.
> Look at this screenshot: http://i.imgur.com/C3v7rOh.png
> When the gallery or the camera opens, it goes fullscreen. But when it goes 
> away, it doesn't resize the app viewport and I end up with the broken layout.



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



[jira] [Commented] (CB-10946) dynamically load JS/CSS file into index.html doesn't work with cordova-ios 4.0

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-10946:
---

Wondering if its a CSP issue. Try removing CSP and see if it works -- if it 
does, there's the issue

> dynamically load JS/CSS file into index.html doesn't work with cordova-ios 4.0
> --
>
> Key: CB-10946
> URL: https://issues.apache.org/jira/browse/CB-10946
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: Ionic 1.7.14, Cordova 6.0.0, iOS devices
>Reporter: Raven Zuo
>
> I use a plugin called cordova-app-loader to update our app from resource 
> server so that if we only change JS/html/css files, we don't need submit to 
> apple for review. It works perfectly before with old Cordova which generate 
> iOS3.9.2 build. After upgrading Cordova to 6.0.0, the generated iOS version 
> is now 4.0.1 and it doesn't work anymore. 
> I checked into the issue and found that even I remove the updating from 
> resource server part, only load the js files to index.html dynamically, the 
> app will freeze after load all the js files.
> Details of my current process: 
> # In my index.html file's head, there is some lib js files like cordova.js 
> etc. Among them, the last js file is my bootstrap.js
> # the bootstrap.js file will read a manifest.json file(which include file 
> paths need to be add to index.html dynamically) and get all the js files need 
> be loaded.
> # Add all these files into index.html with the following code:
> {code}
>   var el,
>   head = document.getElementsByTagName('head')[0],
>   src = the_path_to_the_js_file,
>   now = Date.now();
>   el= document.createElement('script');
>   el.type= 'text/javascript';
>   el.src= src + '?' + now;
>   el.async = false;
>   head.appendChild(el);
> {code}
> # I added a log message into the last js file which will be dynamically 
> loaded and in the console window, I saw this message which means the js files 
> are all loaded.
> But then after that, the app just freezes forever.



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



[jira] [Updated] (CB-10946) dynamically load JS/CSS file into index.html doesn't work with cordova-ios 4.0

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10946:
--
Description: 
I use a plugin called cordova-app-loader to update our app from resource server 
so that if we only change JS/html/css files, we don't need submit to apple for 
review. It works perfectly before with old Cordova which generate iOS3.9.2 
build. After upgrading Cordova to 6.0.0, the generated iOS version is now 4.0.1 
and it doesn't work anymore. 

I checked into the issue and found that even I remove the updating from 
resource server part, only load the js files to index.html dynamically, the app 
will freeze after load all the js files.

Details of my current process: 
# In my index.html file's head, there is some lib js files like cordova.js etc. 
Among them, the last js file is my bootstrap.js
# the bootstrap.js file will read a manifest.json file(which include file paths 
need to be add to index.html dynamically) and get all the js files need be 
loaded.
# Add all these files into index.html with the following code:
{code}
  var el,
  head = document.getElementsByTagName('head')[0],
  src = the_path_to_the_js_file,
  now = Date.now();
  el= document.createElement('script');
  el.type= 'text/javascript';
  el.src= src + '?' + now;
  el.async = false;
  head.appendChild(el);
{code}
# I added a log message into the last js file which will be dynamically loaded 
and in the console window, I saw this message which means the js files are all 
loaded.
But then after that, the app just freezes forever.


  was:
I use a plugin called cordova-app-loader to update our app from resource server 
so that if we only change JS/html/css files, we don't need submit to apple for 
review. It works perfectly before with old Cordova which generate iOS3.9.2 
build. After upgrading Cordova to 6.0.0, the generated iOS version is now 4.0.1 
and it doesn't work anymore. 

I checked into the issue and found that even I remove the updating from 
resource server part, only load the js files to index.html dynamically, the app 
will freeze after load all the js files.

Details of my current process: 
1. In my index.html file's head, there is some lib js files like cordova.js 
etc. Among them, the last js file is my bootstrap.js
2. the bootstrap.js file will read a manifest.json file(which include file 
paths need to be add to index.html dynamically) and get all the js files need 
be loaded.
3. Add all these files into index.html with the following code:
  var el,
  head = document.getElementsByTagName('head')[0],
  src = the_path_to_the_js_file,
  now = Date.now();
  el= document.createElement('script');
  el.type= 'text/javascript';
  el.src= src + '?' + now;
  el.async = false;
  head.appendChild(el);
4. I added a log message into the last js file which will be dynamically loaded 
and in the console window, I saw this message which means the js files are all 
loaded.
But then after that, the app just freezes forever.



> dynamically load JS/CSS file into index.html doesn't work with cordova-ios 4.0
> --
>
> Key: CB-10946
> URL: https://issues.apache.org/jira/browse/CB-10946
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: Ionic 1.7.14, Cordova 6.0.0, iOS devices
>Reporter: Raven Zuo
>
> I use a plugin called cordova-app-loader to update our app from resource 
> server so that if we only change JS/html/css files, we don't need submit to 
> apple for review. It works perfectly before with old Cordova which generate 
> iOS3.9.2 build. After upgrading Cordova to 6.0.0, the generated iOS version 
> is now 4.0.1 and it doesn't work anymore. 
> I checked into the issue and found that even I remove the updating from 
> resource server part, only load the js files to index.html dynamically, the 
> app will freeze after load all the js files.
> Details of my current process: 
> # In my index.html file's head, there is some lib js files like cordova.js 
> etc. Among them, the last js file is my bootstrap.js
> # the bootstrap.js file will read a manifest.json file(which include file 
> paths need to be add to index.html dynamically) and get all the js files need 
> be loaded.
> # Add all these files into index.html with the following code:
> {code}
>   var el,
>   head = document.getElementsByTagName('head')[0],
>   src = the_path_to_the_js_file,
>   now = Date.now();
>   el= document.createElement('script');
>   el.type= 'text/javascript';
>   el.src= src + '?' + now;
>   el.async = false;
>   head.appendChild(el);
> {code}
> # I added a log message into the last js file which will be dynamically 
> loaded and in 

[jira] [Commented] (CB-12329) I want to add a new feature to the promt dialogs notifications

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12329:
---

Those abandoned PRs have been closed.

> I want to add  a new feature to the promt dialogs notifications
> ---
>
> Key: CB-12329
> URL: https://issues.apache.org/jira/browse/CB-12329
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, iOS, Plugin Dialogs
> Environment: Ios, Android
>Reporter: Camilo
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> I need to have the prompts notifications with the type password, that's 
> because my users will write they passwords on this notifications
> I have 2 ways to do it and I want you to tell me what is better for the 
> project
> 1. I add a parameter at prompt function called typePassword, then when people 
> wants to create aconfirm width type password, this parameter should be true. 
> Then at the native code i check if is typePassword or not  
> 2. create a new method called promptPassword and is the same method prompt 
> but instead of show the text it show dots like a password field



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



[jira] [Updated] (CB-12418) Prompt notification loses keyboard focus sometimes

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12418:
--
Component/s: (was: iOS)
Summary: Prompt notification loses keyboard focus sometimes  (was: 
cordova-plugin-dialogs)

> Prompt notification loses keyboard focus sometimes
> --
>
> Key: CB-12418
> URL: https://issues.apache.org/jira/browse/CB-12418
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Affects Versions: 1.3.0, 6.4.0
> Environment: ios 10.2
>Reporter: gauthier beaufort
>  Labels: Triaged
>
> When i use a navigator.notification.prompt on ios, the first time the input 
> is focus  and show keyboard, but second time the keyboard and focus dissapear 
> very quickly (-1s). Sometimes it happenned the first time, tell me if you 
> need more informations or can't reproduce.



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



[jira] [Updated] (CB-6656) New plugin for UITextInputTraits

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6656:
-
Fix Version/s: cordova-ios@5.0.0

> New plugin for UITextInputTraits
> 
>
> Key: CB-6656
> URL: https://issues.apache.org/jira/browse/CB-6656
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Affects Versions: 3.4.0
> Environment: iOS 7
>Reporter: Gaston Besada
>Priority: Minor
>  Labels: features
> Fix For: cordova-ios@5.0.0
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Hi, Is possible anyone with plugin dev knowledge develop a plugin for 
> UITextInputTraits in UIWebView? It will be very helpful to change Keyboard 
> keyboardAppearance and returnKeyType.
> Links for reference:
> https://developer.apple.com/library/ios/documentation/uikit/reference/UITextInputTraits_Protocol/Reference/UITextInputTraits.html#//apple_ref/doc/c_ref/UIKeyboardAppearance
> https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html
> http://stackoverflow.com/questions/19961103/uikeyboardappearance-in-uiwebview
> Thanks



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



[jira] [Updated] (CB-6656) New plugin for UITextInputTraits

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6656:
-
Priority: Minor  (was: Major)

> New plugin for UITextInputTraits
> 
>
> Key: CB-6656
> URL: https://issues.apache.org/jira/browse/CB-6656
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Affects Versions: 3.4.0
> Environment: iOS 7
>Reporter: Gaston Besada
>Priority: Minor
>  Labels: features
> Fix For: cordova-ios@5.0.0
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Hi, Is possible anyone with plugin dev knowledge develop a plugin for 
> UITextInputTraits in UIWebView? It will be very helpful to change Keyboard 
> keyboardAppearance and returnKeyType.
> Links for reference:
> https://developer.apple.com/library/ios/documentation/uikit/reference/UITextInputTraits_Protocol/Reference/UITextInputTraits.html#//apple_ref/doc/c_ref/UIKeyboardAppearance
> https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html
> http://stackoverflow.com/questions/19961103/uikeyboardappearance-in-uiwebview
> Thanks



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



[jira] [Updated] (CB-7781) Plugin Un-install fails for iOS with plist strings

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-7781:
-
Fix Version/s: cordova-ios@4.4.0

> Plugin Un-install fails for iOS with plist strings
> --
>
> Key: CB-7781
> URL: https://issues.apache.org/jira/browse/CB-7781
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: OS X 10.9.5, Cordova 3.6.3-0.2.13. iOS
>Reporter: Matthew McClintock
>  Labels: cordova-ios-4.1.1, javascript, newbie, plugins, uninstall
> Fix For: cordova-ios@4.4.0
>
>
> plugin.xml contains
> {code}
> 
> 
> audio
> fetch
>  
> 
> {code}
> will cause `cordova plugin rm org.wbez.cordova.flimflam` command to fail:
> {code}
> Uninstalling org.wbez.cordova.flimflam from android
> Uninstalling org.wbez.cordova.flimflam from ios
> TypeError: Cannot read property 'buffer' of undefined
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:131:18)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:98:7)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:109:9)
> at Object.build 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:76:3)
> at ConfigFile_save [as save] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:574:47)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:446:49
> at Array.forEach (native)
> at ConfigKeeper_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:444:31)
> at PlatformMunger_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:128:24)
> at Object.exports.process 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:81:12)
> {code}



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



[jira] [Updated] (CB-2415) On iOS the ajax error/fail callback is not called after server returns error code 401/unauthorized

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-2415:
-
Fix Version/s: cordova-ios@5.0.0

> On iOS the ajax error/fail callback is not called after server returns error 
> code 401/unauthorized
> --
>
> Key: CB-2415
> URL: https://issues.apache.org/jira/browse/CB-2415
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.2.0
> Environment: OSX 10.8.2, Xcode 4.5.1, iOS Simulator 5.0, 5.1, 6.0, 
> cordova 2.2
>Reporter: Zach White
>  Labels: 401, BasicAuth, core
> Fix For: cordova-ios@5.0.0
>
>
> I am seeing the same issue as reported in 
> [CB-2284|https://issues.apache.org/jira/browse/CB-2284] also in iOS. Ajax 
> calls with Authorization header set are not returning but are timing out when 
> the authorization credentials are invalid.



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



[jira] [Updated] (CB-5601) Modifying the AppDelegate

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-5601:
-
Priority: Minor  (was: Major)

> Modifying the AppDelegate
> -
>
> Key: CB-5601
> URL: https://issues.apache.org/jira/browse/CB-5601
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Reporter: Lee Crossley
>Priority: Minor
>  Labels: core
>
> It's sometimes appropriate for a plugin to require modification to the 
> AppDelegate (usually to add a method). Unfortunately, there isn't support for 
> this modification in the CLI (other than using hooks and monkey patching).
> Are there any plans to add a formal way to do this, or should I be looking at 
> hooks as a long term solution?



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



[jira] [Resolved] (CB-7958) touchend event not firing when released outside webview

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-7958.
--
Resolution: Won't Fix

Resolving as WontFix as it appears to be an external issue (Apple).

> touchend event not firing when released outside webview
> ---
>
> Key: CB-7958
> URL: https://issues.apache.org/jira/browse/CB-7958
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.6.3
> Environment: iOS 8, iPhone 6
>Reporter: Knut Eirik Leira Hjelle
>
> When starting a touch event inside of webview, it is possible to slowly slide 
> the finger to (and off) the edge of the screen and never get the touchend 
> event. Making the webview fullscreen seems to remove the issue.
> The only information I have found about this issue is a stack overflow post 
> (http://stackoverflow.com/questions/26721447/ios-no-touchend-event-for-not-fullscreen-webview),
>  which is why I tried to replicate the problem with a fullscreen webview.
> I have not been able to reproduce this problem on any devices except the 
> iPhone6 on iOS 8.
> Created a small cordova project which makes the bug reproducible.
> https://github.com/hjellek/cordova-ios-touch-issue



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



[jira] [Resolved] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-9769.
--
Resolution: Won't Fix

Closing as WontFix since it appears to be an external issue.

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Ryan England
>  Labels: keyboard, triaged
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] This application is modifying the 
> autolayout engine from a background thread, which can lead to engine 
> corruption and weird crashes.  This will cause an exception in a future 
> release.
>  Stack:(
>   0   CoreFoundation  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] This application is modifying the 
> autolayout engine from a background thread, which can lead to engine 
> corruption and weird crashes.  This will cause an exception in a future 
> release.
>  Stack:(
>   0   CoreFoundation  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  0x000189361f14  + 
> 148
>   14  QuartzCore  0x00018935cb20  + 
> 292
>   15  QuartzCore  0x00018935c9e0  + 
> 32
>   16  QuartzCore  

[jira] [Updated] (CB-9757) use locally installed ios-deploy, not global

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-9757:
-
Fix Version/s: cordova-ios@5.0.0

> use locally installed ios-deploy, not global
> 
>
> Key: CB-9757
> URL: https://issues.apache.org/jira/browse/CB-9757
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Shazron Abdullah
>  Labels: cordova-ios-5.0.x
> Fix For: cordova-ios@5.0.0
>
>
> See: https://github.com/phonegap/ios-deploy/issues/149
> We've already done this for ios-sim in cordova-ios 4.0, so we could do it for 
> ios-deploy as well



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



[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-9769:
--

If the plugin uses our bridge to write to JavaScript, all is fine -- if their 
native code does anything in a different thread when updating the UI, then we 
have no control over it.

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Ryan England
>  Labels: keyboard, triaged
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] This application is modifying the 
> autolayout engine from a background thread, which can lead to engine 
> corruption and weird crashes.  This will cause an exception in a future 
> release.
>  Stack:(
>   0   CoreFoundation  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] This application is modifying the 
> autolayout engine from a background thread, which can lead to engine 
> corruption and weird crashes.  This will cause an exception in a future 
> release.
>  Stack:(
>   0   CoreFoundation  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  0x000189361f14  + 
> 148
>   14  QuartzCore  0x00018935cb20 

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-9769:
--

The issue is simple - you can't change the UI (ie UIKit, includes UIWebView) if 
its not done on the main thread. A plugin is attempting to modify the UI from a 
different thread. So it appears to be a plugin issue with the third party 
keyboard, which needs to be fixed.

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Ryan England
>  Labels: keyboard, triaged
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] This application is modifying the 
> autolayout engine from a background thread, which can lead to engine 
> corruption and weird crashes.  This will cause an exception in a future 
> release.
>  Stack:(
>   0   CoreFoundation  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] This application is modifying the 
> autolayout engine from a background thread, which can lead to engine 
> corruption and weird crashes.  This will cause an exception in a future 
> release.
>  Stack:(
>   0   CoreFoundation  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  

[jira] [Resolved] (CB-11911) 'Cordova/CDVAppDelegate.h' file not found in ios archive process Xcode 7.1

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11911.
---
Resolution: Incomplete

Need more info - reopen if you provide the require info requested, including 
repo steps.

> 'Cordova/CDVAppDelegate.h' file not found in ios archive process Xcode 7.1
> --
>
> Key: CB-11911
> URL: https://issues.apache.org/jira/browse/CB-11911
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.5.0
>Reporter: Vishal Rajole
>
> In file included from 
> /Users/Developer/Code/cordova_update/angularjs/phonegap/platforms/ios/Phonegap/Classes/AppDelegate.m:28:
> /Users/Developer/Code/cordova_update/angularjs/phonegap/platforms/ios/Phonegap/Classes/AppDelegate.h:29:9:
>  fatal error: 'Cordova/CDVAppDelegate.h' file not found
> #import 
> ^
> 1 error generated.



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



[jira] [Updated] (CB-11246) Swift Port: objc_msgSend equivalent in Swift

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11246:
--
Fix Version/s: cordova-ios@5.0.0

> Swift Port: objc_msgSend equivalent in Swift
> 
>
> Key: CB-11246
> URL: https://issues.apache.org/jira/browse/CB-11246
> Project: Apache Cordova
>  Issue Type: Task
>  Components: iOS
>Reporter: Shazron Abdullah
>  Labels: cordova-ios-5.0.x
> Fix For: cordova-ios@5.0.0
>
>
> http://codelle.com/blog/2016/2/calling-methods-from-strings-in-swift/
> objc_msgSend is unavailable in Swift, which we use a lot of. This issue is to 
> gather research.



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



[jira] [Created] (CB-12514) Docs for Carthage support

2017-02-27 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-12514:
-

 Summary: Docs for Carthage support
 Key: CB-12514
 URL: https://issues.apache.org/jira/browse/CB-12514
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: Shazron Abdullah


Docs for CB-12384



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



[jira] [Updated] (CB-12050) Add support for integrating Cordova for iOS with Carthage

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12050:
--
Fix Version/s: cordova-ios@4.4.0

> Add support for integrating Cordova for iOS with Carthage
> -
>
> Key: CB-12050
> URL: https://issues.apache.org/jira/browse/CB-12050
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS
>Reporter: Dan Ursu
> Fix For: cordova-ios@4.4.0
>
>
> Currently the documentation doesn't clearly state how one would integrate the 
> cordova framework into an iOS app using carthage. It would be nice if there 
> would be support. Same with cocoapods.



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



[jira] [Updated] (CB-12514) Docs for Carthage support

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12514:
--
Fix Version/s: cordova-ios@4.4.0

> Docs for Carthage support
> -
>
> Key: CB-12514
> URL: https://issues.apache.org/jira/browse/CB-12514
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: iOS
>Reporter: Shazron Abdullah
> Fix For: cordova-ios@4.4.0
>
>
> Docs for CB-12384



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



[jira] [Updated] (CB-12502) Document minimum iOS version support / Xcode requirements

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-12502:
--
Fix Version/s: cordova-ios@4.4.0

> Document minimum iOS version support / Xcode requirements
> -
>
> Key: CB-12502
> URL: https://issues.apache.org/jira/browse/CB-12502
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, iOS
>Affects Versions: Master
>Reporter: Filip Maj
>Assignee: Kerri Shotts
> Fix For: cordova-ios@4.4.0
>
>
> I was trying to answer the question "what minimum iOS version does 
> cordova-ios support?" Finding an answer to that question was challenging and 
> lead to some conflicting information.
> There was a [discuss thread on the mailing list talking about 
> this|https://lists.apache.org/thread.html/6dbe3ad68265e52982f44e4e68ff413dd5ed1617ea0cef25a4e844da@%3Cdev.cordova.apache.org%3E],
>  but that is the only source of information on the topic.
> First, the [cordova-ios repository itself only mentions that Xcode 7+ is a 
> requirement|https://github.com/apache/cordova-ios#cordova-ios]. Perhaps we 
> should also explicitly mention what iOS version(s) we support?
> Second, the [cordova-docs mentions Xcode 6+ is required, and vaguely mentions 
> iOS 8 (but does not imply that that is the minimum 
> version|https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html#requirements-and-support].
>  Perhaps we can clarify the requirements here?
> Third, the [cordova-docs iOS simulator instructions show screenshots using an 
> old (probably unsupported?) Xcode version, deploying to iOS 5 and 6 
> simulators (which I think are now also 
> unsupported)|https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html#deploying-to-simulator].
>  Should we update these as well? 



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



[jira] [Updated] (CB-11794) Hook after_build not working on iOS

2017-02-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11794:
--
Description: 
I discovered the bug, by following this scenario:

clean ionic project;
open terminal at project root;
{code}
1. rm -rf plugins/ (remove the plugins folder)
2. cordova add platform ios
3. cordova build ios
4. ls -l platforms/ios//Images.xcassets/AppIcon.appiconset/ and 
ls -l platforms/ios//Images.xcassets/LaunchImage.launchimage/
5. in both folders found above, we find the Contents.json file that tells xcode 
which icon/splash screen goes to wich resolution
6. cordova platform rm ios
7. cordova platform add ios (add the platform again, but the plugins are 
installed from plugins/ folder found in the root of the project)
8. cordova build ios
9. ls -l platforms/ios//Images.xcassets/AppIcon.appiconset/ and 
ls -l platforms/ios//Images.xcassets/LaunchImage.launchimage/
10. in both folders found above is missing the Contents.json file, so, after we 
open .xcodeproj file in xcode, all the icons and launch screens 
are unassigned, so the app starts on the iOS device at a wrong resolution. 
(example: run app on iPhone 5C and the app starts at iPhone 4 resolution with 
black bars on top and bottom).
{code}

I think this might be a cordova Bug but I am not sure.

As a workaround, I copied the Contents.json files to another location in my 
project and: 
{code}
1. added an after_build hook to copy these file into 
platforms/ios//Images.xcassets/AppIcon.appiconset/ and 
platforms/ios//Images.xcassets/LaunchImage.launchimage/ paths.
2. cordova platform rm ios
3. cordova platform add ios
4. cordova build ios
5. this should be the place where the after_build hook should run.
{code}

If you run cordova build ios again the hook works.

I have noticed that the first time you run cordova build ios the message "** 
BUILD SUCCEEDED **" does not appear, sometimes only after the third time of 
running cordova build ios this message appears. From what I can tell only when 
the message ** BUILD SUCCEEDED ** appears the after_build hook is run. 

This issue can be reproduced with the after_compile hook as well.

What I have done in order to achieve this "workaround" is: I have made a 
before_compile hook which copies the Contents.json file where it should be 
copied and it works.

I hope that I described the problem well. If there are any questions you can 
ask me later



  was:
I discovered the bug, by following this scenario:

clean ionic project;
open terminal at project root;

1. rm -rf plugins/ (remove the plugins folder)

2. cordova add platform ios

3. cordova build ios

4. ls -l platforms/ios//Images.xcassets/AppIcon.appiconset/ and 
ls -l platforms/ios//Images.xcassets/LaunchImage.launchimage/

5. in both folders found above, we find the Contents.json file that tells xcode 
which icon/splash screen goes to wich resolution

6. cordova platform rm ios

7. cordova platform add ios (add the platform again, but the plugins are 
installed from plugins/ folder found in the root of the project)

8. cordova build ios

9. ls -l platforms/ios//Images.xcassets/AppIcon.appiconset/ and 
ls -l platforms/ios//Images.xcassets/LaunchImage.launchimage/

10. in both folders found above is missing the Contents.json file, so, after we 
open .xcodeproj file in xcode, all the icons and launch screens 
are unassigned, so the app starts on the iOS device at a wrong resolution. 
(example: run app on iPhone 5C and the app starts at iPhone 4 resolution with 
black bars on top and bottom).

I think this might be a cordova Bug but I am not sure.

As a workaround, I copied the Contents.json files to another location in my 
project and: 

1. added an after_build hook to copy these file into 
platforms/ios//Images.xcassets/AppIcon.appiconset/ and 
platforms/ios//Images.xcassets/LaunchImage.launchimage/ paths.

2. cordova platform rm ios

3. cordova platform add ios

4. cordova build ios

5. this should be the place where the after_build hook should run.

If you run cordova build ios again the hook works.

I have noticed that the first time you run cordova build ios the message "** 
BUILD SUCCEEDED **" does not appear, sometimes only after the third time of 
running cordova build ios this message appears. From what I can tell only when 
the message ** BUILD SUCCEEDED ** appears the after_build hook is run. 

This issue can be reproduced with the after_compile hook as well.

What I have done in order to achieve this "workaround" is: I have made a 
before_compile hook which copies the Contents.json file where it should be 
copied and it works.

I hope that I described the problem well. If there are any questions you can 
ask me later




> Hook after_build not working on iOS
> ---
>
> Key: CB-11794
> URL: https://issues.apache.org/jira/browse/CB-11794
> Project: Apache 

  1   2   3   >