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
606 stars 204 forks source link

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

Open yosuke-nakayama opened 5 months ago

yosuke-nakayama commented 5 months ago

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?

Relevant log output

No response

Code of Conduct

スクリーンショット 2024-01-26 14 31 19
vasilich6107 commented 4 months ago

Hi. I have the same issue.

jagged91 commented 4 months ago

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').

pnwk112 commented 3 months ago

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

jkasten2 commented 3 months ago

@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 commented 3 months ago

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

vasilich6107 commented 3 months ago

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

pnwk112 commented 3 months ago

Upgrading to the latest versions seems to fix the issue.

garrett-zeroeyes commented 2 months ago

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

temcewen commented 1 month ago

@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.

GIGAM25 commented 3 weeks ago

I am here because of same issue as well

onesignal not subscribed