adaptyteam / AdaptySDK-React-Native

React Native SDK for growing in-app subscriptions
https://docs.adapty.io/docs/quickstart
MIT License
125 stars 12 forks source link

Error: #2003 (badRequest): Argument attribution was not passed to a native module #52

Closed HaseebArshad1 closed 1 year ago

HaseebArshad1 commented 1 year ago

Context:

After Updating to this version, I get this error and no events are being sent to AppsFlyer.

 await adapty.updateAttribution(
        installData,
        AttributionSource.AppsFlyer,
        appsFlyerID,
      );

Already did the required changes to report the events as per the new docs. This is what we have in installData: {"data": {"af_message": "organic install", "af_status": "Organic", "install_time": "2023-02-27 10:50:08.974", "is_first_launch": false}, "status": "success", "type": "onInstallConversionDataLoaded"} It started happening after the update. Can you please check? Thanks!

divanc commented 1 year ago

@HaseebArshad1 hello there! I'm pretty sure, that v2.3.7-beta solved that issue. It doesn't introduce that much of a change to avoid this beta. There is going to be v2.3.8 today if you want to wait

divanc commented 1 year ago

v2.3.10 actually!

HaseebArshad1 commented 1 year ago

@divanc It works with v2.3.10, Thanks man!