We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, when the response contains a "buttons" object the json string can not be parsed. https://github.com/OneSignal/onesignal-java-api/blob/main/docs/DefaultApi.md#getNotifications
Example response: "buttons": "[{"id":"declineFriend","text":"Decline"},{"id":"acceptFriend","text":"Accept"}]",
Error: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at path $.buttons
Tested in version 'org.openapitools:onesignal-java-client:1.2.1'
The text was updated successfully, but these errors were encountered:
@sandberg75 Thank you for reaching out we will investigate
Sorry, something went wrong.
No branches or pull requests
Hello, when the response contains a "buttons" object the json string can not be parsed.
https://github.com/OneSignal/onesignal-java-api/blob/main/docs/DefaultApi.md#getNotifications
Example response:
"buttons": "[{"id":"declineFriend","text":"Decline"},{"id":"acceptFriend","text":"Accept"}]",
Error:
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at path $.buttons
Tested in version 'org.openapitools:onesignal-java-client:1.2.1'
The text was updated successfully, but these errors were encountered: