IBM Support

PH16321: ANDROID APP ICONS ARE NOT SHOWING CORRECTLY IN APPLICATION CENTER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Description:
    Product components impacted:App Center
    Affected mobile development environments: Android
    Mobile Devices Operating Systems impacted: Android
    User roles impacted: App Center users
    Distribution: Fix Central
    Versions affected: 8.0
    
    
    It's found that when the apk was uploaded to App Center Console,
    the app icon was not displayed. Also, while adding the apk in
    the app center console, the app label had to be manually added.
    The issue only occurs when building the Cordova Android app
    using Android platform versions 7.0.0 and above. If the apk was
    built with a lower Android platform version like 6.2.3, the app
    icon displays correctly and the app lable will be added
    automatically.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Application center                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Icon and the application name  are not showing up for the    *
    * Cordova Apps that is build on Android 7.0 and later.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Application name issue has been fixed and workaround for the
    icon issue has been provided and described in the temporary fix
    section .
    

Temporary fix

  • Work around for the icon issue has been provided which is adding
    the below snippet in the config.xml of the application source
    and rebuilding the app.
    
    <platform name="android">
           <allow-intent href="market:*" />
           <icon src="res/icon/android/icon-96-xhdpi.png" />
           <icon density="ldpi"
    src="res/icon/android/icon-36-ldpi.png" />
           <icon density="mdpi"
    src="res/icon/android/icon-48-mdpi.png" />
           <icon density="hdpi"
    src="res/icon/android/icon-72-hdpi.png" />
           <icon density="xhdpi"
    src="res/icon/android/icon-96-xhdpi.png" />
           <icon density="xxhdpi"
    src="res/icon/android/icon-144-xxhdpi.png" />
           <icon density="xxxhdpi"
    src="res/icon/android/icon-192-xxxhdpi.png" />
       </platform>
    
    Note : 'res' folder needs to be created in the location as of
    config.xml
    

Comments

APAR Information

  • APAR number

    PH16321

  • Reported component name

    MOBILE1ST PLATF

  • Reported component ID

    5725I4301

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-03

  • Closed date

    2019-12-03

  • Last modified date

    2019-12-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MOBILE1ST PLATF

  • Fixed component ID

    5725I4301

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 December 2019