I think the answer depends upon when the app checks to see if it is
running in cordova webview. If it is loading a remote url with remote
cordova.js, then the native side will become available well before
cordova.js finished loading. So, I would either check for
device.cordova or register for dev
[
https://issues.apache.org/jira/browse/CB-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507809#comment-13507809
]
Shazron Abdullah commented on CB-1475:
--
Commit for above:
https://git-wip-us.apache.org
[
https://issues.apache.org/jira/browse/CB-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507805#comment-13507805
]
Shazron Abdullah commented on CB-1044:
--
Need to test on actual devices: (1) Retina iPhon
[
https://issues.apache.org/jira/browse/CB-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-1674.
--
Resolution: Not A Problem
> watchPosition example in PG docs eventually times out
> --
[
https://issues.apache.org/jira/browse/CB-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507804#comment-13507804
]
Shazron Abdullah commented on CB-1674:
--
Not sure if this is a bug. A timeout can occur f
+1
This isn't a platform issue but rather a developer issue
Sent from my iPhone
On 2012-11-30, at 7:11 PM, Jesse wrote:
> Presumably the developer knows the url of their own server, so
> wouldn't it be easier to just test for that in window.location?
>
> On Fri, Nov 30, 2012 at 4:07 PM, Jesse
[
https://issues.apache.org/jira/browse/CB-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507798#comment-13507798
]
Shazron Abdullah commented on CB-1406:
--
I am unsure how to proceed with this -- I tried
I think having the conversion script makes sense (and you've already
implemented it, thanks Andrew). Supporting both can cause confusion.
So what is the consensus if any here.
On Thu, Nov 29, 2012 at 10:40 AM, Andrew Grieve wrote:
> Copying from the JIRA issue to this thread:
>
> I think su
Presumably the developer knows the url of their own server, so
wouldn't it be easier to just test for that in window.location?
On Fri, Nov 30, 2012 at 4:07 PM, Jesse wrote:
> So the bigger question then is how to handle the differences ...
>
> On Fri, Nov 30, 2012 at 4:04 PM, Filip Maj wrote:
>>
[
https://issues.apache.org/jira/browse/CB-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507778#comment-13507778
]
Shazron Abdullah commented on CB-1958:
--
I tested with 2.2.0 and the latest code using a
So the bigger question then is how to handle the differences ...
On Fri, Nov 30, 2012 at 4:04 PM, Filip Maj wrote:
> It is to run a single codebase (or as close to it as possible minus the
> differences in cordova.js) across web and cordova apps.
>
> On 11/30/12 4:02 PM, "Jesse" wrote:
>
>>Can w
It is to run a single codebase (or as close to it as possible minus the
differences in cordova.js) across web and cordova apps.
On 11/30/12 4:02 PM, "Jesse" wrote:
>Can we back up and discuss the goal?
>
>Is it to use the same code on the server + inside an app ( that is
>packaged for multiple p
Yeh this makes more sense.. Delegate "iswebview" to each platform
implementation.
BTW Android is file:// as well
On 11/30/12 3:56 PM, "Shazron" wrote:
>Its yucky and may break in a future platform version, but since each
>platform requires its own cordova.js -- then each platform could define
>
Can we back up and discuss the goal?
Is it to use the same code on the server + inside an app ( that is
packaged for multiple platforms ) ?
OR
Is it to load an app on multiple devices all served by the same server?
On Fri, Nov 30, 2012 at 3:56 PM, Shazron wrote:
> Its yucky and may break in a
Its yucky and may break in a future platform version, but since each
platform requires its own cordova.js -- then each platform could define its
own cordova.isWebView?
wp7 is x-wmapp
iOS is file://
BB is http://localhost
Android is ?
On Fri, Nov 30, 2012 at 3:49 PM, Jesse wrote:
> WP7 app is l
WP7 app is loaded from x-wmapp1:/
WP8 app is loaded from x-wmapp0:/
So file:// will not work
There are probably numerous other approches ...
deviceready will/should never fire, but that is difficult to test for,
because it could just be taking a real long time.
I see many issues with this thoug
On Fri, Nov 30, 2012 at 6:27 PM, Filip Maj wrote:
> The question becomes: since both browser and native versions of the app
> include cordova.js, how do we know if we're in cordova or not?
>
Great question.
> What about during cordova.js' initialization we test the bridge (echo
> plugin?). If
document.location starts with http://localhost OR starts with file:// then?
;)
In any case, any js variable that we could set can be overridden of course.
On Fri, Nov 30, 2012 at 3:38 PM, Filip Maj wrote:
> I think in BB WEbWorks you get http://localhost/somethingsoemthing
>
> On 11/30/12 3:35
My gut told me _nativeReady but I don't think that is cross platform.
I think we should work harder at making Cordova.js be a noop when in a standard
browser which shouldn't be to hard.
Sent from my iPhone
On 2012-11-30, at 6:38 PM, Filip Maj wrote:
> I think in BB WEbWorks you get http://loc
I think in BB WEbWorks you get http://localhost/somethingsoemthing
On 11/30/12 3:35 PM, "Shazron" wrote:
>"how do we know if we're in cordova or not?" --> document.location starts
>with file:// ?
"how do we know if we're in cordova or not?" --> document.location starts
with file:// ?
I'm seeing this question pop up on our IRC, as well as in person after
meet ups, as well as on stack overflow here and there.
Scenario: I have a website, and I have a native app that uses cordova. My
cordova apps simply point to the website URL to get its contents.
The question becomes: since bot
[
https://issues.apache.org/jira/browse/CB-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507745#comment-13507745
]
Shazron Abdullah edited comment on CB-1957 at 11/30/12 11:26 PM:
--
[
https://issues.apache.org/jira/browse/CB-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507751#comment-13507751
]
Antony Lees commented on CB-1947:
-
I don't remember seeing much of use in the logcat but I ca
[
https://issues.apache.org/jira/browse/CB-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507747#comment-13507747
]
Joe Bowser commented on CB-1947:
Do you have a logcat log of this? I'm not able to reproduce
[
https://issues.apache.org/jira/browse/CB-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-1957.
--
Resolution: Fixed
Fix commit - http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/7f6d6437
[
https://issues.apache.org/jira/browse/CB-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-1957:
-
Attachment: video.html
Test file 'video.html' attached. Add the file your www folder then call from
[
https://issues.apache.org/jira/browse/CB-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-1956.
Resolution: Fixed
We should always link to the docs:
https://git-wip-us.apache.org/repos/asf?p=cordova-docs.g
[
https://issues.apache.org/jira/browse/CB-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-1943.
Resolution: Fixed
Assignee: Joe Bowser (was: Simon MacDonald)
Since we have no assets, just updating co
[
https://issues.apache.org/jira/browse/CB-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507739#comment-13507739
]
Joe Bowser commented on CB-1943:
https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a
Hey Everyone,
You can grab 2.3.0rc1 for cordova at http://people.apache.org/~steven/
You can grab phonegap 2.3.0rc1 at https://github.com/phonegap/phonegap/tags.
The PhoneGap release has a zip folder that contains the template for
windows phone 8. This isn't included with the cordova release due
Thanks Sergey!
Your patch will be in RC2 next week.
On Fri, Nov 30, 2012 at 2:42 AM, Sergey Grebnov (Akvelon)
wrote:
> I confirm that the template works on a real device (HTC 8X).
>
> I see that html files are stored in xap and not copied to isolated storage,
> but cordova.js doesn't contain the
Thanks for the heads up, Gord!
On 30 November 2012 07:40, Gord Tanner wrote:
> The BlackBerry 10 SDK and OS versions were updated this week, this
> broke compatibility the previous SDK. Until BlackBerry 10 is released we
> will have to keep on the bleeding edge to ensure device to
> SDK compat
[
https://issues.apache.org/jira/browse/CB-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Mueller resolved CB-1494.
-
Resolution: Fixed
fixed in commit:
https://git-wip-us.apache.org/repos/asf?p=cordova-weinre.git;a=c
[
https://issues.apache.org/jira/browse/CB-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Tooke updated CB-1958:
--
Description:
When "AutoHideSplashScreen" is set to NO, the splash screen shifts up by 10px
after the init
[
https://issues.apache.org/jira/browse/CB-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Tooke updated CB-1958:
--
Priority: Minor (was: Critical)
> Post-loading splash screen is not centered properly on 3.5inch iOS
Brandon Tooke created CB-1958:
-
Summary: Post-loading splash screen is not centered properly on
3.5inch iOS
Key: CB-1958
URL: https://issues.apache.org/jira/browse/CB-1958
Project: Apache Cordova
Yes and probably yes
For example, the postMessage API in Android plugins is not documented.
This is essentially the same thing as what we are describing for iOS
plugins. We could take this moment to document both in one fell swoop.
On 11/30/12 2:09 AM, "Brian LeRoux" wrote:
>Would this be an ap
The BlackBerry 10 SDK and OS versions were updated this week, this
broke compatibility the previous SDK. Until BlackBerry 10 is released we
will have to keep on the bleeding edge to ensure device to
SDK compatibility.
I updated cordova-blackberry to use the new SDK (also use the provided path
for
IIRC that was a hold over from when I converted the ChildBrowser
(Plugin) to InAppBrowser (CordovaPlugin). The browserCallbackId was
the string that held what ID to call on the JS side and it has been
superseded by callbackContext so it looks like it is safe to delete.
Thanks for doing the events
[
https://issues.apache.org/jira/browse/CB-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Mueller resolved CB-1800.
-
Resolution: Fixed
Fixed in git commit:
https://git-wip-us.apache.org/repos/asf?p=cordova-weinre.git
Shazron Abdullah created CB-1957:
Summary: InAppBrowser - video/audio does not stop playing when
browser is closed
Key: CB-1957
URL: https://issues.apache.org/jira/browse/CB-1957
Project: Apache Cordo
[
https://issues.apache.org/jira/browse/CB-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507337#comment-13507337
]
Shazron Abdullah commented on CB-1952:
--
Update the Wiki page as well for the
[spec|http
[
https://issues.apache.org/jira/browse/CB-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507337#comment-13507337
]
Shazron Abdullah edited comment on CB-1952 at 11/30/12 2:03 PM:
---
Tested and checked in changes for InAppBrowser events for Android.
Simon -- I didn't know how the variable browserCallbackId fit in, so I
commented it out for now :P
On Wed, Nov 28, 2012 at 5:48 PM, Shazron wrote:
> Checked in changes for InAppBrowser events for iOS.
>
> Example usage:
>
> var
[
https://issues.apache.org/jira/browse/CB-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah reassigned CB-1950:
Assignee: Shazron Abdullah (was: Simon MacDonald)
> InAppBrowser - support events
> -
[
https://issues.apache.org/jira/browse/CB-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-1950.
--
Resolution: Fixed
Fix commit -
http://git-wip-us.apache.org/repos/asf/cordova-android/commit/432a
Shazron Abdullah created CB-1956:
Summary: Update Android Getting Started Guide
Key: CB-1956
URL: https://issues.apache.org/jira/browse/CB-1956
Project: Apache Cordova
Issue Type: Bug
I confirm that the template works on a real device (HTC 8X).
I see that html files are stored in xap and not copied to isolated storage, but
cordova.js doesn't contain the fix for XHRPatch - the template won't work in
jQueryMobile-like cases when the files are accessed via XMLHttpRequest. You ca
Would this be an appropriate addition to the plugin dev guide or are
there other events/scenarios we/re not considering?
On Fri, Nov 30, 2012 at 6:57 AM, Filip Maj wrote:
> I feel pretty dumb not thinking about this before..
>
> O well, good thing Jesse is smrt!
>
> On 11/29/12 7:21 PM, "Ally Ogi
50 matches
Mail list logo