ripple-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <>
Subject Re: cordova remote proxy
Date Tue, 12 Nov 2013 21:24:25 GMT
Very neat idea. My gut is that it would be useful only to a small set of
device-sensor-heavy apps, but probably will be quite useful to them. Also
useful would be a way to record & playback calls over the exec() bridge.

How to implement it is a good question though. Seems like it might be
enough to have a custom app template that people could use to build their
"remote" apps (e.g. cordova create --template=remote-app).

The hijacking of exec() could be done as a plugin you add to your project

On Thu, Nov 7, 2013 at 11:55 AM, Julien Bouquillon <>wrote:

> Hi there,
> Ive submitted the idea a while
> ago<> on
> the cordova ML and now that the cordova codebase is much more sane and
> promises-based API are on their way we can put the subject back the
> discussion table ;)
> Basically, it would be very handy and timesaving for developers to be able
> to call the real devices APIs right from their dev environnement (chrome
> desktop for me), using a kind of "proxy".
> Both @gordtanner and i have prototyped something related a bit some time
> ago :
> Some ideas :
>  - implement a "remote" platform in cordova that would be configurable
> using a custom host:post+password scheme.
>  - relay requests/responses using or similar; maybe @substack
> dnode project could help here.
>  - create basic native apps with a webview and a "runner" that just execute
> API calls and return responses.
> I'm not sure if it can be done with a custom cordova "platform" only or if
> this is more a ripple module.
> This could allow developers to dev the whole app JS code in their desktop
> directly. Only the UI will still need to be tested on real devices.
> Thoughts ?
> Thanks
> Julien Bouquillon (@revolunet)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message