OneSignal / OneSignal-iOS-SDK

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

[Bug]: OSPropertyOperationExecutor update properties request failed with error alue of type 'string', received value of type 'number' instead #1463

Closed jesus-mg-ios closed 4 months ago

jesus-mg-ios commented 4 months ago

What happened?

ERROR: OSPropertyOperationExecutor update properties request failed with error: Optional(Error Domain=OneSignalError Code=400 "(null)" UserInfo={returned={
    errors =     (
                {
            title = "Field deltas.purchases.amount was expecting value of type 'string', received value of type 'number' instead";
        }
    );
    httpStatusCode = 400;
}})

Steps to reproduce?

..

What did you expect to happen?

No error

OneSignal iOS SDK version

5.1.6

iOS version

17, 16

Specific iOS version

No response

Relevant log output

No response

Code of Conduct

nan-li commented 4 months ago

Hi @jesus-mg-ios thank you for reporting. This bug was fixed in Release 5.2.1.