Giter Club home page Giter Club logo

Comments (10)

bmcharg avatar bmcharg commented on May 22, 2024 1

Ah ok, cool. Well thanks for the quick replies. I’ll maybe take a look and do a PR then.

from capacitor-assets.

imhoffd avatar imhoffd commented on May 22, 2024

Are you targeting the Apple Watch with Cordova? or maybe I'm misunderstanding something?

from capacitor-assets.

bmcharg avatar bmcharg commented on May 22, 2024

I have an app built in Cordova which also has watch functionality. The generator appears to create all the other watch icons with the exception of these three.

from capacitor-assets.

imhoffd avatar imhoffd commented on May 22, 2024

Oh, sure! I see.

So, I'm confused as to why it's saying an icon is unassigned. We're generating a 44x44@2x icon:

        <icon height="88" src="resources/ios/icon/[email protected]" width="88" />

from capacitor-assets.

bmcharg avatar bmcharg commented on May 22, 2024

Yeah, that’s odd. Don’t understand why that doesn’t get hooked up. I presume the other two aren’t being generated at all and probably need an update, but that one is odd.

It happens every time the platform is removed and added, so it’s a consistently replicable pattern. I even tried removing all references to the icon from the config.xml and they were correctly regenerated, but with these same three problematic sizes.

from capacitor-assets.

imhoffd avatar imhoffd commented on May 22, 2024

Okay, I'll mark it as a bug. I can't promise I'll get around to this in a timely manner--I have other priorities at the moment. If you like, this tool is easy enough to setup locally and work on. The icons are listed here: https://github.com/ionic-team/cordova-res/blob/master/src/resources.ts#L425

from capacitor-assets.

WuglyakBolgoink avatar WuglyakBolgoink commented on May 22, 2024

related to https://blog.iconfinder.com/icons-for-apple-watch-the-definitive-guide-3d7f6d1b8016

in my case xCode cannot find this icon:
image

from capacitor-assets.

imhoffd avatar imhoffd commented on May 22, 2024

@WuglyakBolgoink Looks like it's not acknowledged by Cordova: apache/cordova-ios#657

from capacitor-assets.

runspired avatar runspired commented on May 22, 2024

I noticed when using cordova-res today that it generates 28 icons but not all of them are placed into the ios project. I wonder if this is the source of the configuration problem.

The files that are generated into resources/ios/icon but not copied into the project include:

Additionally, its not clear where the 512 dimension icon in the project is sourced from, as that's not one of the asset dimensions generated into the resources folder.

from capacitor-assets.

mlynch avatar mlynch commented on May 22, 2024

Fixed in @capacitor/assets

from capacitor-assets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.