-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Xiaomi - Notification Open - Not foregrounding app (SDK 5) #2042
Comments
@wif70068 Does this issue happen on the previous pre-5.x.x OneSignal SDK on your test device?
|
@jkasten2 We directly upgraded from SDK 3 to 5. On 3 the same test device would weirdly have the same issue every time - but only on debug builds - and never have an issue on release builds. |
@wif70068 Does the issue only happen when the app has “Display pop-up windows while running in the background” disabled in the MIUI settings?
|
@jkasten2 it actually does seem to resolve the issue. No event in 20 tries. |
Thanks for letting us know, this helps narrow down the issue. We still consider this a bug in the SDK, since it should work regardless of the setting. We will investigate on our end and update this issue. |
Any updates on this one? a big percentage of our subscriptions are Xiaomi users. We had to downgrade to onesignal 4 because of this issue. @jkasten2 |
@wif70068 @bundleberk |
@jkasten2 Thanks, I will try it out as soon as it is available in the Cordova SDK. |
@wif70068 this is now available in the OneSignal-Cordova-SDK 5.2.1 released today. |
No problems with “Display pop-up windows while running in the background” disabled. Thanks! |
What happened?
Like #1494, I'm having this problem again on OneSignal Cordova 5.1.0 for Capacitor. It does happen most, but not all of the time. Couldn't find a pattern yet (like is app closed or backgrounded beforehand). When I open the app manually afterwards, it shows the apps normal reaction to the push, so it's just not foregrounded.
OneSignal SDK 5.1.6
11 RKQ1.200826.002
Xiaomi Mi 9T Pro
MIUI Global 12.5.1 Stabil 12.5.1.0 (RJDEUXM)
Steps to reproduce?
What did you expect to happen?
App is foregrounded
OneSignal Android SDK version
5.1.6
Android version
11
Specific Android models
* Xiaomi Mi 9T Pro
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: