Ionic 4 capacitor did not copy icon and splash resources

I am using Ionic 4 with Capacitor and i am trying to use custom app icon and splash image.
So, i use Capacitor Resources (https://www.npmjs.com/package/capacitor-resources) to generate those image files. But when i try to ionic build --prod, npx cap copy android those custom image did not copy to the android folder, it still remain the default icon.

Is there any config can solve this, i don’t want to replace it one be one in the android folder.

That’s currently by design - we’re leaving some steps as manual ones. Read more about why here.

In the meantime, check out this guide on how to generate and set them.

1 Like