You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @saqibomer
That's how Enum's works in Objective-C.
Obj-C supports only Int enums and as you can see in QNProductDuration, QNProductDurationAnnual is equal 4 and QNProductDuration3Months is equal 2.
But the misunderstanding is possible so in the next SDK update we will add more info for Enums printing in log. I think we can print string value and raw (int) value for Enums like QNProductDuration.
What reason do you need the string value for? To use in the code or to understand the code and logs?
We can not add a universal string value that can be used in code and UI for all of our users. Basically, developers are just checking enum value and configuring the text for UI by themselves.
Product list shows invalid duration. I have an annual and quarterly product defined in product centre. Response shows duration as 2 and 4.
And here is response
The text was updated successfully, but these errors were encountered: