-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter Channel Dev 1.15 issue #26
Comments
Hi i'm having the same issue when trying to release an apk, everything works fine in debug. My error seems to be triggered by getAwsCredentials from CognitoCredentials:
I come from react-native so i'm new to this as well but it'd be great to have some help on this. |
Make sure you run Flutter Stable Channel and not Dev Channel. |
@erw13n Ah yes thanks that was the issue, i was actually on Dev this whole time... Thanks ! |
This is a pretty dirty hack for the dart AOT issue causing `type '_OneByteString' is not a subtype of type 'int' of 'index’`. I am basically parsing out the identity id from the response string instead of getting it from the map until we figure out what the actual issue is. * refs: furaiev#43 * refs: furaiev#26
I follow the example app, and implement it to my app.
Once publish it, got an issue after create a release version.
After the user session is over (1 hour after), user no longer able to access the app.
the _getValues was throwing error :
"error type '_onebytestring' is not a subtype of type 'int' of 'index'"
I though there's something wrong with my code.
But when I try release the example, the same thing happen.
Secure Counter page & Login page always show "Loading..."
When check it, the actual error came from _cognitoUser.getSession() method.
I honestly don't know what happen here (I'm new to Flutter)
It seem, this issue not happen on debug mode, only when release.
Originally posted by @erw13n in #24 (comment)
The text was updated successfully, but these errors were encountered: