ionic-team / ionic-team/capacitor-assets

Not overwriting existing files ANDROID

Open
#642 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
583
Forks
116
PR merge metrics
No merged PRs in 30d

Description

When generating assets for Android platform via

`npx @capacitor/assets generate`

the already existing images are not replaced, e.g.

`android/app/src/main/res/drawable-land-hdpi/splash.png`

In the output of the command, it says:

`CREATE android splash /Users/louis/workspace/myapp/android/app/src/main/res/drawable-land-hdpi/splash.png (13.83 KB)`

But its still the same file as before (capacitor logo).

Yes, i do have an icon.png in my resources folder:

`/Users/louis/workspace/myapp/resources/icon.png`

Why does it not overwrite existing files?

Using Version 3.0.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.