Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0AC88177B7 for ; Tue, 5 May 2015 18:04:02 +0000 (UTC) Received: (qmail 7897 invoked by uid 500); 5 May 2015 18:04:01 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 7875 invoked by uid 500); 5 May 2015 18:04:01 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 7857 invoked by uid 99); 5 May 2015 18:04:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 18:04:01 +0000 Date: Tue, 5 May 2015 18:04:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-8946) ToastCapable preference MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8946?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1452894= 1#comment-14528941 ]=20 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 =20 The plugin is likely unable to do this directly except via hooks, becau= se the `` directive is an element-level change, but the modifi= cation is at an attribute-level (Application/VisualElements@ToastCapable) =20 We have several preferences that modify the attributes of the VisualEle= ments tag. Plugins can specify elements become descendants of other elemen= ts in package.appxmanifest, but AFAIK they can't say "there's an existing e= lement, set this attribute of that element" and have it respected by plugma= n. =20 Making such a change to plugman seems much larger and more invasive tha= n 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=C3=A1n Katzer > Assignee: Rob Paveza > > The config.xml does not offer a preference to enable the usage of toast n= otifications. > The capability to raise toast notifications is declared in the app's pack= age.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 so= lution for PGB. > Also see: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh86= 8218.aspx > Is it possible to add a ToastCapable preference to config.xml? > Its a blocker before the next version of the local-notification plugin ca= n 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