Activa las notificaciones push PhoneGap Spain

Foro

Home Forums Android Problema de novato :P ico y splashscreen

This topic contains 2 replies, has 2 voices, and was last updated by juanrapma juanrapma 3 meses, 1 semana .

Viendo 3 respuestas - de la 1 a 3 (de 3 en total)
  • Problema de novato :P ico y splashscreen

    Intervenciones
  • juanrapma
    juanrapma 
    Participant

    Hola a todos, soy nuevo en esto de aplicaciones híbridas, estoy desarrollando una app, pero al subirla para que me compile en phonegap build, el icono y el splashscreen no me funciona, he intentado de todo, pero aun no logro descubrir el inconveniente.

    Alguien me ayuda?

    Saludos a todos

    Este es mi config.xml

     Code: arbitrary (select
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
    12.
    13.
    14.
    15.
    16.
    17.
    18.
    19.
    20.
    21.
    22.
    23.
    24.
    25.
    26.
    27.
    28.
    29.
    30.
    31.
    32.
    33.
    34.
    35.
    36.
    37.
    38.
    39.
    40.
    41.
    42.
    43.
    44.
    45.
    46.
    47.
    48.
    49.
    50.
    51.
    52.
    53.
    54.
    55.
    56.
    57.
    58.
    59.
    60.
    61.
    62.
    63.
    64.
    65.
    66.
    67.
    68.
    69.
    70.
    71.
    72.
    73.
    74.
    75.
    76.
    77.
    78.
    79.
    80.
    81.
    82.
    83.
    84.
    85.
    86.
    87.
    88.
    89.
    90.
    91.
    92.
    93.
    94.
    95.
    96.
    97.
    98.
    99.
    100.
    101.
    102.
    103.
    104.
    105.
    106.
    107.
    108.
    109.
    110.
    111.
    112.
    113.
    114.
    115.
    116.
    117.
    118.
    119.
    120.
    121.
    122.
    123.
    124.
    125.

    <?xml version="1.0" encoding="UTF-8"?>

    <!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
    <widget xmlns     = "http://www.w3.org/ns/widgets"
            xmlns:gap = "http://phonegap.com/ns/1.0"
            id        = "com.phonegap.helloworld"
            version   = "1.0.0">

        <name>Hoteleria Demo</name>

        <description>
            Las empresas han re enfocado sus estrategias de mercadeo utilizando canales móviles para atraer a sus clientes, y hasta han iniciado nuevas operaciones utilizando sitios web móviles y apps.
        </description>

        <author href="http://www.oneconnectpa.com" email="info@oneconnectpa.com">
            Oneconnect Panamá S.A.
        </author>

        <!-- Plugins -->

        <!-- Core plugins -->
        <plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1" />
        <plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />
        <plugin name="cordova-plugin-media-capture" source="npm" spec="~1.2.0" />
        <plugin name="cordova-plugin-console" source="npm" spec="~1.0.2" />
        <plugin name="cordova-plugin-contacts" source="npm" spec="~2.0.1" />
        <plugin name="cordova-plugin-device" source="npm" spec="~1.1.1" />
        <plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0" />
        <plugin name="cordova-plugin-device-orientation" source="npm" spec="~1.0.2" />
        <plugin name="cordova-plugin-dialogs" source="npm" spec="~1.2.0" />
        <plugin name="cordova-plugin-file" source="npm" spec="~4.1.1" />
        <plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" />
        <plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" />
        <plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3" />
        <plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0" />
        <plugin name="cordova-plugin-media" source="npm" spec="~2.2.0" />
        <plugin name="cordova-plugin-network-information" source="npm" spec="~1.2.0" />
        <plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />
        <plugin name="cordova-plugin-statusbar" source="npm" spec="~2.1.2" />
        <plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0" />
        <plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" />

        <!-- Third party plugins -->
        <!-- A list of available plugins are available at https://build.phonegap.com/plugins -->
        <!--
            <plugin name="com.phonegap.plugins.barcodescanner" />
        -->

        <platform name="android">
            <icon density="ldpi" src="www/res/icon.png" />
            <icon density="mdpi" src="www/res/icon.png" />
            <icon density="hdpi" src="www/res/icon.png" />
            <icon density="xhdpi" src="www/res/icon.png" />
            <icon density="xxhdpi" src="www/res/icon.png" />
            <icon density="xxxhdpi" src="www/res/icon.png" />
            <splash density="land-ldpi" src="www/res/screen/android/drawable-land-ldpi-screen.png" />
            <splash density="land-mdpi" src="www/res/screen/android/drawable-land-mdpi-screen.png" />
            <splash density="land-hdpi" src="www/res/screen/android/drawable-land-hdpi-screen.png" />
            <splash density="land-xhdpi" src="www/res/screen/android/drawable-land-xhdpi-screen.png" />
            <splash density="land-xxhdpi" src="www/res/screen/android/drawable-land-xxhdpi-screen.png" />
            <splash density="land-xxxhdpi" src="www/res/screen/android/drawable-land-xxxhdpi-screen.png" />
            <splash density="port-ldpi" src="www/res/screen/android/drawable-port-ldpi-screen.png" />
            <splash density="port-mdpi" src="www/res/screen/android/drawable-port-mdpi-screen.png" />
            <splash density="port-hdpi" src="www/res/screen/android/drawable-port-hdpi-screen.png" />
            <splash density="port-xhdpi" src="www/res/screen/android/drawable-port-xhdpi-screen.png" />
            <splash density="port-xxhdpi" src="www/res/screen/android/drawable-port-xxhdpi-screen.png" />
            <splash density="port-xxxhdpi" src="www/res/screen/android/drawable-port-xxxhdpi-screen.png" />
        </platform>
        <platform name="ios">
            <icon height="57" platform="ios" src="www/res/icon.png" width="57" />
            <icon height="114" platform="ios" src="www/res/icon.png" width="114" />
            <icon height="40" platform="ios" src="www/res/icon.png" width="40" />
            <icon height="80" platform="ios" src="www/res/icon.png" width="80" />
            <icon height="50" platform="ios" src="www/res/icon.png" width="50" />
            <icon height="100" platform="ios" src="www/res/icon.png" width="100" />
            <icon height="60" platform="ios" src="www/res/icon.png" width="60" />
            <icon height="120" platform="ios" src="www/res/icon.png" width="120" />
            <icon height="180" platform="ios" src="www/res/icon.png" width="180" />
            <icon height="72" platform="ios" src="www/res/icon.png" width="72" />
            <icon height="144" platform="ios" src="www/res/icon.png" width="144" />
            <icon height="76" platform="ios" src="www/res/icon.png" width="76" />
            <icon height="152" platform="ios" src="www/res/icon.png" width="152" />
            <icon height="29" platform="ios" src="www/res/icon.png" width="29" />
            <icon height="58" platform="ios" src="www/res/icon.png" width="58" />
            <icon height="87" platform="ios" src="www/res/icon.png" width="87" />
            <splash height="1136" platform="ios" src="www/res/screen/ios/Default-568h@2x~iphone.png" width="640" />
            <splash height="1334" platform="ios" src="www/res/screen/ios/Default-667h.png" width="750" />
            <splash height="2208" platform="ios" src="www/res/screen/ios/Default-736h.png" width="1242" />
            <splash height="1242" platform="ios" src="www/res/screen/ios/Default-Landscape-736h.png" width="2208" />
            <splash height="1536" platform="ios" src="www/res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
            <splash height="768" platform="ios" src="www/res/screen/ios/Default-Landscape~ipad.png" width="1024" />
            <splash height="2048" platform="ios" src="www/res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
            <splash height="1024" platform="ios" src="www/res/screen/ios/Default-Portrait~ipad.png" width="768" />
            <splash height="960" platform="ios" src="www/res/screen/ios/Default@2x~iphone.png" width="640" />
            <splash height="480" platform="ios" src="www/res/screen/ios/Default~iphone.png" width="320" />
        </platform>

        <!--
            Define access to external domains.
            <access />            - a blank access tag denies access to all external resources.
            <access origin="*" /> - a wildcard access tag allows access to all external resource.
            Otherwise, you can specify specific domains:
            <access origin="http://phonegap.com" />                    - allow any secure requests to http://phonegap.com/
            <access origin="http://phonegap.com" subdomains="true" />  - same as above, but including subdomains, such as http://build.phonegap.com/
            <access origin="http://phonegap.com" browserOnly="true" /> - only allows http://phonegap.com to be opened by the child browser.
        -->

        <access origin="*" />
        <allow-intent href="http://*/*" />
        <allow-intent href="https://*/*" />
        <allow-intent href="tel:*" />
        <allow-intent href="sms:*" />
        <allow-intent href="mailto:*" />
        <allow-intent href="geo:*" />

        <platform name="android">
            <allow-intent href="market:*" />
        </platform>

        <platform name="ios">
            <allow-intent href="itms:*" />
            <allow-intent href="itms-apps:*" />
        </platform>

    </widget>


    gustter 
    Participant

    Normalmente el camino a las imágenes de iconos y splash son relativos a la ubicación del archivo config.xml, el cual a su vez debe estar en la raíz del proyecto, dentro del directorio www. Pienso que por ahí está tu problema, veo que dice www/res/…


    juanrapma
    juanrapma 
    Participant

    El camino de los archivos estan correctos, con sus nombres, pero este aun sigue sin funcionar, lo unico que no me esta funcionando es el splash screen, ya el icon si me funciona correctamente, pero este aun no.


Viendo 3 respuestas - de la 1 a 3 (de 3 en total)

You must be logged in to reply to this topic.