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
{{ message }}
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
Describe the bug
JSONException on device when getting a plain number, e.g. number, in response body.
To Reproduce
Make a get request to an API returning a plain number, which is valid json by itself, and works on desktop web browser, Chrome, but not on Android device.
Expected behavior
Response data should be a number and not throw JSONException.
Desktop (please complete the following information):
OS: Android
Browser: Chrome
Smartphone (please complete the following information):
Device: Samsung S10+
OS: Android 12
Browser: stock browser
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
JSONException on device when getting a plain number, e.g. number, in response body.
To Reproduce
Make a get request to an API returning a plain number, which is valid json by itself, and works on desktop web browser, Chrome, but not on Android device.
Expected behavior
Response data should be a number and not throw JSONException.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: