ufabc-next / ufabc-next-web

📈 Plataforma web para auxiliar na graduação dos alunos da UFABC com informações sobre a performance, processo de matrículas e os discentes da universidade
https://ufabcnext.com
GNU Affero General Public License v3.0
58 stars 18 forks source link

WEB - Adicionar imagens de icones e splash screen #53

Closed felipe-augusto closed 4 years ago

felipe-augusto commented 4 years ago

Tem que colocar os arquivos em src-cordova/res:

image

tem que fazer tantos os icones quanto a splash screen, pedir para o @FeoSilva que ele sabe onde tem

e ai adicionar os paths no src-cordova/config.xml:

    <platform name="android">
        <splash density="xxxhdpi" src="res/Default@2x~universal~anyany.png" />
        <icon density="xxxhdpi" src="res/icon-android.png" />
        <preference name="ShowSplashScreenSpinner" value="false"/>
        <preference name="AndroidPersistentFileLocation" value="Compatibility" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <plugin name="SplashScreen" value="CDVSplashScreen" />
        <splash src="res/Default@2x~universal~anyany.png" />
        <resource-file src="GoogleService-Info.plist" />
        <!-- iOS 8.0+ -->
        <!-- iPhone 6 Plus  -->
        <icon src="res/ios/icon-60@3x.png" 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/icon-60@2x.png" width="120" height="120" />
        <!-- iPad -->
        <icon src="res/ios/icon-76.png" width="76" height="76" />
        <icon src="res/ios/icon-76@2x.png" width="152" height="152" />
        <!-- Spotlight Icon -->
        <icon src="res/ios/icon-40.png" width="40" height="40" />
        <icon src="res/ios/icon-40@2x.png" width="80" height="80" />
        <!-- iOS 6.1 -->
        <!-- iPhone / iPod Touch -->
        <icon src="res/ios/icon.png" width="57" height="57" />
        <icon src="res/ios/icon@2x.png" width="114" height="114" />
        <!-- iPad -->
        <icon src="res/ios/icon-72.png" width="72" height="72" />
        <icon src="res/ios/icon-72@2x.png" 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/icon-small@2x.png" width="58" height="58" />
        <icon src="res/ios/icon-small@3x.png" width="87" height="87" />
        <!-- iPad Spotlight and Settings Icon -->
        <icon src="res/ios/icon-50.png" width="50" height="50" />
        <icon src="res/ios/icon-50@2x.png" width="100" height="100" />
        <!-- iPad Pro -->
        <icon src="res/ios/icon-83.5@2x.png" width="167" height="167" />
        <!-- Others -->
        <icon src="res/ios/icon-1024.png" width="1024" height="1024" />
        <icon src="res/ios/icon-98@2x.png" width="196" height="196" />
        <icon src="res/ios/icon-86@2x.png" width="172" height="172" />
        <icon src="res/ios/icon-44@2x.png" width="88" height="88" />
        <icon src="res/ios/icon-27.5@2x.png" width="55" height="55" />
        <icon src="res/ios/icon-24@2x.png" width="48" height="48" />
        <icon src="res/ios/icon-20.png" width="20" height="20" />
    </platform>