Skip to content

Huge Spike in OneSignal ANR on Android 5.0 device after upgrading target sdk to 26 #628

@kiddoware

Description

@kiddoware

Description:

I am seeing huge spike OneSignal ANR on Android 5.0 device after upgrading target sdk to 26 regarding
Broadcast of Intent { act=android.intent.action.MY_PACKAGE_REPLACED flg=0x4000010 pkg=com.kiddoware.kidsplace cmp=com.kiddoware.kidsplace/com.onesignal.UpgradeReceiver (has extras)
Few Users have also reported app stuck on blue screen as soon as it starts after the upgrade. When I gave them the apk without onesignal SDK it worked fine.

Issue seems to be in com.onesignal.UpgradeReceiver and confined to android 5.0 and some android 4.4 device with target SDK 26. This is critical issue as Play Store requires app developers to move to target SDK.
Thanks,

Environment

Maven

Steps to Reproduce Issue:

  1. Add the OneSignal SDK to your project
  2. Place your App ID in the application's gradle file
  3. Start the app
  4. Upgrade the app

Anything else:

(crash stacktraces, as well as any other information here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions