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 Oct 12, 2018. It is now read-only.
I think there is a bug in ios/Core/AWSRNCognitoCredentials.m. It seems like cred.expiration is a date and not a string. I looked up the expiration string format and eventually got it working with this change (I can't program native iOS, so maybe someone else is better suited to create a pull request):
Are you using v0.0.1? This seems to be working for me in v0.0.2 - see this change: 152deb6
That said, the date format returned in iOS seems to differ from that returned by the Android code. In iOS, I now get a string like "2017-02-27T14:20:00Z" but in Android the code uses credentialsProvider.getSessionCredentitalsExpiration().toString(), which returns something like "Mon Feb 27 14:20:00 GMT+00:00 2017".
I think there is a bug in ios/Core/AWSRNCognitoCredentials.m. It seems like cred.expiration is a date and not a string. I looked up the expiration string format and eventually got it working with this change (I can't program native iOS, so maybe someone else is better suited to create a pull request):
The text was updated successfully, but these errors were encountered: