Simulating Cordova plugins and device capabilities

2015-03-18 Thread Tim Barham
Hey everyone... I would like to introduce a proposal and proof-of-concept 
prototype that we have been working on. The proposal is to provide a 
tool/feature that allows you to simulate Cordova plugins and device 
capabilities when a Cordova app is launched in your desktop browser.

The goals for this proposal were:

1. Keep the simulation UI out of the app's window.
2. Provide an extensible model for simulating plugins and device capabilities.

I've created some resources to introduce the proposal:

* Document describing the proposal and the proof-of-concept prototype: 
http://goo.gl/XJ25vL
* Short video demonstrating the prototype: http://goo.gl/Nf8UBp
* Document describing how to install the prototype to try it for yourself: 
http://goo.gl/MyiNas

I'd like to emphasize that the prototype was developed purely as a 
proof-of-concept, and is not intended to suggest the final implementation.

We'd greatly appreciate it if members of the Cordova community could take a 
look and provide feedback - any and all feedback is welcome! But as a starting 
point:

* What do you think of the idea in general?
* Where should it live? In cordova-browser (like the prototype)? A separate 
Cordova module? Entirely external to Cordova?
* What are the must-have features for an initial release? How would we like to 
see it evolve in the future?
* Any thoughts on implementation details?

Thanks, and looking forward to your input!

Tim


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



[GitHub] cordova-plugin-battery-status pull request: CB-7953 Add cordova-pl...

2015-03-18 Thread daserge
Github user daserge commented on the pull request:


https://github.com/apache/cordova-plugin-battery-status/pull/20#issuecomment-82827466
  
Hi @purplecabbage, 
rebased.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-mobile-spec pull request: CB-8694 Replaced dependencies pl...

2015-03-18 Thread alsorokin
Github user alsorokin commented on the pull request:

https://github.com/apache/cordova-mobile-spec/pull/123#issuecomment-82833050
  
@dblotsky Ah, it couldn't locate mobilespec tests, thanks for pointing that 
out!
Fixed it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



iOS 8.3 beta 3 testing

2015-03-18 Thread Edna Y Morales

Did regression testing for iOS 8.3 beta 3 and saw no issues.

Thanks,
Edna Morales

Re: (Mobile spec) Replace dependency plugin with plugin list parameter in createmobilespec

2015-03-18 Thread Andrew Grieve
I've wanted to do this a few times (or implement plugin rm -f). +1 and
thanks!

On Wed, Mar 18, 2015 at 7:54 AM, Alexander Sorokin (Akvelon) 
v-als...@microsoft.com wrote:

 Hi guys,

 I would like to introduce a little improvement for mobile spec.

 Currently createmobilespec uses dependency plugin to specify the list of
 plugins to install. This approach has some limitations, for example after
 the app is created the user cannot remove particular plugin because they
 all are listed as dependencies of dependency plugin.

 Developers may want to add custom plugin(s) to mobile spec for testing.
 Also some plugins could not be supported under particular platform and
 should not be installed.

 I've replaced dependency plugin with new command line parameter for
 createmobilespec to specify plugin list through CLI. If the parameter is
 not passed, createmobilespec will use default list of plugins.

 This change would affect anyone who uses dependency plugin, though, so I
 ask a community to review my PR:
 https://github.com/apache/cordova-mobile-spec/pull/123/files

 Thanks,
 Alexander Sorokin



(Mobile spec) Replace dependency plugin with plugin list parameter in createmobilespec

2015-03-18 Thread Alexander Sorokin (Akvelon)
Hi guys,

I would like to introduce a little improvement for mobile spec.

Currently createmobilespec uses dependency plugin to specify the list of 
plugins to install. This approach has some limitations, for example after the 
app is created the user cannot remove particular plugin because they all are 
listed as dependencies of dependency plugin.

Developers may want to add custom plugin(s) to mobile spec for testing. Also 
some plugins could not be supported under particular platform and should not be 
installed.

I've replaced dependency plugin with new command line parameter for 
createmobilespec to specify plugin list through CLI. If the parameter is not 
passed, createmobilespec will use default list of plugins.

