We discovered that on Android the JSON arrays were not coming down as such, and instead were incorrectly coming down as strings. This small change ensures that the arrays are not turned into strings. Specifically, this helps with claims such as emails which should be returning an array of email addresses. iOS was displaying the correct behaviour but Android was doing something different.
Hope you don't mind the PR as I think this will help others and keep the claim values consistent between platforms.
If you have any questions or issues with this let me know 💪
We discovered that on Android the JSON arrays were not coming down as such, and instead were incorrectly coming down as strings. This small change ensures that the arrays are not turned into strings. Specifically, this helps with claims such as
emails
which should be returning an array of email addresses. iOS was displaying the correct behaviour but Android was doing something different. Hope you don't mind the PR as I think this will help others and keep the claim values consistent between platforms. If you have any questions or issues with this let me know 💪