cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: WKWebView for iOS8
Date Fri, 06 Jun 2014 01:09:27 GMT
Oh wow.  I totally assumed that you can postMessage in either direction at
any time.  Wouldn't the alternative be polling from JS?

-Michal


On Thu, Jun 5, 2014 at 6:46 PM, Shazron <shazron@gmail.com> wrote:

> Well seems like the answer in iOS 8 beta 1 is -- no arbitrary sending
> of JS, so no Obj-C -> JS communication, which leaves Cordova
> handcuffed. Please everyone file radars for this.
> https://devforums.apple.com/message/975230#975230
>
> On Thu, Jun 5, 2014 at 3:40 PM, Shazron <shazron@gmail.com> wrote:
> > Thanks Tommy - I sure will.
> >
> > I think injecting JavaScript at arbitrary times -- you would just use
> > WKUserScriptInjectionTimeAtDocumentEnd for WKUserScript -- although I
> > haven't tested it. If setting JS at arbitrary times is taken away -
> > yikes.
> >
> > Anyways, on the bridge front, I've posted my approach for the new bridge:
> > https://issues.apache.org/jira/browse/CB-6884
> >
> > On Thu, Jun 5, 2014 at 2:06 PM, Tommy Williams <tommy@devgeeks.org>
> wrote:
> >> I am sure you won't need it, but if I can help, let me know.
> >>
> >> I think the biggest hurdle will be firing user scripts at arbitrary
> times
> >> instead of only on page load.. There seems to be an API that hasn't been
> >> exposed :/
> >> On 6 Jun 2014 04:59, "Shazron" <shazron@gmail.com> wrote:
> >>
> >>> My intent is to work on this today, in a branch for cordova-ios:
> >>> https://issues.apache.org/jira/browse/CB-6863
> >>>
> >>> On Wed, Jun 4, 2014 at 10:15 AM, Shazron <shazron@gmail.com> wrote:
> >>> > Use Safari to watch "Introducing the Modern WebKit API" (no login
> >>> required):
> >>> > https://developer.apple.com/videos/wwdc/2014/
> >>> >
> >>> > On Wed, Jun 4, 2014 at 8:25 AM, Michal Mocny <mmocny@chromium.org>
> >>> wrote:
> >>> >> You can probably bet on it.
> >>> >>
> >>> >> But this is really fresh news, we're as excited as you are, trying
> to
> >>> >> figure out the details.
> >>> >>
> >>> >>
> >>> >> On Wed, Jun 4, 2014 at 11:05 AM, Matthew David <
> matthewadavid@gmail.com
> >>> >
> >>> >> wrote:
> >>> >>
> >>> >>> I am sure I am not the first to ask for this, but the new WebView
> for
> >>> iOS
> >>> >>> is now WKWebView with support for Nitro JS engine. Will WKWebView
> be a
> >>> >>> selectable option in future builds of PhoneGap for iOS along
with
> >>> support
> >>> >>> for iOS7 and earlier?
> >>> >>>
> >>> >>> Matt
> >>> >>>
> >>>
>

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