cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-8946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14528941#comment-14528941
] 

ASF GitHub Bot commented on CB-8946:
------------------------------------

Github user robpaveza commented on the pull request:

    https://github.com/apache/cordova-windows/pull/74#issuecomment-99160167
  
    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: https://issues.apache.org/jira/browse/CB-8946
>             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: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868218.aspx
> 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.
> https://github.com/katzer/cordova-plugin-local-notifications
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message