OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
616 stars 213 forks source link

Notifications are not being received on the mobile device. #908

Closed andersonsantos6 closed 1 month ago

andersonsantos6 commented 3 months ago

What happened?

The device encounters an error when the initialize method is executed. Below is the error message returned in the log:

ERROR
Operation execution failed without retry: [{"name":"login-user-from-subscription","appId":"99f94cc9-1282-4bb0-8ef7-3ccc4343d2ab","onesignalId":"local-b783f75c-c233-4720-b8d1-a3636d5cbee8","subscriptionId":"48a395ec-b91e-4700-a739-3960f0355520","id":"8d7fbf49-0cb4-479b-b928-4e16c1d0ca25"}]

Software Information:

One UI Version: 6.1 Android Version: 14 Google Play System Update: May 1, 2024 Baseband Version: S918BXXS5CXDE Kernel Version: 5.15.123-android13-28577312-ab59188BXXS5CXDE #1 Tue May 7 10:30:20 UTC 2024 Build Number: UP1A.231005.007.S918BXXS5CXDE SE for Android Status: Enforcing SEP_SEPF_S918B_13.0001 Tue May 07 20:13:31 2024 Knox Version: Knox 3.10 Knox API level 37 Knox ML 1.4 DualDAR 1.6.6 HDM 3.0 - 115 Carrier Software Version: SAOMC_SM-S918B_OYO_ZTO_14_0021 ZTO/ZTO,ZTO/ZTO Security Software Version: MDF v3.3 Release 1 VPN Client v2.1.2 Release 2.0 ASK v3.1 Release 2023100 ADP v3.1 Release 202310 FIPS BoringSSL v1.7 FIPS SKC v2.3 FIPS SCrypto v2.7 SMS v3.0 Release 202310 Android Security Patch Level: May 1, 2024

Steps to reproduce?

The device encounters an error when the initialize method of OneSignal is executed after starting the app. Below is the error message returned in the log:

ERROR
Operation execution failed without retry: [{"name":"login-user-from-subscription","appId":"99f94cc9-1282-4bb0-8ef7-3ccc4343d2ab","onesignalId":"local-b783f75c-c233-4720-b8d1-a3636d5cbee8","subscriptionId":"48a395ec-b91e-4700-a739-3960f0355520","id":"8d7fbf49-0cb4-479b-b928-4e16c1d0ca25"}]

What did you expect to happen?

We expected the OneSignal service to work normally as it does on other devices. Unfortunately, on this specific device, OneSignal requests notification permission, we accept, but it does not receive notifications. Other devices with the same app are functioning normally.

OneSignal Flutter SDK version

5.2.0

Which platform(s) are affected?

Relevant log output

Operation execution failed without retry: [{"name":"login-user-from-subscription","appId":"99f94cc9-1282-4bb0-8ef7-3ccc4343d2ab","onesignalId":"local-b783f75c-c233-4720-b8d1-a3636d5cbee8","subscriptionId":"48a395ec-b91e-4700-a739-3960f0355520","id":"8d7fbf49-0cb4-479b-b928-4e16c1d0ca25"}]

Code of Conduct

jkasten2 commented 2 months ago

@andersonsantos6 Thanks for reporting. There should have been a few more errors before this one with more detail, can you share those as well?

Also I recommend updating to the latest 5.2.2 as your issue may have been fixed.

nan-li commented 1 month ago

Closing due to no response