A
A
amiznikov2019-04-25 11:42:05
JavaScript
amiznikov, 2019-04-25 11:42:05

Why doesn't inserting custom icons work in cordova?

The thing is, I insert the icons according to the instructions: https://cordova.apache.org/docs/ru/latest/config_r...
The res folder is there, the icons are correct
verdoid:

<platform name="android">
            <icon src="res/android/ldpi.png" density="ldpi" />
            <icon src="res/android/mdpi.png" density="mdpi" />
            <icon src="res/android/hdpi.png" density="hdpi" />
            <icon src="res/android/xhdpi.png" density="xhdpi" />
            <icon src="res/android/xxhdpi.png" density="xxhdpi" />
            <icon src="res/android/xxxhdpi.png" density="xxxhdpi" />
        </platform>

<platform name="ios">         
            <!-- iOS 8.0+ -->
            <!-- iPhone 6 Plus  -->
            <icon src="res/ios/[email protected]" width="180" height="180" />
            <!-- iOS 7.0+ -->
            <!-- iPhone / iPod Touch  -->
            <icon src="res/ios/icon-60.png" width="60" height="60" />
            <icon src="res/ios/[email protected]" width="120" height="120" />
            <!-- iPad -->
            <icon src="res/ios/icon-76.png" width="76" height="76" />
            <icon src="res/ios/[email protected]" width="152" height="152" />
            <!-- Spotlight Icon -->
            <icon src="res/ios/icon-40.png" width="40" height="40" />
            <icon src="res/ios/[email protected]" width="80" height="80" />
            <!-- iOS 6.1 -->
            <!-- iPhone / iPod Touch -->
            <icon src="res/ios/icon.png" width="57" height="57" />
            <icon src="res/ios/[email protected]" width="114" height="114" />
            <!-- iPad -->
            <icon src="res/ios/icon-72.png" width="72" height="72" />
            <icon src="res/ios/[email protected]" width="144" height="144" />
            <!-- iPad Pro -->
            <icon src="res/ios/icon-167.png" width="167" height="167" />
            <!-- iPhone Spotlight and Settings Icon -->
            <icon src="res/ios/icon-small.png" width="29" height="29" />
            <icon src="res/ios/[email protected]" width="58" height="58" />
            <!-- iPad Spotlight and Settings Icon -->
            <icon src="res/ios/icon-50.png" width="50" height="50" />
            <icon src="res/ios/[email protected]" width="100" height="100" />
            <!-- iPad Pro -->
            <icon src="res/ios/[email protected]" width="167" height="167" />
         
        </platform>

but the icons are cordovan anyway, why so, who can answer?
If it helps: xcode 10.12
cordova -v
9.0.0 ([email protected])

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question