Passing a bad token to refreshAccessToken() on Android results in:
Failed to get token: [invalid_grant: invalid token]
However on iOS I get:
Failed to get token: invalid_grant: invalid token
Looking at the error message format string TOKEN_ERROR_MESSAGE_FORMAT, sure enough, its different on different platforms.
Please keep these consistent so if we need to extract the underlying error, we don't have to do it on a per platform basis. I like the brackets because it makes it easy to find the underlying error code.
Passing a bad token to refreshAccessToken() on Android results in:
Failed to get token: [invalid_grant: invalid token]
However on iOS I get:
Failed to get token: invalid_grant: invalid token
Looking at the error message format string TOKEN_ERROR_MESSAGE_FORMAT, sure enough, its different on different platforms.
Please keep these consistent so if we need to extract the underlying error, we don't have to do it on a per platform basis. I like the brackets because it makes it easy to find the underlying error code.