Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A74C7200CFA for ; Tue, 5 Sep 2017 23:53:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A5B1D160D85; Tue, 5 Sep 2017 21:53:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EB7EF1609E7 for ; Tue, 5 Sep 2017 23:53:07 +0200 (CEST) Received: (qmail 84833 invoked by uid 500); 5 Sep 2017 21:53:06 -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 84818 invoked by uid 99); 5 Sep 2017 21:53:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 21:53:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CEAAAD512A for ; Tue, 5 Sep 2017 21:53:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id w5pBIyWJyPmF for ; Tue, 5 Sep 2017 21:53:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 412B061067 for ; Tue, 5 Sep 2017 21:53:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B7A32E0E3F for ; Tue, 5 Sep 2017 21:53:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 677032414F for ; Tue, 5 Sep 2017 21:53:00 +0000 (UTC) Date: Tue, 5 Sep 2017 21:53:00 +0000 (UTC) From: "Darryl Pogue (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12668) support arbitrary creation of resources in the Asset Catalog MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 05 Sep 2017 21:53:08 -0000 [ https://issues.apache.org/jira/browse/CB-12668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154428#comment-16154428 ] Darryl Pogue commented on CB-12668: ----------------------------------- {{}} is supported in config.xml now, which should allow copying the resource files into the right spots. We might need to add some special handling if the target path contains xcassets to update the asset catalogue. > support arbitrary creation of resources in the Asset Catalog > ------------------------------------------------------------ > > Key: CB-12668 > URL: https://issues.apache.org/jira/browse/CB-12668 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-ios > Affects Versions: 3.6.4 > Reporter: Josh Sharpe > Priority: Critical > Labels: backlog, cordova-ios > Fix For: cordova-ios@4.5.1 > > > A handful of plugins* recommend the use of an image/asset out of the Asset Catalog. It would be great if we could create those just by setting tags in config.xml, similar to and that then generate the resource in Xcode. > My specific use case is to add a "back" image to be used by 'cordova-plugin-themeablebrowser'. I can do this manually by: > - opening xCode > - Click on Project -> Resources -> Image.xcassets > - Click '+' in the bottom task bar -> New Image Set > - Rename the new Set 'back' > - Manually drag and drop 3 images into xcode > To be clear - I'm not asking that cordova produce different sized images as I believe that's out of scope. I just need it to build the new resource in xcode referencing certain files on disk with tags like: > {code} > > > > > > {code} > * Example plugins: > https://github.com/arnesson/cordova-plugin-firebase > https://github.codifferent m/phonegap/phonegap-plugin-push > https://github.com/initialxy/cordova-plugin-themeablebrowser > **Bonus!** > It'd be extra great, since I'm sure some folks want this, if cordova could add sound files to be used by firebase/push plugins that can leverage those if they exist, but I'm not sure how those get set up in xcode such that phonegap-plugin-push can use them. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org