incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Mueller <>
Subject Re: Callback version available in platform natives and JS
Date Thu, 17 Nov 2011 19:10:27 GMT
On Thu, Nov 17, 2011 at 13:05, Jesse MacFadyen <>wrote:

> Runtime js code can look at device.phonegap for the version.

ah, didn't see that.  Not clear what's being returned here, presumably a
string like "1.2.0".  We may want to make it more elaborate, like
separating out major/minor/fix numbers or something, depending on what we
do in the native side.

> For build-time I like the #define approach, but this can vary by platform.

Right.  For Java-based platforms, presumably we'd have final static
Thing(s) with the version #'s; for C-based platforms, preprocessor defines
make more sense.  We can evaluate a couple of different styles of these if
we want to move forward on it.

Patrick Mueller

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