This change would affect anyone who uses dependency plugin, though, so I ask a 
community to review my PR:
https://github.com/apache/cordova-mobile-spec/pull/123/files

Thanks,
Alexander Sorokin


[GitHub] cordova-js pull request: CB-8223 Adds configparser module for expo...

2015-03-18 Thread vladimir-kotikov
GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-js/pull/105

CB-8223 Adds configparser module for exposing config.xml in the Browser 
platform

This implements confighelper module for config.xml preferences retrieval at 
runtime for browser platform. JIRA issue: 
https://issues.apache.org/jira/browse/CB-8223

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-js CB-8223

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-js/pull/105.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #105


commit 579d070bd4f8a74835ef58e78f05fe0630350c81
Author: Vladimir Kotikov v-vlk...@microsoft.com
Date:   2015-03-18T12:55:40Z

CB-8223 Adds configparser module for exposing config.xml in the Browser 
platform




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-plugin-splashscreen pull request: CB-7964 Add cordova-plug...

2015-03-18 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-splashscreen/pull/34


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-browser pull request: CB-8196 Browser platform `run` shoul...

2015-03-18 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cordova-browser/pull/5


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-js pull request: CB-8223 Adds configparser module for expo...

2015-03-18 Thread vladimir-kotikov
Github user vladimir-kotikov commented on the pull request:

https://github.com/apache/cordova-js/pull/105#issuecomment-82993636
  
There is no regression against master branch, the tests failures exists 
across last 10 commits at least: 
https://ci.appveyor.com/project/Humbedooh/cordova-js/history


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-js pull request: CB-8223 Adds configparser module for expo...

2015-03-18 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cordova-js/pull/105


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



RE: (Mobile spec) Replace dependency plugin with plugin list parameter in createmobilespec

2015-03-18 Thread Josh Soref
One disadvantage of this is that it means plugin dependencies aren't
necessarily tested by most cordova developers.

The BlackBerry 10 default plugin system includes a couple of dependencies,
and plugin management has had a tendency to be fairly fragile/broken.

I'm not opposed to going this way, but if we do, then I'd request that there
be a dummy plugin with a dependency (actually, probably with a
grand-dependent too) just for the purposes of ensuring that default testing
covers these cases.

 -Original Message-
 From: Alexander Sorokin (Akvelon) [mailto:v-als...@microsoft.com]
 Sent: Wednesday, March 18, 2015 7:54 AM
 To: dev@cordova.apache.org
 Subject: (Mobile spec) Replace dependency plugin with plugin list
parameter
 in createmobilespec
 
 Hi guys,
 
 I would like to introduce a little improvement for mobile spec.
 
 Currently createmobilespec uses dependency plugin to specify the list of
 plugins to install. This approach has some limitations, for example after
the
 app is created the user cannot remove particular plugin because they all
are
 listed as dependencies of dependency plugin.
 
 Developers may want to add custom plugin(s) to mobile spec for testing.
Also
 some plugins could not be supported under particular platform and should
 not be installed.
 
 I've replaced dependency plugin with new command line parameter for
 createmobilespec to specify plugin list through CLI. If the parameter is
not
 passed, createmobilespec will use default list of plugins.
 
 This change would affect anyone who uses dependency plugin, though, so I
 ask a community to review my PR:
 https://github.com/apache/cordova-mobile-spec/pull/123/files
 
 Thanks,
 Alexander Sorokin


smime.p7s
Description: S/MIME cryptographic signature


[cordova firefoxos] new release?

2015-03-18 Thread Stef
Hi there is a really annoying bug in current release for FirefoxOS, which
make build unusable as the generated zip is corrupted.

This issue (CB-7567) has been fixed and merged into repo on 2/18/15 so a
new release would be great. What do you think ?


Regards,

Stef


[GitHub] cordova-plugin-inappbrowser pull request: CB-3360: Set custom inap...

2015-03-18 Thread cjpearson
GitHub user cjpearson opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/95

CB-3360: Set custom inappbrowser user agent for android

This uses the same OverrideUserAgent and AppendUserAgent properties as the 
pull requests for cordova-ios and cordova-android.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cjpearson/cordova-plugin-inappbrowser 
android-user-agent

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/95.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #95


