How to add splash screen and app icon with ionic capacitor angular android app
step 1. first Install npm install capacitor-resources -g
step 2. add bellow code to your package.json
"scripts": {
...
"resources": "capacitor-resources -p android,ios"
}
step 3. Now Add your icon.png (1024x1024 px) and splash.png (2732x2732 px)
in resources folder. Create new resources folder if its is not exists at the same location where package.json exists.
step 4. Now run "npm run resources" command and that's it.
Comments
Post a Comment