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
however, after fixing this, the next problem appears:
Unsupported operation: Int64List not supported on the web.
dart2js does not support 64-bit integers and thus does not support Int64List or Uint64List. Dart code compiled via dart2js results in a runtime exception if either of those lists is used. see this article - last line
there are multiple Int64List used in the code. Can you please fix this?
The text was updated successfully, but these errors were encountered:
Hello, when running with flutter web, there are 2 issues that cause exceptions:
when trying to generate a key like this:
Uint8List secret = ed25519.TweetNaclFast.randombytes(32);
there is a RangeError thrown because of this line (tweetnacl_base.dart 3150 and 3157):
rnd = Int64(jrandom.nextInt(1<<32));
this can be fixed by using the range (1<<31). see also dart-lang sdk issue
however, after fixing this, the next problem appears:
dart2js does not support 64-bit integers and thus does not support Int64List or Uint64List. Dart code compiled via dart2js results in a runtime exception if either of those lists is used. see this article - last line
there are multiple Int64List used in the code. Can you please fix this?
The text was updated successfully, but these errors were encountered: