OneSignal / OneSignal-Unity-SDK

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

[Bug]: AppsFlyer critical bug #537

Open SnaiperoG3D opened 2 years ago

SnaiperoG3D commented 2 years ago

What happened?

callback works only once with subscription false, and no data at first app install reproduced with last version of appsflyer (6.8.4) all works fine at 6.5.3

Steps to reproduce?

install onesignal last version.
install appsflyer last version
initialise both as in insctructions with callbacks
onesignal callback will triggered only once

What did you expect to happen?

onesignal PushSubscriptionStateChanged callback called 3 times, at last time subscribtion should be true, and userid presend

Unity version

2019.4.21f1

OneSignal Unity SDK version

3.0.4

Platform

Android

Relevant log output

No response

Code of Conduct

SnaiperoG3D commented 2 years ago

I did a downgrade to appsflyer 6.5.3 and onesignal 3.0.2 and issue still happening. Its happends time to time, there is no logic in it

SnaiperoG3D commented 2 years ago

I did a few tests. Without AppsFlyer initialisation all works fine. WITH AppsFlyer initialisaiton all works time to time. Sometime all fine, sometimes there is only 1 callback from OneSignal with false and no data

SergeiEfimik commented 2 years ago

@SnaiperoG3D, we have some problem after upgrade to 3.0+ version. We also using AppsFlyer, but issue reproduced due to "Firebase Cloud Messaging" and "Mobile Notifications". See #521, maybe it help to you.