OneSignal/react-native-onesignal

[Bug]: Erroneous "Usage Duration" for Android subscriptions in SDK 5.2.0

mikemonaco opened this issue · 5 comments

What happened?

When using react-native-onesignal SDK 5.2.0 (and possibly other 5.X.X version), the OneSignal dashboard is reporting a usage duration of "100000000" seconds by default for Android subscriptions. Usage duration seems to accrue normally from there (ie. 100000065, after 65 seconds of usage). This issue does not appear to be happening on iOS.

Steps to reproduce?

1. Install and configure react-native-onesignal SDK 5.2.0
2. Run react native app on Android
3. Login to https://dashboard.onesignal.com/login
4. Select your app
5. Navigate to Audience > Subscriptions
6. Observe value in "Usage Duration", you may need to launch and close the app a few times, or wait a few minutes for this value to populate.

What did you expect to happen?

I expect the usage duration to start accuring from 0 seconds instead of 100000000 seconds.

React Native OneSignal SDK version

5.2.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Below is a screenshot showing this issue:

Screenshot 2024-06-17 at 1 12 26 PM

Howdy Mike,
Thanks for your patience. This is reproducible and we are investigating.

@rgomezp wanted to check in on the status of this, thanks.