ionic-team / capacitor-assets

Local Capacitor icon/splash screen resource generation tool
MIT License
493 stars 96 forks source link

PWA assets not created in @ionic/react application #595

Closed jameson-w-taylor closed 3 months ago

jameson-w-taylor commented 3 months ago

ionic info output:

Ionic:

   Ionic CLI       : 7.2.0
   Ionic Framework : @ionic/react 7.8.2

Capacitor:

   Capacitor CLI      : 5.7.4
   @capacitor/android : not installed
   @capacitor/core    : 5.7.4
   @capacitor/ios     : not installed

Utility:

   cordova-res : not installed globally
   native-run  : 2.0.1

System:

   NodeJS : v20.10.0
   npm    : 10.2.3
   OS     : macOS Unknown

Prerequisites:

Create a project from a fresh @ionic/react starter template using the Ionic CLI. Install v3.0.3 of @capacitor/assets. Add a resources/ directory to the project with the required images.

The Problem:

Running the generate command does not actually generate any assets for PWA. The manifest file seems to be detected (or generated) properly, but the CLI output is confusing. It lists more files than expected (duplicates? differing file sizes but same file names), and listed files don't seem to get created.

Expected Result:

PWA assets should be generated.

Reproduction:

https://github.com/jameson-w-taylor/capacitor-assets-test