cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-8946) ToastCapable preference
Date Tue, 05 May 2015 18:04:01 GMT


ASF GitHub Bot commented on CB-8946:

Github user robpaveza commented on the pull request:
    The plugin is likely unable to do this directly except via hooks, because the `<config-file>`
directive is an element-level change, but the modification is at an attribute-level (Application/VisualElements@ToastCapable)
    We have several preferences that modify the attributes of the VisualElements tag.  Plugins
can specify elements become descendants of other elements in package.appxmanifest, but AFAIK
they can't say "there's an existing element, set this attribute of that element" and have
it respected by plugman.
    Making such a change to plugman seems much larger and more invasive than creating a preference
like this.

> ToastCapable preference
> -----------------------
>                 Key: CB-8946
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Windows, Windows 8
>            Reporter: Sebastián Katzer
>            Assignee: Rob Paveza
> The config.xml does not offer a preference to enable the usage of toast notifications.
> The capability to raise toast notifications is declared in the app's package.appxmanifest
file and cannot modified through code. At the moment the `ToastCapable` flag can only be set
through a plugin hook - which isn't a solution for PGB.
> Also see:
> Is it possible to add a ToastCapable preference to config.xml?
> Its a blocker before the next version of the local-notification plugin can be released
and published on PGB.
> Thanks!

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message