The Dart implementation natively handles 64-bit integers on mobile/desktop, but compiling to Flutter Web forces integers into JavaScript Number types, leading to precision loss for large MEMO_IDs.
- Implement a conditional compilation or
BigInt wrapper specifically for Dart Web targets in core-dart.
- Ensure that large routing IDs (
> Number.MAX_SAFE_INTEGER) are safely parsed as strings when running in a browser context.
- Create specific Flutter Web test vectors.
Expectation: Developers using stellar_address_kit in Flutter Web apps do not experience silent truncation or precision loss for massive routing IDs.
Contributor telegram group: https://t.me/+OBaYnjDFA3w0Njdk
The Dart implementation natively handles 64-bit integers on mobile/desktop, but compiling to Flutter Web forces integers into JavaScript Number types, leading to precision loss for large MEMO_IDs.
BigIntwrapper specifically for Dart Web targets incore-dart.> Number.MAX_SAFE_INTEGER) are safely parsed as strings when running in a browser context.Expectation: Developers using
stellar_address_kitin Flutter Web apps do not experience silent truncation or precision loss for massive routing IDs.Contributor telegram group: https://t.me/+OBaYnjDFA3w0Njdk