[GitHub] cordova-plugin-dialogs pull request #80: CB-8947: (ios)

2016-07-28 Thread don
GitHub user don opened a pull request: https://github.com/apache/cordova-plugin-dialogs/pull/80 CB-8947: (ios) ### Platforms affected iOS ### What does this PR do? Fix crash when non-strings are passed to dialogs ### What testing has been done on

[GitHub] cordova-plugin-dialogs issue #80: CB-8947: (ios)

2016-07-28 Thread don
Github user don commented on the issue: https://github.com/apache/cordova-plugin-dialogs/pull/80 @jcesarmobile passing strings as the message is the *right* thing to do, IMO. My main goal was to stop iOS from crashing when the user sent bad data. I think the documentation should

Re: Ignore .svn files for building

2013-05-02 Thread Don Coleman
You're seeing this in cordova-cli? until.findPlugins could filter out .svn too https://github.com/apache/cordova-cli/blob/master/src/util.js#L67 On May 2, 2013 5:33 AM, "tommy-carlos Williams" wrote: > This is a recurring theme. > > The logic for iterating the folders for things like platforms

__MACOSX in 2.7.0 zipfile

2013-05-05 Thread Don Coleman
The phonegap-2.7.0.zip for distribution contains a __MACOSX directory with a bunch resource forks. Can we remove this files from the next distribution? If Finder's compress function is used to create the zip, we can remove the files after with zip -d phonegap-2.7.0.zip __MACOSX/* If the comma

Roadmap for BB7

2013-05-07 Thread Don Coleman
Is there a roadmap for BlackBerry 7 support in future versions of Cordova?

Re: Sending BB7 to the farm

2013-05-08 Thread Don Coleman
I'd be happy to see BB7 go away. It seems like 3.0 could drop support, especially if BlackBerry is concentrating on 10 and not releasing webworks updates. I have a client asking for support BB7 along with Android and iOS. This probably means that I have a cordova-cli project and a separate BB7 b

cordova-cli problems on linux

