On Sat, Feb 2, 2013 at 11:16 AM, Keean Schupke <keean@fry-it.com> wrote:
> I think a static declaration is better for security, so if a permission is
> not there I don't think it should be allowed to request it later. Of course
> how this is presented to the user is entirely separate, an the UI could
> defer the request until the first time the restricted feature is used, or
> allow all permissions that might be needed to be reviewed and
> enabled/disabled in one place.
>
That kills any benefit a developer could derive. The very idea is that you
can figure out up front what your user is gonna let you do, and take
appropriate steps (not adding parts of the UI, presenting a suitable
message that the application won't work etc.) as well as that if a user has
agreed up front, that you can rely on that API and don't need to
double-check at every step and add a gazillion pointless
onFeatureYaddaYaddaAllowCallback handlers.