commit ebac47b5619163559faf1ce4eb61ebf75485ef6c
Author: Connor Pearson cjp...@gmail.com
Date:   2015-03-13T18:12:40Z

CB-3360: Set custom inappbrowser user agent for android




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



Re: [cordova firefoxos] new release?

2015-03-18 Thread Steven Gill
Sounds good to me.
On Mar 18, 2015 10:06 AM, Stef stephane.bachel...@gmail.com wrote:

 Hi there is a really annoying bug in current release for FirefoxOS, which
 make build unusable as the generated zip is corrupted.

 This issue (CB-7567) has been fixed and merged into repo on 2/18/15 so a
 new release would be great. What do you think ?


 Regards,

 Stef



[GitHub] cordova-plugin-inappbrowser pull request: CB-3360: Set custom inap...

2015-03-18 Thread cjpearson
GitHub user cjpearson opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/94

CB-3360: Set custom inappbrowser user agent for ios

This uses the same OverrideUserAgent and AppendUserAgent properties as the 
pull requests for cordova-ios and cordova-android.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cjpearson/cordova-plugin-inappbrowser 
ios-user-agent

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/94.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #94


commit df2e82fb92be83e18dda5c9dd0a5604c58ff58d3
Author: Connor Pearson cjp...@gmail.com
Date:   2015-03-13T17:52:30Z

CB-3360: Set custom inappbrowser user agent for ios




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



Re: [cordova firefoxos] new release?

2015-03-18 Thread Willy Aguirre
what king of error do you see?

2015-03-18 12:12 GMT-05:00 Steven Gill stevengil...@gmail.com:

 Sounds good to me.
 On Mar 18, 2015 10:06 AM, Stef stephane.bachel...@gmail.com wrote:

  Hi there is a really annoying bug in current release for FirefoxOS, which
  make build unusable as the generated zip is corrupted.
 
  This issue (CB-7567) has been fixed and merged into repo on 2/18/15 so a
  new release would be great. What do you think ?
 
 
  Regards,
 
  Stef
 




-- 
Willy Aguirre | @willrre
Blog: http://osgux.tumblr.com/
Mozilla Rep: https://reps.mozilla.org/u/Willy/
Mozilla Hispano - Willyaguirre
https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre


[GitHub] cordova-android pull request: CB-8484: Adds support creating signe...

2015-03-18 Thread agrieve
Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/164#discussion_r26704092
  
--- Diff: bin/templates/cordova/lib/build.js ---
@@ -409,7 +442,29 @@ function parseOpts(options, resolvedTarget) {
 console.warn('Build option \'' + options[i] + '\' not 
recognized (ignoring).');
 }
 }
