[jira] [Commented] (CB-7969) plugin add ... makes it install for all platform when plugin.xml only supports 1 platform

2016-10-07 Thread Trevor Brindle (JIRA)

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

Trevor Brindle commented on CB-7969:


I actually found https://issues.apache.org/jira/browse/CB-6118 first, and then 
this issue. I believe this should be revisited. 

This may actually be relatively easy to fix - rather than iterating on all 
available platforms while installing the plugin, iterate on all platforms 
declared in the plugin.xml.

> plugin add ... makes it install for all platform when plugin.xml only 
> supports 1 platform
> -
>
> Key: CB-7969
> URL: https://issues.apache.org/jira/browse/CB-7969
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.6.0, 6.0.0
>Reporter: Darryl L. Miles
>
> plugin add ... makes it installed for all platform when plugin.xml only 
> supports 1 platform
> $ cordova platform add blackberry10
> $ cordova platform add browser --usegit
> $ cordova plugin add com.blackberry.notification
> $ cordova build browser -d
> See the output include the plugin when build 'browser'.
> Now examine plugins\browser.json and the "installed_plugins" section, you 
> will see it got added there.
> Now examine plugins\com.blackberry.notification\plugin.xml and see that the 
> element plugin.platform[name]="blackberry10" exists, but no other platform is 
> supported and not default platform config is provided.
> So why was it installed for the "browser" platform ?
> I think it is expected it only gets installed into the "blackberry10" 
> platform.



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

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



[jira] [Commented] (CB-6118) CLI should support installing a plugin on a per-platform basis

2016-10-07 Thread Trevor Brindle (JIRA)

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

Trevor Brindle commented on CB-6118:


Can this issue be revisited? 

This is important in the case of a plugin only meant for one platform - for 
example the iOS keychain plugin. It is strange to change something in the 
android project, and in the CLI to see this plugin `installed on Android`.

> CLI should support installing a plugin on a per-platform basis
> --
>
> Key: CB-6118
> URL: https://issues.apache.org/jira/browse/CB-6118
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Reporter: Andrew Grieve
>Assignee: Mark Koudritsky
>
> There are several reasons why you would want to do this:
> * You want splashscreen on iOS, but not Android
> * You want a Play Services-based geolocation plugin on Android, and regular 
> Geolocation for iOS
> * You want InAppBrowser for iOS, but want to just use intents on Android
> * You many want an older version of File plugin on Android, but the latest on 
> on iOS
> Desired syntax:
> {code}
> cordova plugin add org.apache.cordova.file@0.3.0 --platform=ios
> cordova plugin rm org.apache.cordova.file --platform=ios --platform=android
> {code}
> Change to `cordova plugin ls`:
> {code}
> $ cordova plugin ls
> Plugins installed on Android:
> org.apache.cordova.file@1.0.0
> org.apache.cordova.file-transfer@1.2.3
> Plugins installed on iOS:
> org.apache.cordova.file@0.1.0
> org.apache.cordova.file-transfer@1.1.3
> {code}



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

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



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

2016-09-27 Thread Trevor Brindle (JIRA)

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

Trevor Brindle commented on CB-11906:
-

This sounds like a CSP/Content-Security-Policy or ATS issue.

Something like this in your index.html might help you with CSP

{{}}

And you may have to disable Application transport security for iOS. There is a 
cordova plugin for this.

