IBM Support

PH03139: ANDROID APP CRASH WITH API LEVEL 26

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

  • Product components impacted: Client SDK
    Affected mobile development environments: Android
    Mobile Devices Operating Systems impacted: Android
    User roles impacted: Developer
    Distribution: Fix Central, DevCenter
    Versions affected: 7.1
    
    An Android mobile application using API level 26 + may crash
    with the following error. Based on Google play reports the
    crashed apps were running Android 8.0 and 8.1:
    
    java.lang.RuntimeException: Unable to start receiver
    com.parse.GcmBroadcastReceiver:
    java.lang.IllegalStateException: Not allowed to start service
    Intent { act=com.google.android.c2dm.intent.RECEIVE
    flg=0x1000010 pkg=com.kolbeh
    cmp=com.kolbeh/com.parse.PushService (has extras) }: app is in
    background uid UidRecord{2ac0a5c u0a888 RCVR idle procs:1
    seq(0,0,0)}
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Push Notification users                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Android apps on devices with API 26 or above crashes after   *
    * receiving notification                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Have provided support to API 26 and more.
    Moved Client SDK API level to 28 to support latest Android APIs.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH03139

  • Reported component name

    MOBILE1ST PF EN

  • Reported component ID

    5725I4300

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-21

  • Closed date

    2018-10-11

  • Last modified date

    2018-10-11

  • 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 PF EN

  • Fixed component ID

    5725I4300

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":"710","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 October 2018