2013-05-27 Thread Don Coleman
"cordova platform add android" was failing on linux with an error about the android-sdk-macosx don@localhost:~/tmp/foo$ cordova platform add android [Error: An error occured during creation of android sub-project. BUILD FAILED /usr/local/lib/node_modules/cordova/lib/cordova-android

Re: cordova-cli problems on linux

2013-05-28 Thread Don Coleman
that warns about > chmodding that directory? I agree that this sucks and it would be great to > fix it. > > Braden > > > On Tue, May 28, 2013 at 8:46 AM, Andrew Grieve > wrote: > > > One hope here is that the problem will go away once we lazily fetch the > >

cordova-cli emulate deletes plugin's javascript

2013-05-30 Thread Don Coleman
cordova-cli 2.7.4 is deleting the javascript files for plugins when I run cordova emulate with Android. Anyone have ideas about how to track this down and fix it? It's pretty easy to duplicate $ git clone https://github.com/don/FileOpener.git $ cordova create foo $ c

Re: cordova-cli emulate deletes plugin's javascript

2013-05-30 Thread Don Coleman
https://issues.apache.org/jira/browse/CB-3556 On Thu, May 30, 2013 at 5:01 PM, Shazron wrote: > Hi Don, do you mind filing an issue in JIRA so this doesn't get lost? A lot > of devs are away at @jsconf currently > > > On Thu, May 30, 2013 at 12:45 PM, Don Coleman > w

Re: cordova-cli emulate deletes plugin's javascript

2013-05-30 Thread Don Coleman
still a thing. > Maybe my description wasn't good enough. > > > 1. https://issues.apache.org/jira/browse/CB-2820 > > On 31/05/2013, at 8:02 AM, Don Coleman wrote: > > > https://issues.apache.org/jira/browse/CB-3556 > > > > > > On Thu, May 30, 201

Re: cordova-cli emulate deletes plugin's javascript

2013-06-03 Thread Don Coleman
I think the javascript is OK, but I'm getting errors about missing www/cordova_plugins.json and ClassNotFound for the plugin's java file. Maybe there's a problem with plugin.xml? https://github.com/don/FileOpener/blob/cordova-2.8.0/plugin.xml Also, can one plugin.xml file condit

Which repo?

2013-06-25 Thread Don Coleman
Should fixes for Media Capture go in cordova-android or cordova-plugin-media-capture or both?

building cordova 3.0

2013-06-25 Thread Don Coleman
Has anyone documented the process for building Cordova 3.0 for development? I see all the cordova-plugin-* repos. Is there a base project with build scripts?

android fix missed 2.9 tag

2013-06-27 Thread Don Coleman
My fix for https://issues.apache.org/jira/browse/CB-3998 missed the 2.9 Android tag Should I merge this from master into 2.9.x so it will make 2.9.1?

using node modules in cordova plugins?

2013-07-02 Thread Don Coleman
https://github.com/don/phonegap-nfc https://github.com/don/ndef-js

Re: Developing Cordova plug-ins

2013-07-02 Thread Don Coleman
I develop plugins in a sample project, then copy the files into the plugman directory structure. If multiple projects use the plugin, I usually uninstall and re-install the plugin after making updates $ cordova plugin remove plugin_name $ cordova plugin add /path/to/plugin For cordovalib, rem

Re: missing www resources

2013-07-02 Thread Don Coleman
I've seen this error too with 2.9.0. Deleting ~/.cordova fixed it. I have not been able to duplicate. On Tue, Jul 2, 2013 at 11:13 PM, Andrew Grieve wrote: > Hey Tyler, > > I think your feedback here is actually quite valuable. Thanks for testing > out the CLI tools! > > As you pointed out, you

Re: using node modules in cordova plugins?

2013-07-03 Thread Don Coleman
The code runs on a phone. https://github.com/don/phonegap-nfc I've moved some of the javascript from my cordova plugin into a node module so I could re-use it in other projects. I haven't integrated the node module back into the plugin *yet*. I'm hoping I can do this without ma

Re: using node modules in cordova plugins?

2013-07-03 Thread Don Coleman
27;t remove > an entry from its registry yet! (That and, its slow.) > > > On Wed, Jul 3, 2013 at 10:25 AM, Andrew Grieve > wrote: > > Using Bower instead of npm might be another route to explore. Either way > I > > think pre-building your js is the best option &g

Re: cordova-cli CORDOVA_HOME env variable

2013-07-05 Thread Don Coleman
CORDOVA_HOME is the project directory? To me a name like CORDOVA_HOME infers the Corodva install directory (see JAVA_HOME, ANT_HOME, ANDROID_SDK_HOME.) CORDOVA_PROJECT_HOME is clunkier but may be more accurate. On Fri, Jul 5, 2013 at 1:28 PM, Michal Mocny wrote: > I think the use case is val

cli docs - spaces in main activity name

2013-07-22 Thread Don Coleman
The CLI docs for creating an app, use a main activity name containing a space $ cordova create HelloWorld com.example.hello "Hello World" This works for iOS but fails on Android. Should we adjust the docs, or attempt to make the Android scripts remove spaces? http://docs.phonegap.com/en/edg

Re: cli docs - spaces in main activity name

2013-07-22 Thread Don Coleman
dressing > the issue. > > We def do not want titles with no spaces! Maybe we add a fourth param. > > On Mon, Jul 22, 2013 at 12:10 PM, Andrew Grieve > wrote: > > The third parameter is the app's title, so I think it should be made to > > work with spaces. > > &

Re: cli docs - spaces in main activity name

2013-07-22 Thread Don Coleman
Had those backwards https://issues.apache.org/jira/browse/CB-4198 is the issue. On Mon, Jul 22, 2013 at 1:41 PM, Don Coleman wrote: > Stripping spaces and other invalid chars seems preferable to adding > another parameter. > > There is an issue https://issues.apache.org/jira/br

Re: Android - Removing the .api namespace

2013-07-30 Thread Don Coleman
Is there a suggested way for plugins to support 2.9 and 3.0 with one code base? Currently I'm adding org.apache.corodva.api.Dummy.java to my project and using wildcard imports for org.apache.cordova.* and org.apache.cordova.api.* Normally I wouldn't care about 2.9 but I'm trying to support PhoneG

Re: [CLI,Android] Removing FileTransfer plugin fails with ENOENT

2013-08-03 Thread Don Coleman
This is probably and issue, plugman doesn't work well when files are missing Usually you can touch the missing files and then uninstall $ touch /home/bdube/workspace/DropIt/**platforms/android/src/org/**apac he/cordova/core/**FileTransfer.java $ cordova -d plugin rm org.apache.cordova.core.file-*

Re: Publishing plugins to Git

2013-09-08 Thread Don Coleman
Plugman needs to clone the project, I'm not sure if you can clone a directory. I create a git project for each of my plugins e.g. https://github.com/don/BluetoothSerial.git On Sun, Sep 8, 2013 at 8:16 PM, Andrew Grieve wrote: > You didn't use the correct URL. Try: > > &

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
I've seen this problem with cordova. My instructions for the examples have people copy the example folder out of the project before installing the plugin as a work around. > On Oct 23, 2013, at 7:57 AM, Axel Nennker wrote: > > Hi, > > the above phonegap command fails (name to long) and I t

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
it's > worth the work involved to go from a dumb copy to a careful copying of > exactly the member files of the plugin. > > Braden > > > On Wed, Oct 23, 2013 at 9:24 AM, Don Coleman > wrote: > > > I've seen this problem with cordova. My instructions

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
ef:sub/dir > > Then your examples can depend on ../plugin and no problem. > > Braden > > > > > On Wed, Oct 23, 2013 at 2:13 PM, Don Coleman > wrote: > > > It would be useful for plugin.xml to exclude a directory such as examples > > when copying. I think

Cordova Plugins and CocoaPods

2013-10-31 Thread Don Coleman
I have some iOS code that we are converting into a Cordova plugin. The project uses CocoaPods to manage dependencies. Have you see any Cordova plugins that use CocoaPods or can you think of a way to make CLI and CocoaPods play nice together?

BlackBerry 10 plugins and config.xml

2013-11-03 Thread Don Coleman
I'm trying to update a BlackBerry 10 plugin to use Cordova 3.1.0. I'd like to map the plugin id, com.chariotsolutions.nfc.plugin, to NfcPlugin so the cordova.exec calls work across all platforms. No matter what I put in config.xml, Corodva appears to ignore it and use the plugin's id for calls to

platform add android skips bat files on os x

2013-11-03 Thread Don Coleman
For cordova 3.1.0-0.2.0 "cordova platform add android" doesn't add platforms/android/cordova/*.bat files on OS X. Obviously I don't need the bat files on OS X but it causes "cordova run android" to fail when the project is checked out on windows. Is this intentional or should I file a bug?

Re: platform add android skips bat files on os x

2013-11-03 Thread Don Coleman
not > > > build the project on their Windows 7 machines. Bummer. > > > We were able to circumvent the need to checkin platforms now but still > > this > > > was a hurdle we would like to get rid off. > > > > > > Axel > > > Am 03.

CLI problems with WP8

2013-11-03 Thread Don Coleman
cordova platform add wp8 is failing for me The cli add script is trying to run bin/create instead of wp8/bin/create Cordova 3.1.0-0.2.0 Windows 8.1 I'm hoping I might have something configured incorrectly? C:\Users\don>cordova create foo Creating a new cordova project with name "

Re: BlackBerry 10 plugins and config.xml

2013-11-04 Thread Don Coleman
; On Sun, Nov 03, 2013 at 01:00:47PM -0500, Don Coleman wrote: > > I'm trying to update a BlackBerry 10 plugin to use Cordova 3.1.0. > > > > I'd like to map the plugin id, com.chariotsolutions.nfc.plugin, to > > NfcPlugin so the cordova.exec calls work across all pla

Re: CLI problems with WP8

2013-11-04 Thread Don Coleman
This looks similar to CB-5183. I was using the latest cordova from npm as of yesterday 3.1.0-0.2.0. I'll add a comment to the JIRA issue. On Mon, Nov 4, 2013 at 1:44 PM, Sergey Grebnov (Akvelon) < v-seg...@microsoft.com> wrote: > Hi Don, > It could be similar to CB-5183 WP7/8 c

Re: Platforms which are in subdirectory in repositories can't be added by cli since 3.1.0-0.2.0

2013-11-06 Thread Don Coleman
I'm seeing errors installing a plugins with CLI 3.1.0-0.2.0 for Blackberry 10 that work OK using plugman 0.14.0 directly. Some like com.blackberry.invoke work OK, but others like phonegap-nfc fail. TypeError: Invalid Version: The file "www/cordova.js" does not exist. I'm still working on BB10

engines tag breaks cordova cli / plugman for BB10

2013-11-06 Thread Don Coleman
When plugin.xml contains an engines tag, the plugin fails to install with cordova or plugman If the engines tag is removed from plugin.xml, the plugin installs OK $ cordova create foo $ cd foo $ cordova platform add blackberry10 $ cordova plugin add https://github.com/chariotsolutions/phonegap-n

Re: engines tag breaks cordova cli / plugman for BB10

2013-11-06 Thread Don Coleman
aving trouble finding where the > > www/cordova.js file is located. The issue is if you try calling the > version > > script from different levels of the cli created project, it won't be able > > to resolve where the cordova.js file should be. > > > > > > On 6 Nov

source repository info in plugin spec?

2013-11-08 Thread Don Coleman
I'm glad we have a plugin repo , but it doesn't provide a lot of info about plugins. Can we consider adding a "source repository" tag to plugin.xml to help people get to the source and docs for plugins? https://npmjs.org/doc/json.html#repository

Re: source repository info in plugin spec?

2013-11-08 Thread Don Coleman
Good news. I'll update my plugins with this additional info. On Fri, Nov 8, 2013 at 12:36 PM, Steven Gill wrote: > Hey Don, > > Plugin.xml now includes a repo tag and issue tag which point to the repo > and issue tracker. > > Joni has been mocking up a redesign for the

Re: tag, and accessing the plugin list

2013-11-14 Thread Don Coleman
JavaScript only plugin implementations are valid on BlackBerry 10. Some things that require native code on Android can be implemented in client side JavaScript on BlackBerry using com.blackberry.invoke. On Thu, Nov 14, 2013 at 12:26 PM, Joe Bowser wrote: > On Thu, Nov 14, 2013 at 9:12 AM, Brian

Re: JAVA_HOME

2013-12-05 Thread Don Coleman
I was hoping this fix was going to make 3.2.0-0.4.0 but it looks like it's marked as 3.3 in JIRA. Would it be difficult to get this fix into 3.2.0-0.5.0? https://issues.apache.org/jira/browse/CB-5422 On Tue, Dec 3, 2013 at 12:08 PM, Marcel Kinard wrote: > Yeah. It's really cool what works in C

Cordova 3.3.1-0.1.2 doesn't load javascript for plugins

2013-12-19 Thread Don Coleman
I upgraded to 3.3.1-0.1.2 and iOS isn't working anymore. Based on Greg's bug report it looks like Android has a similar problem https://issues.apache.org/jira/browse/CB-5647 I'm using Cordova 3.3.1-0.1.2 on OS X 10.9.1, Xcode 5.0.2 (5A3005), Node v0.10.22 $ cordova create foo com.example.foo Foo

Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins

2013-12-20 Thread Don Coleman
gt; removed (but doc not updated) > > just repro'ed your steps with 3.3.1-0.1.2 > if you tried device.model - it should work > > > On Thu, Dec 19, 2013 at 3:49 PM, Don Coleman > wrote: > > > I upgraded to 3.3.1-0.1.2 and iOS isn't working anymore. > &

Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins

2013-12-20 Thread Don Coleman
I hit this bug last week, and Braden figured out that the fix for > CB-5579 > > > had a side-effect of causing CLI to put things in .staging that should > > > actually go straight in www/. > > > > > > Braden - did you ever file this bug? > > > >

Re: Something up with plugins.cordova.io?

2014-01-14 Thread Don Coleman
http://plugins.cordova.io seems borked. It's slow, pages aren't loading, search is broken. Does something need to be restarted? On Thu, Jan 9, 2014 at 4:16 AM, Erik Jan de Wit wrote: > Still something strange going on, there is no way to search! > > Cheers, > Erik Jan > > On 9 Jan,2014

Re: NFC API at W3C

2014-01-20 Thread Don Coleman
ommitters. > > > > > > > > On Mon, Jan 20, 2014 at 3:15 PM, Joe Bowser wrote: > > > > > iOS will never adopt NFC, so I don't think that will ever be core. :( > > > > > > On Mon, Jan 20, 2014 at 12:15 PM, Lisa Seacat DeLuca < > ldel...@us.ibm.com > > > > > > wrote: > > > > Two more links for NFC: > > > > > > > > > > http://www.zdnet.com/web-steps-closer-to-baking-in-support-for-nfc-payments-and-data-swapping-725297/ > > > > http://www.w3.org/TR/2014/WD-nfc-20140114/ > > > > > > > > > > > > What does everyone think about potentially having a new core cordova > > > > plugin for NFC? > > > > > > > > > > > > Lisa > > > > > > > > - Message from Brian LeRoux on Mon, 20 Jan 2014 > > > 09:29:58 > > > > -0800 - > > > > To: > > > > "dev@cordova.apache.org" > > > > Subject: > > > > NFC API at W3C > > > > Of potential interest. (Esp to Don Coleman!) > > > > > > > > http://www.w3.org/blog/news/archives/3586 > > > > > > > >

Re: Camera does too many things!!!!

2014-01-24 Thread Don Coleman
I like the Camera API because it's simple. Capture might be standard but it seems too complex. Resizing and orientation are important features. I never use data URLs. What's going on in the standards bodies around image capture? Is there an emerging standard that we could scope down to, or is noth

Re: Fw: Help us make ApacheCon a huge success

2014-02-01 Thread Don Coleman
I submitted 2 talks and a lab Presentation - Connecting Arduino and Phones with Bluetooth and Cordova Presentation - Writing NFC applications with Apache Cordova Lab - Hands on with NFC and Apache Cordova On Fri, Jan 31, 2014 at 7:40 PM, Andrew Savory wrote: > Hey Joe, > > On 27 January 201

Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-18 Thread Don Coleman
Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices. $ cordova run blackberry10 --devicepass ff Generating config.xml from defaults for platform "blackberry10" Preparing blackberry10 project Running app on platform "blackberry10" via command "/Users/.../plat

Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-18 Thread Don Coleman
It looks like 3.3.1-0.4.2 has more problems * release builds don't get the version number from config.xml * release builds don't get use the launch icon from config.xml Is anyone using 3.4 with BB10? On Tue, Feb 18, 2014 at 6:02 PM, Don Coleman wrote: > Cordova 3.3.1-0.4.2

Re: ApacheCon attendees and talks

2014-02-19 Thread Don Coleman
pp" > > > > Last i saw on our mailing list attendees from our group are: > > Andrew Grieve > > talk: The Cordova Development Lifecycle (how we manage 50 repos > > and not go insane) lightning talk: Cordova's Sweet Spot (e.g. what kind > o

Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-20 Thread Don Coleman
Bryan, Adding --device works well for 3.3.1-0.4.2. The flag was also required to get for 3.4.0-0.1.0 to deploy to the device. - Don On Wed, Feb 19, 2014 at 8:21 AM, Bryan Higgins wrote: > Hi Don, > > CLI 3.3.1-0.4.2 changed the run command so that "--device" is no longer &

Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-20 Thread Don Coleman
s only www/config.xml fixed the issue On Wed, Feb 19, 2014 at 8:37 AM, Bryan Higgins wrote: > I could not reproduce your release builds issue on 3.3.1-0.4.2. Could you > please file a JIRA with specifics? > > > On Wed, Feb 19, 2014 at 8:21 AM, Bryan Higgins >wrote: > >

BlackBerry 10 - config.xml iicon entries are not filtered for gap:platform

2014-02-20 Thread Don Coleman
I have a project that uses PhoneGap build for iOS and Android, and uses Cordova to build for BlackBerry 10. The icons are specified in config.xml When the bar file is built, the Entry-Point-Icon Manifest entry is incorrect $ unzip -p platforms/blackbe

Re: cordova launcher icon support https://github.com/apache/cordova-cli/pull/126

2014-02-21 Thread Don Coleman
Icons are a drag. Explicit configuration sucks, but is the way to go. It would be nice if the Cordova solution was compatible with PhoneGap Build icons . On Fri, Feb 21, 2014 at 11:2

Re: BlackBerry 10 - config.xml iicon entries are not filtered for gap:platform

2014-02-21 Thread Don Coleman
d like to see config.xml have a platform tag similar to plugin.xml. > Neither Cordova nor BlackBerry native tools should understand PhoneGap > attributes. > > > On Thu, Feb 20, 2014 at 5:26 PM, Don Coleman > wrote: > > > I have a project that uses PhoneGap build for

Re: MessageQueue seems to stop sending messages to the webView

2014-02-24 Thread Don Coleman
Andrew, I'm seeing similar behavior for a plugin I'm working on. I might be able to get you a sample if James doesn't have one. - Don On Mon, Feb 24, 2014 at 2:14 PM, Andrew Grieve wrote: > On Mon, Feb 24, 2014 at 2:14 PM, Andrew Grieve > wrote: > > > James - h

Re: [VOTE] Cordova 3.2.0

2014-02-25 Thread Don Coleman
+1 On Tue, Feb 25, 2014 at 4:55 PM, RUDD, Brett wrote: > +1 > > On Feb 25, 2014, at 12:24, Steven Gill wrote: > > > Please review and vote on our past release of Cordova 3.2.0. > > > > You can find the src + asc + md5 + sha at the following links: > > * http://archive.apache.org/dist/cordova/c

Re: sans sudo on npm install

2014-05-11 Thread Don Coleman
+1 On May 11, 2014 6:37 AM, "Marcel Kinard" wrote: > I'm not a Node.js expert, but the Linux person inside me says that using > sudo to install and run things ought to be avoided if possible. > > Would there be objection if I changed cordova-docs to omit sudo from the > npm install commands? And

cordova/debug doesn't launch app on android

2012-11-11 Thread Don Coleman
cordova/debug doesn't launch the application on Android after deploying. Is this intentional? in 1.8.1 debug launched the app for 2.2.0, I need to do something like ./corodova debug && ./cordova/cordova launch Is there any downside to patching the cordova debug to launch the app?

Re: Who runs http://cordova-filetransfer.jitsu.com

2012-12-13 Thread Don Coleman
I restarted that server. I'm working with Fil to get other people admin access on the server until we get a better solution. On Thu, Dec 13, 2012 at 4:19 PM, Filip Maj wrote: > CC'ing Don. Don, any chance you can hook our committers up with the jitsu > instance creds so we ca

Re: 3rd party Plugin code structure

2012-12-20 Thread Don Coleman
+1 for using Andrew's cordova-plugin-spec On Thu, Dec 20, 2012 at 2:52 PM, Brian LeRoux wrote: > This is pretty close to Lunny's pluginstall spec: > > https://github.com/alunny/cordova-plugin-spec > > For which the tools are being built. View the current > phonegap/phonegap-plugins repo as a st

Re: Are these issues valid?

2013-01-08 Thread Don Coleman
CB-1130, CB-1131, CB-1132, CB-1133 are about the plugin guide. I think these can be closed. The current plugins docs http://docs.phonegap.com/en/2.3.0/guide_plugin-development_index.md.html#Plugin%20Development%20Guidelook have been updated and look good. On Tue, Jan 8, 2013 at 4:48 PM, Jesse

Re: Binary data across exec bridge

2013-01-09 Thread Don Coleman
For the phonegap-nfc plugin I send binary data between native and javascript as a byte array in JSON. static JSONArray byteArrayToJSON(byte[] bytes) { JSONArray json = new JSONArray(); for (int i = 0; i < bytes.length; i++) { json.put(bytes[i]); } re

Re: Getting Started (Android) feedback

2013-01-19 Thread Don Coleman
I think it's better to remove Eclipse from the instructions. Have users build and deploy with ./cordova/run. Suggest using a text editor like Sublime Text to edit assets/www. Note that Eclipse or IntelliJ IDEA works if they'd prefer. Link to external articles with more details. On Sat, Jan 1

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Don Coleman
+1 On Mon, Jan 28, 2013 at 2:23 PM, Brian LeRoux wrote: > ah sorry that is what I meant actuallytho it does beg how > cordova.require and various other requires might work > > (I think Pat brought this up last year.) > > On Mon, Jan 28, 2013 at 11:15 AM, Filip Maj wrote: > > Hmm, how does

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Don Coleman
I have the Android tools in my path but not BlackBerry. Prompting for the BlackBerry file locations and passwords etc works OK. It would be nice to search the default location, or at least store all this info in ~/.cordova-cli so the next time I run the tool I can just confirm the previous entries

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Don Coleman
; > >>wrote: > > >> > > >>> +1 path and configuration for credentials. > > >>> > > >>> -1 prompting for values, or confirming previous values. > > >>> > > >>> I think the tool should be non-interactive, or

Re: Issues with CLI

2013-03-06 Thread Don Coleman
I'd like to see cordova-cli get the phonegap version from config.xml like phonegap build. I'd also rather have cordova.js without the version appended. On Wed, Mar 6, 2013 at 12:31 PM, Patrick Mueller wrote: > On Wed, Mar 6, 2013 at 11:17 AM, Braden Shepherdson >wrote: > > > Like I sa

Re: HideKeyboardFormAccessoryBar

2013-03-09 Thread Don Coleman
Check out https://github.com/don/KeyboardToolbarRemover I think it has the code you need. On Mar 9, 2013 9:22 PM, "Shazron" wrote: > Hmm the fix will be more gnarly than expected. I think the parent view for > the accessory bar has to be resized as well to shrink it, it is

Re: HideKeyboardFormAccessoryBar

2013-03-13 Thread Don Coleman
on a page with one field, but re-enable it on long forms. - Don On Mon, Mar 11, 2013 at 12:43 AM, Shazron wrote: > Looking at Don's code, the main difference is the accessory view was > removed from the superview, while I only hid it. Removing it from the > superview fixes th

Re: http://cordova-filetransfer.jitsu.com/

2013-03-19 Thread Don Coleman
That code has been crashing on nodejitsu, not sure why. I think I might need to upgrade node to > 0.6. It's also deployed to http://cordova-filetransfer.herokuapp.com/ as an alternate. On Tue, Mar 19, 2013 at 7:09 PM, Shazron wrote: > Thanks Fil. > Now getting mobile-spec filetransfer errors w

Re: http://cordova-filetransfer.jitsu.com/

2013-03-19 Thread Don Coleman
I'll add a pull request, and see if I can fix Shaz's error. On Tue, Mar 19, 2013 at 7:22 PM, Filip Maj wrote: > We should move the file transfer server code over to a branch on labs for > now, so we can all fix stuff easily. > > On 3/19/13 4:15 PM, "Don Coleman"

Re: http://cordova-filetransfer.jitsu.com/

2013-03-19 Thread Don Coleman
Shazron, I updated the code and redeployed to nodejitsu Fil, I added the code to a fork. https://github.com/don/cordova-labs Should I issue the pull request against master or should someone create a 'cordova-filetransfer' branch first? On Tue, Mar 19, 2013 at 7:23 PM, Don Cole

Re: http://cordova-filetransfer.jitsu.com/

2013-03-20 Thread Don Coleman
Maybe this has something to do with the newer version of node or formidable? On Wed, Mar 20, 2013 at 1:45 PM, Shazron wrote: > Weird. Mobile-spec detects the newline at the end of this output now (the > line hasn't changed since last year): > https://github.com/don/cordova-fil

Re: http://cordova-filetransfer.jitsu.com/

2013-03-20 Thread Don Coleman
a-filetransfer branch > > > On Tue, Mar 19, 2013 at 8:03 PM, Don Coleman > wrote: > > > Shazron, > > > > I updated the code and redeployed to nodejitsu > > > > Fil, > > > > I added the code to a fork. https://github.com/don/cordova-labs > &

Capture - specify video quality

2013-03-22 Thread Don Coleman
I'm looking at adding video quality to CaptureVideoOptions. Android has 2 options, iOS has 5. Should I attempt to map some generic high_quality, medium_quality, low_quality options to platform specific options or just pass in platform specific options? Android: EXTRA_VIDEO_QUALITY 0 low quality

Android Capture Video duration

2013-03-24 Thread Don Coleman
The latest code for Android handles video duration https://github.com/apache/cordova-android/commit/1648f161d9f3dfe90d4aa0580f284b5fdc2afff5 I can't get this to work as is. If I switch the code to pass the durationLimit as in int, it works on Nexus 4 (4.2), Samsung Galaxy Player (2.3) and Motorol

Re: Capture - specify video quality

2013-03-24 Thread Don Coleman
(I only suggest this because complaints about hybrid apps of late are that > they sometimes abstract too much of the underlying platform, I generally do > think sensible simplification is the way to go) > > > On Fri, Mar 22, 2013 at 8:41 PM, Shazron wrote: > > > I would ma

Re: File Transfer is failing in MobileSpec on Android.

2013-04-08 Thread Don Coleman
I restarted the nodejitsu server. Uploads appear to be working now curl --form upload=@foo.txt http://cordova-filetransfer.jitsu.com/upload If you need the source for the server https://github.com/apache/cordova-labs/tree/cordova-filetransfer On Mon, Apr 8, 2013 at 1:51 PM, Max Woghir

Re: File Transfer is failing in MobileSpec on Android.

2013-04-09 Thread Don Coleman
our > testing purposes? This way we can have this server running on apache infra > that all of our committers can access and tweak and fix etc. > > http://apache.org/dev/freebsd-jails > > > On 4/8/13 8:54 PM, "Don Coleman" wrote: > > >I restarted the nodejitsu

Re: File Transfer is failing in MobileSpec on Android.

2013-04-10 Thread Don Coleman
an access and tweak and fix etc. > > http://apache.org/dev/freebsd-jails > > > On 4/8/13 8:54 PM, "Don Coleman" wrote: > > >I restarted the nodejitsu server. > > > >Uploads appear to be working now > > curl --form upload=@foo.txt > >

WP8 Replacement for BaseCommand.InvokeCustomScript?

2013-04-15 Thread Don Coleman
t for BaseCommand.InvokeCustomScript? If not, when is it going away? https://github.com/apache/cordova-wp8/blob/master/templates/standalone/cordovalib/Commands/BaseCommand.cs#L75 https://github.com/don/phonegap-nfc/blob/master/src/windows-phone-8/NfcPlugin.cs#L109 https://github.com/don/phonegap-nfc

Re: WP8 Replacement for BaseCommand.InvokeCustomScript?

2013-04-16 Thread Don Coleman
KeepCallback will work but requires API breaking change to my plugin across all platforms. It seems like I need to do that at some point. Can you give me a heads up before you remove InvokeCustomScript? On Tue, Apr 16, 2013 at 1:14 PM, Jesse wrote: > Hi Don, > > There is not a

Re: plugman + plugin spec final q's

2013-04-17 Thread Don Coleman
On Windows Phone the permission required to access NFC is ID_CAP_PROXIMITY. The ID_REQ_NFC restricts the application to running on only devices that have NFC. This would be equivalent to setting android:required to true for a feature AFAIK android:required="true" only effects Google Play l

iOS equivalent of CordovaArgs getJSONArray() and getArrayBuffer()

2014-08-18 Thread Don Coleman
Is there an iOS equivalent of Android's CordovaArgs getJSONArray() and getArrayBuffer()?

Re: iOS equivalent of CordovaArgs getJSONArray() and getArrayBuffer()

2014-08-19 Thread Don Coleman
ted arg type) > > > > > On Mon, Aug 18, 2014 at 9:28 PM, Don Coleman > wrote: > > > Is there an iOS equivalent of Android's CordovaArgs getJSONArray() and > > getArrayBuffer()? > > >

Plugin path when installing from git

2014-08-21 Thread Don Coleman
What's the syntax for installing a plugin from a subdirectory in git? I can install the plugin from a local copy with cordova plugin add ~/phonegap-nfc/tests But I can't figure out the URL to install this from git https://github.com/chariotsolutions/phonegap-nfc/tree/master/tests

Re: Plugin path when installing from git

2014-08-22 Thread Don Coleman
s/en/edge/guide_cli_index.md.html > > You can also combine both the git-ref and the subdirectory: > > $ cordova plugin add > https://github.com/someone/aplugin.git#r0.0.1:/my/sub/dir > > > > On Thu, Aug 21, 2014 at 2:31 PM, Don Coleman > wrote: > > > What's the synt

Re: NFC and IOS

2014-09-10 Thread Don Coleman
Jan 20, 2014 at 12:15 PM, Lisa Seacat DeLuca < ldel...@us.ibm.com > wrote: > Two more links for NFC: > > http://www.zdnet.com/web-steps-closer-to-baking-in-support-for-nfc-payments-and-data-swapping-725297/ > > http://www.w3.org/TR/2014/WD-nfc-20140114/ > What does ever

plugin registry missing info from plugins.xml

2014-09-11 Thread Don Coleman
The plugins registry isn't listing platforms or the repository for my plugin. http://plugins.cordova.io/#/package/com.megster.cordova.ble https://github.com/don/cordova-plugin-ble-central/blob/master/plugin/plugin.xml I could use some help figuring out what the parser doesn't

Re: NFC and IOS

2014-09-16 Thread Don Coleman
Apple closed my by "Add NFC APIs" bug report as a duplicate. "Engineering has determined that your bug report (18295114) is a duplicate of another issue (18337769) and will be closed." Is there any way to see the status or watch an Apple bug I didn't report? On Tue, Sep 16, 2014 at 3:31 PM, Kerri

Re: PhoneGap day

2014-10-17 Thread Don Coleman
I'll be there > On Oct 17, 2014, at 9:29 PM, tommy-carlos williams wrote: > > I will certainly be there. > > > > > On 18 October 2014 at 12:08:49, Jesse (purplecabb...@gmail.com) wrote: > > Who all is coming? > > I will be there for my first ever phonegap day. I've only been working w

Re: cordova-browser plugin polyfills -- which projects already have work in this space?

2014-11-14 Thread Don Coleman
Does the browser platform always target Chrome? When implementing the browser platform in a plugin can I access protected chrome APIs such as https://developer.chrome.com/apps/bluetooth and https://developer.chrome.com/apps/bluetoothLowEnergy? On Fri, Nov 14, 2014 at 4:07 PM, Ray Camden wrote:

Re: official bluetooth plugin

2014-11-19 Thread Don Coleman
Be sure to checkout https://github.com/don/cordova-plugin-ble-central and https://github.com/don/BluetoothSerial On Wed, Nov 19, 2014 at 3:07 PM, Joe Bowser wrote: > On Wed Nov 19 2014 at 11:57:34 AM Shazron wrote: > > > Hi Inoa, > > First off, please don't make demand

Re: [All Platforms][CordovaJS] NO_RESULT handling

2015-01-08 Thread Don Coleman
ESULT since I hold onto command.callbackId when a Cordova method is called and call the callback later from an iOS delegate callback. https://github.com/don/BluetoothSerial/blob/master/src/ios/MEGBluetoothSerial.m#L148 I was under the impression that i needed to call [pluginR

Re: [All Platforms][CordovaJS] NO_RESULT handling

2015-01-08 Thread Don Coleman
Thu, Jan 8, 2015 at 3:30 PM, Shazron wrote: > Don, this change was just proposed and hasn't been implemented yet, so > I'm not sure how you see a difference. > > https://github.com/apache/cordova-ios/compare/3.6.x...3.7.x > > On Thu, Jan 8, 2015 at 11:02 AM, Don Colema

  1   2   >