Skip to content

Commit d95ae90

Browse files
committed
fix: standardize authentication failure reason representation across platforms
1 parent 3870dc3 commit d95ae90

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/enums/IterableAuthFailureReason.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
* The reason for the failure of an authentication attempt.
33
*
44
* This is generally related to JWT token validation.
5+
*
6+
* FIXME: Android returns the string (EG: `'AUTH_TOKEN_EXPIRATION_INVALID'`),
7+
* but iOS returns the enum value (EG: `0`). These should be standardized so
8+
* that they both return the same type on either platform.
59
*/
610
export enum IterableAuthFailureReason {
711
/**

0 commit comments

Comments
 (0)