OneSignal-Flutter-SDK icon indicating copy to clipboard operation
OneSignal-Flutter-SDK copied to clipboard

[Bug]: 5.0.x and later `Not Subscribed` users increase

Open yosuke-nakayama opened this issue 1 year ago • 15 comments

What happened?

SDK 5.0.4

Steps to reproduce?

At startup

What did you expect to happen?

Not Subscribed users increase The number of subscribers is also decreasing. Not all users can subscribe

I checked this link, but none of it was applicable. https://documentation.onesignal.com/docs/all-users-are-shown-as-not-subscribed

There was no problem with the 3.x version. It happened after an update. All implementation requirements of the migration guide are met.

OneSignal Flutter SDK version

5.0.4

Which platform(s) are affected?

  • [ ] iOS
  • [X] Android

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
スクリーンショット 2024-01-26 14 31 19

yosuke-nakayama avatar Jan 26 '24 05:01 yosuke-nakayama

Hi. I have the same issue.

vasilich6107 avatar Feb 07 '24 09:02 vasilich6107

I'm also seeing the same issue - or at least something related. It seems like Android users aren't showing up in the list of users on OneSignal (sorted by 'last seen').

jagged91 avatar Mar 01 '24 14:03 jagged91

Hi. Any information or solutions to this problem? I have a similar situation in my project. We have lost 35% of subscriptions since the update (3 months). Before the update, the number of subscriptions was practically constant

pnwk112 avatar Mar 13 '24 12:03 pnwk112

@yosuke-nakayama @vasilich6107 @jagged91 @pnwk112 Thanks for reporting this issue.

We haven't been able to reproduce this issue but are continuing to look into it. Please provide the following details which will help us narrow down the cause:

  1. Those that haven't included your SDK please include it in your reply.
  2. Are you seeing "Not Subscribed" only for new Users / Subscriptions?, or are exiting subscriptions becoming unsubscribed as well?
  3. Is this something you can reproduce?
    • If so a step-by-step description will be a big help to finding the root cause
    • Please so provide a full logcat log, there is mostly something being printed on why it is being set as "Not Subscribed".
  4. Do you call OneSignal.login?
    • If so please include when this is called in your code.
  5. Looking over the specific app for patterns of the Subscriptions and User records can help narrow down the issue. Please reach out to OneSignal support as well including a link to this thread so your OneSignal app can be reviewed.

@pnwk112, a specific question on this:

We have lost 35% of subscriptions since the update (3 months). Before the update, the number of subscriptions was practically constant

Do you mean you are seeing 35% decrease in new subscribers? Or a 35% decrease in your totals (including existing subscribers).

jkasten2 avatar Mar 13 '24 22:03 jkasten2

@yosuke-nakayama @vasilich6107 @jagged91 @pnwk112 Is this still an issue for you?

jkasten2 avatar Mar 27 '24 17:03 jkasten2

Hi @jkasten2 I'm not checking it frequently) So I have no idea)

vasilich6107 avatar Mar 28 '24 09:03 vasilich6107

Upgrading to the latest versions seems to fix the issue.

pnwk112 avatar Mar 28 '24 09:03 pnwk112

I'm still getting this with Android on 5.1.3 with some users.

garrett-zeroeyes avatar Apr 08 '24 20:04 garrett-zeroeyes

@jkasten2 This may be the same issue I am having here: https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/890

I attached a detailed log if you want to take a look at that.

temcewen avatar May 17 '24 14:05 temcewen

I am here because of same issue as well

onesignal not subscribed

GIGAM25 avatar Jun 07 '24 01:06 GIGAM25

Any updates?

DmitryGaimaldinov avatar Jul 22 '24 07:07 DmitryGaimaldinov

further checking, it turned out to be a huawei phone. there's separate config you need to do. check onesignal documentation regarding push messaging in huawei

GIGAM25 avatar Jul 23 '24 06:07 GIGAM25

Hi. I have the same issue on Huawei phone. It works in debug mode but not in release mode.

tommylung avatar Aug 14 '24 07:08 tommylung

Hi. I have the same issue on Huawei phone. It works in debug mode but not in release mode.

huawei has a separate config. check the documentation

https://documentation.onesignal.com/docs/authorize-onesignal-to-send-huawei-push

GIGAM25 avatar Aug 15 '24 00:08 GIGAM25

Hi. I have the same issue on Huawei phone. It works in debug mode but not in release mode.

huawei has a separate config. check the documentation

https://documentation.onesignal.com/docs/authorize-onesignal-to-send-huawei-push

Hi @GIGAM25 . I didn't get it. Where can I do the separate config for debug mode and release mode? For my current situation, I can receive the notification and got the correct status on OneSignal, but not on release mode. In release mode, I still got "Not Subscribed" status.

tommylung avatar Aug 19 '24 09:08 tommylung

Hi. I have the same issue on Huawei phone. It works in debug mode but not in release mode.

huawei has a separate config. check the documentation https://documentation.onesignal.com/docs/authorize-onesignal-to-send-huawei-push

Hi @GIGAM25 . I didn't get it. Where can I do the separate config for debug mode and release mode? For my current situation, I can receive the notification and got the correct status on OneSignal, but not on release mode. In release mode, I still got "Not Subscribed" status.

I created a new issue. https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/956

tommylung avatar Sep 26 '24 06:09 tommylung