Re: Ambient light API redesign

On Mon, Sep 8, 2014 at 2:10 PM, Olli Pettay <olli@pettay.fi> wrote:

> I see. If permission is required for many sensors, there sure should be
> some way to request permission only once.
>

Now that's an interesting point that I hadn't thought about. It's still not
what I was getting at, though, which is that we should pick async or sync
w/ null initial value based on actual code examples, and listening to
developer feedback given both options can easily be polyfilled over
existing implementations.

--tobie

Received on Monday, 8 September 2014 12:24:45 UTC