Skip to content

Xiaomi - Notification Open - Not foregrounding app #1494

@jkasten2

Description

@jkasten2

Description

On some Xiaomi devices tapping on a notification does not bring the app to the foreground. OneSignal needs additional details from those who can reproduce the issue.

Details Needed

Go to the OneSignal/NotificationActivityBackstackExample Github repo and follow the readme instructions and report the issue there.

Current status

Summary

OneSignal maintainers have reproduce the issue on a Xamarin Redmi 6A device.

The Xamarin specific bug only happens when the “Display pop-up windows while running in the background” (older MIUI versions this is called “Start in background”) permission is "Deny", however this is default on the Redmi 6A and an number of other Xamarin devices.
The issue is present on OneSignal-Android-SDK 4.5.0 Release. The issue happens no matter if the app is just backgrounded, not running, or swiped away.

OneSignal Maintainers

Can reproduce devices

Xamarin Redmi 6A

  • MUIU versions 10.2.8 [Android 8.1.0] AND 11.0.8.0 [Android 9].

Can NOT reproduce devices

Can NOT reproduce on remote devices hosted by Browserstack and Sauce Labs. These cloud / remote devices were most likely modified in some way so this issue is not reproducible on them.
The following remote devices were tested with OneSignal-Android-SDK 4.6.3 and are working correctly (but as noted above these were most likely modified and were not valid tests, compared to devices in peoples hands):

Xiaomi devices:

Other devices:

  • Android 12 - Emulator
  • Android 10 - Vivo Y50 - vivo 1935
  • Android 9 - LG G7

Community Reports

Could reproduce on.
Using the OneSignal SDK 4.6.3:

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