BaseCommand.InvokeCustomScript is marked as obsolete in cordova-wp8.
My plugin has native code fire a JavaScript event. On Android I do this
with plugin.webView.sendJavascript(command). On WP8, I can't access the
webView, so I use a custom script to fire the event.
Is there a replacement for Bas
Thanks Andrew. Content filtering may be a way to go, if that's possible.
Is granular pattern-based whitelisting available in iOS? I thought it
only went down to the host pattern level.
Cheers,
Kevin
On Mon, Apr 15, 2013 at 4:52 PM, Andrew Grieve wrote:
> Sounds like CSP (content security p
Plugman is a pretty cool little tool! I was able to get the ScreenCapture
plugin working with it fairly easily for both iOS and Android, here it is:
https://github.com/Charbs09/ScreenCapture
Right now it only supports Cordova 2.3.0 and higher since that is the
version I started development with.
Done.
https://issues.apache.org/jira/browse/CB-3044
On Mon, Apr 15, 2013 at 4:56 PM, Shazron wrote:
> +1
>
>
> On Mon, Apr 15, 2013 at 12:49 PM, Andrew Grieve >wrote:
>
> > We have this in many of our tests, but why not just put it right in
> > cordova.js?
> >
> > e.g.
> >
> > var timerId = nu
Sounds like CSP (content security policy) will fill your needs, but we'll
have to wait for webviews to support it.
So, it sounds like this applies to hosted web apps only? E.g., if this was
a file:// based app, you would want to bundle icons with your app.
Would pattern-based white-list not cover
I'd rather we did not go ahead w/ the new directory structure. It offers no
functional benefit, and comes at an upgrade cost for ppl using the CLI
tools today.
On Mon, Apr 15, 2013 at 12:46 PM, Andrew Grieve wrote:
> Just catching up on the past week of emails and it's not clear that there
> was
The biggest issue we have with the current whitelisting in iOS, which I do
consider overreaching, is that it applies to every class of request that
comes out of the Cordova web view. This is most problematic with images.
I can't include stock service provider icons from e.g. twitter.com or
facebo
Not totally sure why but I'm getting a message that we have a report for
April (even though I don't think we do b/c we should be quarterly.)
Anyhow. Doesn't matter. I've been tracking stuff here. [1]
Let me know if there's anything of note to add.
[1] https://github.com/cordova/apache-board-repo
Max: That's a great tip, I added the parameter labels as you suggested,
thanks!
Brian: I'll try to get this going with Plugman and let you know how it goes.
Thanks!
-Aaron
On Mon, Apr 15, 2013 at 1:10 PM, Brian LeRoux wrote:
> My only feedback would be to see if you can get it working w/ Plug
Read the wiki spam thread.
On Mon, Apr 15, 2013 at 2:10 PM, Simon MacDonald
wrote:
> It'll get fixed soon. Shaz is spearheading the reduction of wiki spam.
> This immutable page thing shall pass.
> Simon Mac Donald
> http://hi.im/simonmacdonald
>
>
> On Mon, Apr 15, 2013 at 5:09 PM, Filip Maj w
It'll get fixed soon. Shaz is spearheading the reduction of wiki spam.
This immutable page thing shall pass.
Simon Mac Donald
http://hi.im/simonmacdonald
On Mon, Apr 15, 2013 at 5:09 PM, Filip Maj wrote:
> Zuh? Can't edit page? What'd I miss?
>
Zuh? Can't edit page? What'd I miss?
+1
On Mon, Apr 15, 2013 at 12:49 PM, Andrew Grieve wrote:
> We have this in many of our tests, but why not just put it right in
> cordova.js?
>
> e.g.
>
> var timerId = null;
> document.addEventListener('deviceready', function() {
> window.clearTimeout(timerId);
> }, false);
> timerId = window
Hah.. Yeah why this hasn't been done sooner.. Couldn't tell you
On 4/15/13 12:49 PM, "Andrew Grieve" wrote:
>We have this in many of our tests, but why not just put it right in
>cordova.js?
>
>e.g.
>
>var timerId = null;
>document.addEventListener('deviceready', function() {
> window.clearTimeo
For the overlay thing, at least for iOS if we have a new window option for
"toolbar=[yes|no]" this would have almost the desired effect, if we take
out the animation.
On Mon, Apr 15, 2013 at 1:44 PM, Andrew Grieve wrote:
> Kevin - the iOS CDVURLProtocol was changed (2.5ish) to only filter reque
Kevin - the iOS CDVURLProtocol was changed (2.5ish) to only filter requests
from Cordova WebViews. I'd be interested in hearing if you still think it's
over-reaching.
I think the only real way to protect your app is to not have any
third-party scripts in it. We have an outstanding issue to create
My only feedback would be to see if you can get it working w/ Plugman! [1]
(And if not lets file issues [2] to ensure it can.)
[1] https://github.com/apache/cordova-plugman
[2] http://issues.cordova.io
On Mon, Apr 15, 2013 at 11:01 AM, Max Woghiren wrote:
> Hi Aaron,
>
> One quick, general O
We have this in many of our tests, but why not just put it right in
cordova.js?
e.g.
var timerId = null;
document.addEventListener('deviceready', function() {
window.clearTimeout(timerId);
}, false);
timerId = window.setTimeout(function() {
console.log('Cordova failed to initialized due to th
Just catching up on the past week of emails and it's not clear that there
was a consensus here. By the sounds of it though:
1. Lots of users are using Cordova-CLI (master branch)
2. Cordova-CLI's "future" branch has non-backwards-compatible changes.
3. One of these changes is the directory structu
Yeah, I think we all owe Shaz a preferred beverage of his choice for this.
Simon Mac Donald
http://hi.im/simonmacdonald
On Mon, Apr 15, 2013 at 3:08 PM, Michal Mocny wrote:
> Thank you!
>
>
> On Mon, Apr 15, 2013 at 2:51 PM, Shazron wrote:
>
> > So the issue has been resolved:
> > https://is
Thank you!
On Mon, Apr 15, 2013 at 2:51 PM, Shazron wrote:
> So the issue has been resolved:
> https://issues.apache.org/jira/browse/INFRA-6131
>
> But there is still a problem - I don't have access to these pages to add
> people:
> - http://wiki.apache.org/cordova/ContributorsGroup
> - http://
So the issue has been resolved:
https://issues.apache.org/jira/browse/INFRA-6131
But there is still a problem - I don't have access to these pages to add
people:
- http://wiki.apache.org/cordova/ContributorsGroup
- http://wiki.apache.org/cordova/AdminGroup
Thus, I think no one can edit/add any pa
Same position as Braden. We can always add this later. There are more
urgent issues right now like fixing the uninstall action and plugin
dependencies.
On Mon, Apr 15, 2013 at 10:46 AM, Braden Shepherdson wrote:
> Hrm. I don't see specifying it as so terrible. It would also unify the
> directiv
Hi Aaron,
One quick, general Objective-C thing I noticed: when creating messages,
it's helpful (and recommended) for readability to write declarations like
this:
- (void)getScreenBitsWithCaptureOptions:(NSObject*)captureOptions
compareOptions:(NSObject*)compareOptions captureCount:(int)captureCou
Go with a pull req / side branch for now and give everyone a month to poke
at it.
On 4/15/13 10:43 AM, "Jeffrey Heifetz" wrote:
>Sounds awesome. Should we issue a pull request and someone will push to a
>branch, or would you like to give myself or Bryan commit access to do it
>ourselves.
>
>We c
Hrm. I don't see specifying it as so terrible. It would also unify the
directive and its target-dir parameter between iOS and
Android: specifying paths relative to some src directory inside the bundle.
My intern mentioned today that if you have #include "somesubdir/foo.h" or
any other paths, it w
Sounds awesome. Should we issue a pull request and someone will push to a
branch, or would you like to give myself or Bryan commit access to do it
ourselves.
We can push a "blackberry10" branch for everyone to look at and continue
to update there while giving the community a chance to play.
As p
Yes, agree
On Mon, Apr 15, 2013 at 10:12 AM, Filip Maj wrote:
> The "free" maintenance is a compelling reason to add node as a dependency.
>
> I'll also flip and support this move but let's not focus on this just yet.
> Maybe file the issues and slate them for post-3.0.
>
> On 4/13/13 3:05 PM,
So it looks like for iOS plugman support there is one outstanding issue
Shaz has:
https://issues.apache.org/jira/browse/CB-2717
Re: default installation of iOS code into plugins folder.
Braden & Anis can you comment? This looks like it would need a tweak in
the spec so I would like to get other
Looks like we have consensus
Joe is going to be happy :)
On 4/15/13 10:24 AM, "Andrew Grieve" wrote:
>+1 DROP!
>
>
>On Wed, Apr 10, 2013 at 6:04 PM, Shazron wrote:
>
>> My Nexus One latest upgradeable OS is 2.3.6
>>
>> +1 for dropping fwiw
>>
>>
>> On Wed, Apr 10, 2013 at 2:58 PM, Lorin Beer >
I like the feature, but if it's required only for 2.3, then I'd say let's
not do it.
On Wed, Apr 10, 2013 at 6:20 PM, Joe Bowser wrote:
> https://issues.apache.org/jira/browse/CB-2303
>
> My gut says that this isn't a good idea, because this attaches to
> console.error and is device specific. H
+1 DROP!
On Wed, Apr 10, 2013 at 6:04 PM, Shazron wrote:
> My Nexus One latest upgradeable OS is 2.3.6
>
> +1 for dropping fwiw
>
>
> On Wed, Apr 10, 2013 at 2:58 PM, Lorin Beer >wrote:
>
> > +1 for dropping
> >
> > Steve found a Nexus One in his filing cabinet last week, wonder what that
> >
+1
Pretty sure we can rewrite any history so it would probably be two
commits: a giant delete and a giant add.
On 4/15/13 10:14 AM, "Brian LeRoux" wrote:
>Yep. Could be as simple as a hard reset to the latest SHA from GitHub if
>the above is fulfilled. (Maybe start it in a new branch on Apache
Yep. Could be as simple as a hard reset to the latest SHA from GitHub if
the above is fulfilled. (Maybe start it in a new branch on Apache Git for
us to review in the meantime.)
On Mon, Apr 15, 2013 at 10:04 AM, Filip Maj wrote:
> WRT to BlackBerry since node is already required, it's not an "e
The "free" maintenance is a compelling reason to add node as a dependency.
I'll also flip and support this move but let's not focus on this just yet.
Maybe file the issues and slate them for post-3.0.
On 4/13/13 3:05 PM, "Jarrod Overson" wrote:
>Cordova may also gain extra hands and support in
WRT to BlackBerry since node is already required, it's not an "extra"
dependency. The other thread is related to Android (and possibly
iOS/windows).
As long as the new BB repo supports:
1. Plugin design and documentation on how to do so
2. Command line scripts [1]
3. Can run mobile spec and passe
Like it!
On Tue, Apr 9, 2013 at 2:12 PM, Braden Shepherdson wrote:
> Sounds good to me.
>
> The lack of dots in the js-module name is a new restriction you'll have to
> write code to defend against, but I would be surprised to see any existing
> plugins violate it.
>
> Braden
>
>
> On Tue, Apr 9
Hello Everyone,
I recently shared my code for a screen capture plugin for Android Cordova
not too long back, and since then have been working on an iOS version. It
exposes the same api's to javascript and behaves identically between the
two platforms.
The goal of these plugins is to provide a way
First steps are to bring your repo in line with the current workflow and
cross platform tool chain.
A for instance is the create script: the other platforms use bash scripts
for the 'create' command, and BlackBerry's BB10 repo is dependent on Node.
There is an ongoing discussion on the list concern
So now that the code has been out for a bit we'd like to start talking
about getting the code into the 2.7 release.
There are no longer any hacks or hoops to getting it running and anyone
interested can try it out. Mobile spec results are about on par with the
previous implementation and will cont
40 matches
Mail list logo