Here is a good resource to read: 
[cordova-security-whitelists|https://taco.visualstudio.com/en-us/docs/cordova-security-whitlists/]

Also, here is a great article about CSP and ATS 
[http://moduscreate.com/cordova-5-ios-9-security-policy-changes/]

> 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
> Environment: ios10
>Reporter: Nikita Ahluwalia
>  Labels: ios10
>
> 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.4#6332)

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



[jira] [Commented] (CB-11912) webview is unable to display downloaded images in iOS10

2016-09-27 Thread Trevor Brindle (JIRA)

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

Trevor Brindle commented on CB-11912:
-

This sounds like a CSP/Content-Security-Policy issue.

Something like this in your index.html might help you:

{{}}

Here is a good resource to read: 
[cordova-security-whitlists|https://taco.visualstudio.com/en-us/docs/cordova-security-whitlists/]

> webview is unable to display downloaded images in iOS10
> ---
>
> Key: CB-11912
> URL: https://issues.apache.org/jira/browse/CB-11912
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: ios10, angularJS v1 is used and OnsenUI v1.3 too. I 
> don't think te two last are related.
>Reporter: Mathieu Gagnon
>  Labels: iOS10
> Attachments: Capture du 2016-09-26 21-43-54.png, demoApp1.tar.gz
>
>
> Safari console show than img are downloaded.
> img is never display, only a '?'  icon.
> works on ios9 but not ios10



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

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



[jira] [Commented] (CB-11309) Platform specific plugins install to all platforms

2016-05-25 Thread Trevor Brindle (JIRA)

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

Trevor Brindle commented on CB-11309:
-

Per our conversation on twitter [~shazron] here is the ticket. Let me know if 
you have any issues reproducing. 

> Platform specific plugins install to all platforms
> --
>
> Key: CB-11309
> URL: https://issues.apache.org/jira/browse/CB-11309
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugman
>Affects Versions: 1.1.0, 6.1.1
>Reporter: Trevor Brindle
>
> CLI: 6.1.1
> Plugman: 1.2.1
> Node: 5.11.1
> npm: 3.9.2
> Steps to reproduce:
> 1. cordova create ~/Developer/plugmantest com.cordova.test plugmantest
> 2. cordova platform add ios android (4.1.1, 5.1.1)
> 3. cordova plugin add cordova-plugin-applepay-payeezy
> Resulted in: 
> Fetching plugin "cordova-plugin-applepay-payeezy" via npm
> Installing "cordova-plugin-applepay-payeezy" for android
> Installing "cordova-plugin-applepay-payeezy" for ios
> cordova-plugin-applepay-payeezy in android.json
> cordova-plugin-applepay-payeezy in platform_www
> Same result for 
> cordova plugin add https://github.com/shazron/KeychainPlugin



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

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



[jira] [Updated] (CB-11309) Platform specific plugins install to all platforms

2016-05-23 Thread Trevor Brindle (JIRA)

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

Trevor Brindle updated CB-11309:

Description: 
CLI: 6.1.1
Plugman: 1.2.1
Node: 5.11.1
npm: 3.9.2

Steps to reproduce:

1. cordova create ~/Developer/plugmantest com.cordova.test plugmantest
2. cordova platform add ios android (4.1.1, 5.1.1)
3. cordova plugin add cordova-plugin-applepay-payeezy

Resulted in: 

Fetching plugin "cordova-plugin-applepay-payeezy" via npm
Installing "cordova-plugin-applepay-payeezy" for android
Installing "cordova-plugin-applepay-payeezy" for ios

cordova-plugin-applepay-payeezy in android.json
cordova-plugin-applepay-payeezy in platform_www

Same result for 

cordova plugin add https://github.com/shazron/KeychainPlugin



  was:
CLI: 6.1.1
Plugman: 1.2.1
Node: 5.11.1
npm: 3.9.2

Steps to reproduce:

1. `cordova create ~/Developer/plugmantest com.cordova.test plugmantest`
2. `cordova platform add ios android` (4.1.1, 5.1.1)
3. `cordova plugin add cordova-plugin-applepay-payeezy`

Resulted in: 

```
Fetching plugin "cordova-plugin-applepay-payeezy" via npm
Installing "cordova-plugin-applepay-payeezy" for android
Installing "cordova-plugin-applepay-payeezy" for ios
```

cordova-plugin-applepay-payeezy in android.json
cordova-plugin-applepay-payeezy in platform_www




> Platform specific plugins install to all platforms
> --
>
> Key: CB-11309
> URL: https://issues.apache.org/jira/browse/CB-11309
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugman
>Affects Versions: 1.1.0, 6.1.1
>Reporter: Trevor Brindle
>
> CLI: 6.1.1
> Plugman: 1.2.1
> Node: 5.11.1
> npm: 3.9.2
> Steps to reproduce:
> 1. cordova create ~/Developer/plugmantest com.cordova.test plugmantest
> 2. cordova platform add ios android (4.1.1, 5.1.1)
> 3. cordova plugin add cordova-plugin-applepay-payeezy
> Resulted in: 
> Fetching plugin "cordova-plugin-applepay-payeezy" via npm
> Installing "cordova-plugin-applepay-payeezy" for android
> Installing "cordova-plugin-applepay-payeezy" for ios
> cordova-plugin-applepay-payeezy in android.json
> cordova-plugin-applepay-payeezy in platform_www
> Same result for 
> cordova plugin add https://github.com/shazron/KeychainPlugin



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

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



[jira] [Created] (CB-11309) Platform specific plugins install to all platforms

2016-05-23 Thread Trevor Brindle (JIRA)
Trevor Brindle created CB-11309:
---

 Summary: Platform specific plugins install to all platforms
 Key: CB-11309
 URL: https://issues.apache.org/jira/browse/CB-11309
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, Plugman
Affects Versions: 1.1.0, 6.1.1
Reporter: Trevor Brindle


CLI: 6.1.1
Plugman: 1.2.1
Node: 5.11.1
npm: 3.9.2

Steps to reproduce:

1. `cordova create ~/Developer/plugmantest com.cordova.test plugmantest`
2. `cordova platform add ios android` (4.1.1, 5.1.1)
3. `cordova plugin add cordova-plugin-applepay-payeezy`

Resulted in: 

```
Fetching plugin "cordova-plugin-applepay-payeezy" via npm
Installing "cordova-plugin-applepay-payeezy" for android
Installing "cordova-plugin-applepay-payeezy" for ios
```

cordova-plugin-applepay-payeezy in android.json
cordova-plugin-applepay-payeezy in platform_www





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

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