+if (packageArgs.keystore  packageArgs.alias) {
+var keystore = path.relative(ROOT, 
path.resolve(packageArgs.keystore));
+ret.packageInfo = new PackageInfo(keystore, packageArgs.alias, 
packageArgs.keystorePassword,
+packageArgs.password, packageArgs.keystoreType);
+} else if (fs.existsSync(path.join(CORDOVAROOT, BUILD_CONFIG_FILE))) {
--- End diff --

We've made it this far without platforms having CLI-specific code, so I 
think we should not check at this file location. Instead, we could have 
cordova prepare create -signing.properties files, or have cordova run pass 
along all the signing args as CLI arguments. Could even pass it along as a 
single argument that points to the JSON file, but I don't think we should look 
for it here directly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-android pull request: CB-8484: Adds support creating signe...

2015-03-18 Thread agrieve
Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/164#discussion_r26704343
  
--- Diff: bin/templates/cordova/lib/build.js ---
@@ -422,11 +477,15 @@ function parseOpts(options, resolvedTarget) {
 module.exports.runClean = function(options) {
 var opts = parseOpts(options);
 var builder = builders[opts.buildMethod];
-return builder.prepEnv()
+return builder.prepEnv(opts)
 .then(function() {
-return builder.clean(opts.extraArgs);
+return builder.clean(opts);
 }).then(function() {
 shell.rm('-rf', path.join(ROOT, 'out'));
+}).then(function() {
+['debug', 'release'].forEach(function(config) {
+removeIfExists(path.join(ROOT, config + SIGNING_PROPERTIES));
--- End diff --

For non-CLI workflow, the user will likely create these files manually and 
be upset if clean deletes them. Probably best to just never delete them.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-android pull request: CB-8484: Adds support creating signe...

2015-03-18 Thread agrieve
Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/164#discussion_r26704402
  
--- Diff: bin/templates/cordova/lib/build.js ---
@@ -530,8 +589,60 @@ module.exports.findBestApkForArchitecture = 
function(buildResults, arch) {
 throw new Error('Could not find apk architecture: ' + arch + ' 
build-type: ' + buildResults.buildType);
 };
 
+function removeIfExists(file) {
--- End diff --

nit: `shell.rm('-f', file)` will do this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-android pull request: CB-8484: Adds support creating signe...

2015-03-18 Thread agrieve
Github user agrieve commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/164#discussion_r26704510
  
--- Diff: bin/templates/cordova/lib/build.js ---
@@ -542,5 +653,12 @@ module.exports.help = function() {
 console.log('\'--versionCode=#\': Override versionCode for this 
build. Useful for uploading multiple APKs. Requires --gradle.');
 console.log('\'--minSdkVersion=#\': Override minSdkVersion for 
this build. Useful for uploading multiple APKs. Requires --gradle.');
 console.log('\'--gradleArg=gradle command line arg\': Extra args 
to pass to the gradle command. Use one flag per arg. Ex. 
--gradleArg=-PcdvBuildMultipleApks=true');
+console.log('');
+console.log('Signed APK flags:');
--- End diff --

Would be good to mention that these are overrides for what's already in 
`debug-signing.properties` / `release-signing.properties`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-mobile-spec pull request: CB-8694 Replaced dependencies pl...

2015-03-18 Thread dblotsky
Github user dblotsky commented on the pull request:

https://github.com/apache/cordova-mobile-spec/pull/123#issuecomment-83116032
  
Tested on my end. LGTM.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-plugin-device-orientation pull request: add Android suppor...

2015-03-18 Thread slamorsi
GitHub user slamorsi opened a pull request:

https://github.com/apache/cordova-plugin-device-orientation/pull/19

add Android support for trueHeading

use GeomagneticField and Location data to determine magnetic declination

JIRA: https://issues.apache.org/jira/browse/CB-8705

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/slamorsi/cordova-plugin-device-orientation 
master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-device-orientation/pull/19.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #19


commit fef4481cea23914bacd717a4eedf6eb62bde2f9f
Author: Islam Morsi morsis...@gmail.com
Date:   2015-03-18T17:41:20Z

android: added trueHeading support by using GeomagneticField to determine 
magnetic declination

commit 911da6e425560763f883135eae85e06443f6d560
Author: Islam Morsi morsis...@gmail.com
Date:   2015-03-18T18:14:04Z

adding comments




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-plugin-file pull request: Implementation of read only acce...

2015-03-18 Thread mnill
Github user mnill commented on the pull request:

https://github.com/apache/cordova-plugin-file/pull/84#issuecomment-82798149
  
Hi!.
Looks nice, but failed on some my tests.
Doesn't works get directory entry. Sample:

```javascript
document.addEventListener('deviceready', function() {load();}, false);
function load() {

window.resolveLocalFileSystemURI(cordova.file.applicationDirectory, 
function(applicationEntry){
applicationEntry.getDirectory('www', {create:false}, 
function(wwwEntry) {
alert('success to get application www Directory');
}, function(err) {
alert('fail get application www Directory' + err.code);
});
}, function(err){
alert('fail get applicationDirectory' + err.code);
})
}
```
resolveLocalFileSystemURI -  cordova.file.applicationDirectory works well, 
but getDirectory 'www' failed. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[cordova.plugins.io] Dump of all plugin ids

2015-03-18 Thread Shazron
I don't suppose someone has a plugin.xml with dependencies for all the
plugins in cordova.plugins.io do they? ;)

Is there a way to have a text dump of all plugins available in c.p.r?

This is for testing cordova-ios 4.0.x

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



Re: [cordova.plugins.io] Dump of all plugin ids

2015-03-18 Thread Anis KADRI
http://plugins.cordova.io/_view/searcher

returns all plugins you'd have to filter/parse JSON you get back to get the
ID

Reference:

http://goo.gl/alPWzY

On Wed, Mar 18, 2015 at 5:28 PM, Shazron shaz...@gmail.com wrote:

 Oops its http://plugins.cordova.io/

 On Wed, Mar 18, 2015 at 5:27 PM, Shazron shaz...@gmail.com wrote:
  I don't suppose someone has a plugin.xml with dependencies for all the
  plugins in cordova.plugins.io do they? ;)
 
  Is there a way to have a text dump of all plugins available in c.p.r?
 
  This is for testing cordova-ios 4.0.x

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




RE: [GitHub] cordova-lib pull request: CB-8703: Add support for semver and devi...

2015-03-18 Thread Tim Barham
Jesse - we couldn't use `target` for `config-file`, because there was already 
a `target` attribute that had a different meaning. So it was decided to go with 
`device-target`. I requested Rob change the equivalent `target` attribute on 
`framework` and `lib-file` so that it was consistent across elements.
-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



Re: [cordova.plugins.io] Dump of all plugin ids

2015-03-18 Thread Shazron
Oops its http://plugins.cordova.io/

On Wed, Mar 18, 2015 at 5:27 PM, Shazron shaz...@gmail.com wrote:
 I don't suppose someone has a plugin.xml with dependencies for all the
 plugins in cordova.plugins.io do they? ;)

 Is there a way to have a text dump of all plugins available in c.p.r?

 This is for testing cordova-ios 4.0.x

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



[GitHub] cordova-js pull request: CB-8711 wait for all callbacks before eva...

2015-03-18 Thread purplecabbage
GitHub user purplecabbage opened a pull request:

https://github.com/apache/cordova-js/pull/106

CB-8711 wait for all callbacks before evaluating expectations

Some of the android (multi) exec call tests were failing on windows ( but 
not osx )
Changed the tests so they wait for the correct number of callbacks before 
evaluating the 'expects' list.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/purplecabbage/cordova-js CB-8711

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-js/pull/106.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #106


commit eda207a905987b4ec4716f1d4b8d1e19bdf6fb6c
Author: Jesse MacFadyen purplecabb...@gmail.com
Date:   2015-03-19T01:19:45Z

CB-8711 wait for all callbacks before evaluating expectations




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-lib pull request: CB-8703: Add support for semver and devi...

2015-03-18 Thread TimBarham
Github user TimBarham commented on the pull request:

https://github.com/apache/cordova-lib/pull/187#issuecomment-83217204
  
Jesse - we couldn't use `target` for `config-file`, because there was 
already a `target` attribute that had a different meaning. So it was decided to 
go with `device-target`. I requested Rob change the equivalent `target` 
attribute on `framework` and `lib-file` so that it was consistent across 
elements.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



Re: Build signed archives using CLI

2015-03-18 Thread Andrew Grieve
Left some comments on the PR.

On Tue, Mar 17, 2015 at 5:04 PM, Nikhil Khandelwal nikhi...@microsoft.com
wrote:

 I just submitted a PR for this for Android:
 https://github.com/apache/cordova-android/pull/164

 Here's the rough design:

 - Build.json or command line args can be used to specify details required
 for packaging:
 - Keystore
 - Alias
 - Keystore password
 - Password
 - Keystore type.
 - Debug-signing.properties or release-signing.properties is created at
 prepare time to allow gradle or Ant build systems to pick up those
 properties and generate a signed archive.
 - ‘Clean’ will delete these autogenerated .properties files.
 - If no password is specified for release signing, Ant  gradle will
 prompt for passwords.

 I will shortly have a PR to update the docs.

 Thanks,
 Nikhil


 -Original Message-
 From: Carlos Santana [mailto:csantan...@gmail.com]
 Sent: Friday, February 13, 2015 2:28 PM
 To: dev@cordova.apache.org
 Subject: Re: Build signed archives using CLI

 Thanks Nikhil I see this as a very good and important feature to have in
 our CLI stack

 On Fri, Feb 13, 2015 at 4:48 PM, Nikhil Khandelwal nikhi...@microsoft.com
 
 wrote:

  I'm taking this over from Dan. I like the idea of having the release
  signing information persisted in a json file.
 
  I have made some updates on the specific issue of how keys/passwords
  can be passed through CLI and JSON:
 
  https://docs.google.com/document/d/1tJQ9OoGrrMhZcLI3mg46rGzAfbiQu9PuNB
  L1auAMGFM/edit#
 
  I'm still going through the details of packaging requirements of each
  platform. I expect to add some more details on how the packaging
  process will work with individual platform build systems in the coming
  days. I will update this thread when I do so.
 
  Here's the main JIRA with platform specific tasks here:
  https://issues.apache.org/jira/browse/CB-8483. I would love to
  collaborate with others who are interested in this area. Specifically,
  I plan to take up the task of implementing this for Android first.
 
  Thanks,
  Nikhil
 
 
  -Original Message-
  From: Victor Sosa [mailto:sosah.vic...@gmail.com]
  Sent: Tuesday, February 10, 2015 2:29 PM
  To: dev@cordova.apache.org
  Subject: Re: Build signed archives using CLI
 
  I'm leaning to Andrew and Omar's idea. I like the idea of having a
  file where all the platform-specific information will be stored, then
  each platform will take that information to sign the archive and
  produce a usable, I mean ready-to-distribute, binary.
 
  As for Omar's comment, I also concur there. If a user has the signing
  info in gradle or ant properties and that info is also provided in the
  new file discussed here, then it should take precedence and override
  the platform-specific one.
 
  Wondering if Dan is feeling OK now and ready to be back in the game :D
 
  2015-02-02 14:58 GMT-06:00 Mefire O. ommen...@microsoft.com:
 
   +1 for having an additional file to abstract away all the platform
   specific stuff. Currently, we support both gradle and ant for
   android for example, I think it wouldn't make sense for end-users to
   have to change their specs depending on what specific tool is used
   behind the
  scenes.
   Maybe we could also copy those properties to specific files during
   build or prepare ? [copy from cordova's to ant.properties]
  
  
   Thanks,
   Mefire
  
   -Original Message-
   From: Chuck Lantz [mailto:cla...@microsoft.com]
   Sent: Wednesday, January 28, 2015 10:30 AM
   To: dev@cordova.apache.org
   Subject: RE: Build signed archives using CLI
  
   Yeah personally I am thinking that - particularly if we treat
   platforms as dependencies in package.json as proposed - we'll need
   some facility to set native build settings. We may be able to come
   up with some sort of abstraction for this part, but I'm kind of
   thinking we'll ultimately want a facility to include native build
   property files (ant/gradle.properties, things like the signing
   identity in build.xcconfig, etc) in the CLI project.  That said, we
   could have another facility for common settings like certs.
  
   -Chuck
  
   -Original Message-
   From: agri...@google.com [mailto:agri...@google.com] On Behalf Of
   Andrew Grieve
   Sent: Wednesday, January 28, 2015 10:18 AM
   To: dev
   Subject: Re: Build signed archives using CLI
  
   Sounds good, let's wait until Dan is back to discuss. The main point
   I'd like to cover is whether it'd be good to have layer of
   indirection between cordova and the platform-specific files that
   dictate signing
  info.
  
   E.g.:
   Instead of using ant.properties / gradle.properties /
   build.xcconfig,
  have:
  
   cordova-keys.json
{
   ios: { identity: , provisioning_profile:  },
   android-debug: { keystore: , alias: , password: , type:  },
   android-release: { keystore: , alias: , password: , type: 
 }
   ...
   }
  
   Then, have a prepare step that 

[GitHub] cordova-plugin-inappbrowser pull request: Make toolbar more iOS7 ...

2015-03-18 Thread lukeharback
Github user lukeharback closed the pull request at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/92


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



Re: [cordova.plugins.io] Dump of all plugin ids

2015-03-18 Thread Shazron
Nice! I'll create a script to generate the plugin.xml automatically
for anyone else that needs it for testing. Thanks Anis!

On Wed, Mar 18, 2015 at 5:43 PM, Anis KADRI anis.ka...@gmail.com wrote:
 http://plugins.cordova.io/_view/searcher

 returns all plugins you'd have to filter/parse JSON you get back to get the
 ID

 Reference:

 http://goo.gl/alPWzY

 On Wed, Mar 18, 2015 at 5:28 PM, Shazron shaz...@gmail.com wrote:

 Oops its http://plugins.cordova.io/

 On Wed, Mar 18, 2015 at 5:27 PM, Shazron shaz...@gmail.com wrote:
  I don't suppose someone has a plugin.xml with dependencies for all the
  plugins in cordova.plugins.io do they? ;)
 
  Is there a way to have a text dump of all plugins available in c.p.r?
 
  This is for testing cordova-ios 4.0.x

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



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



intro

2015-03-18 Thread Islam Morsi
Hello,

I've recently started exploring Cordova and ionicframework. My background
is mainly web development but I've been getting into app development for
the past year - mainly Android.

I'm building a compass app to help me learn and noticed there's no
trueHeading support for Android using the device orientation
https://github.com/apache/cordova-plugin-device-orientation plugin. I've
forked the repo here
https://github.com/slamorsi/cordova-plugin-device-orientation to add
support but since I'm new to this I'd appreciate if someone can review my
changes. I've also created a jira issue
https://issues.apache.org/jira/browse/CB-8705.

Thanks,
Slam


[GitHub] cordova-plugin-camera pull request: CB-8706, CB-8707 saveToPhotoAl...

2015-03-18 Thread muratsu
GitHub user muratsu opened a pull request:

https://github.com/apache/cordova-plugin-camera/pull/78

CB-8706, CB-8707 saveToPhotoAlbum improvements and some refactoring

- On Windows we should use filePicker instead of programmatically accessing 
user libs. This way the app doesnt have to depend on extra capabilities.
- Some refactoring to help on navigating code easier

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-plugin-camera 
saveToPhotoAlbum

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-camera/pull/78.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #78


commit b8a700215af0f5b217c91c6d5380da716d09dabd
Author: Murat Sutunc mura...@microsoft.com
Date:   2015-02-16T23:32:10Z

CB-8706 remove unnecessary capabilities from xml

commit 5ef04e552c1b1ca3914fe56c83cc6956c11a81b8
Author: Murat Sutunc mura...@microsoft.com
Date:   2015-02-17T23:09:33Z

CB-8706 use filePicker if saveToPhotoAlbum is true

commit 29c9ea387d24c2a4d5558a3af8f9de219c98bb9f
Author: Murat Sutunc mura...@microsoft.com
Date:   2015-03-18T00:16:38Z

CB-8707 refactoring windows code to improve readability




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-docs pull request: CB-8703: Add support for semver and dev...

2015-03-18 Thread robpaveza
GitHub user robpaveza opened a pull request:

https://github.com/apache/cordova-docs/pull/270

CB-8703: Add support for semver and device-specific targeting of

Allows config-file to target a virtual package.appxmanifest (already 
supported) and specify versions of Windows via new versions and device-target 
attributes. 

Corresponding code change is https://github.com/apache/cordova-lib/pull/187

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/robpaveza/cordova-docs CB-8703

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-docs/pull/270.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #270


commit 96ff6852c84fd9be9dad25220b928f8186bc8b4d
Author: Rob Paveza rob.pav...@microsoft.com
Date:   2015-03-18T17:10:03Z

CB-8703: Add support for semver and device-specific targeting of
config-file to Windows.

This is the documentation change for the above feature addition.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-lib pull request: CB-8703: Add support for semver and devi...

2015-03-18 Thread robpaveza
GitHub user robpaveza opened a pull request:

https://github.com/apache/cordova-lib/pull/187

CB-8703: Add support for semver and device-specific targeting of 
config-file to Windows

Allows config-file to target a virtual package.appxmanifest (already 
supported) and specify versions of Windows via new versions and device-target 
attributes:

 config-file target=package.appxmanifest versions==8.1.0 ... /
 config.file target=package.appxmanifest device-target=phone /

This change also modifies the related lib-file and framework elements 
for Windows to rename the target attribute to device-target in order to 
align the meaning across elements. (target is preserved as an alias in order 
to be backwards-compatible).

There is a matching PR for cordova-docs.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/robpaveza/cordova-lib CB-8703

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-lib/pull/187.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #187


commit f4dab3495422ea7e56678d9f478d86e1c35c1c66
Author: Rob Paveza rob.pav...@microsoft.com
Date:   2015-03-18T17:32:27Z

CB-8703: Add support for semver and device-specific targeting of
config-file to Windows.

This change enables the use of versions and device-target attributes
on the config-file element when the config-file element targets
package.appxmanifest.  This allows for plugins to be more robust in the
face of future versions of Windows which may require introduction of
additional app manifests.

commit 215b3fcb2e9a95f8437b9f6de5074326fbfd724e
Author: Rob Paveza rob.pav...@microsoft.com
Date:   2015-03-18T17:45:10Z

CB-8703: Merged into head.

Conflicts:
cordova-lib/src/plugman/platforms/windows.js

commit fda0f6c4cd0ddb8301b65c8d997f59049e7d
Author: Rob Paveza rob.pav...@microsoft.com
Date:   2015-03-18T18:06:24Z

CB-8703: Test failure after merge to head.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



[GitHub] cordova-lib pull request: CB-8703: Add support for semver and devi...

2015-03-18 Thread purplecabbage
Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-lib/pull/187#issuecomment-83118192
  
Personally I would much rather just drop support for Windows8 and move to 
an 8.1 universal only world ... then we can drop some of this wasted complexity.

Also, was there a specific need to rename target-deviceTarget ? this makes 
the pull request harder to review.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



Re: plugin for hot updates

2015-03-18 Thread Shazron
That is the common interpretation of Apple Review Guidelines 3.3.2, yes.

On Tue, Mar 17, 2015 at 2:52 PM, Ariel Jakobovits
arielj...@polygramapp.com wrote:
 My understanding is that Apple (via Meteor.js, link below) has indicated a
 willingness to approve apps that continuously deploy changes to a mobile
 app without resubmitting to the App Store review process and without
 requiring users to download updates.

 I'm not sure, so I am asking, if this at its most basic, is a download and
 replacement of the www directory and a reload of the WebView?

 Thanks.


 https://www.meteor.com/blog/2014/10/02/Apple-hot-code-push-mobile


 --
 Ariel Jakobovits
 arielj...@polygramapp.com

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



[GitHub] cordova-lib pull request: CB-8703: Add support for semver and devi...

2015-03-18 Thread robpaveza
Github user robpaveza commented on the pull request:

https://github.com/apache/cordova-lib/pull/187#issuecomment-83149842
  
I think our review indicated that we couldn't yet officially deprecate 
Windows 8, and even if we could it would require the six month window.

The reason to rename target to deviceTarget was for consistency.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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



Re: intro

2015-03-18 Thread Shazron
Welcome, and thanks for the PR and JIRA issue!

On Wed, Mar 18, 2015 at 11:00 AM, Islam Morsi morsis...@gmail.com wrote:
 Hello,

 I've recently started exploring Cordova and ionicframework. My background
 is mainly web development but I've been getting into app development for
 the past year - mainly Android.

 I'm building a compass app to help me learn and noticed there's no
 trueHeading support for Android using the device orientation
 https://github.com/apache/cordova-plugin-device-orientation plugin. I've
 forked the repo here
 https://github.com/slamorsi/cordova-plugin-device-orientation to add
 support but since I'm new to this I'd appreciate if someone can review my
 changes. I've also created a jira issue
 https://issues.apache.org/jira/browse/CB-8705.

 Thanks,
 Slam

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



[GitHub] cordova-plugin-splashscreen pull request: Fixed plugin name in the...

2015-03-18 Thread purplecabbage
Github user purplecabbage commented on the pull request:


https://github.com/apache/cordova-plugin-splashscreen/pull/39#issuecomment-82766632
  
Thanks, but... This was intentional. Plugins are being hosted on npm and we 
are adopting npm style package ids


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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