Since I've updated flutter_sodium from 0.0.11 to 0.1.13, the hashString method crashes on Android 10 devices (reproductible in the emulator).
Here is an example stack trace (please ignore the non-standard format, it's from an obfuscated app):
Aa: Exception: Failed to store chat messages crypto_generichash failed with -1
File "unparsed", in Warning: This VM has been configured to produce stack traces that violate the Dart standard.
File "unparsed", in
File "unparsed", in pid: 26645, tid: 26679, name 1.ui
File "unparsed", in isolate_instructions: c0f92000 vm_instructions: c0f8e000
File "unparsed", in #0 Result|mustSucceed (package:flutter_sodium/src/extensions.dart:31)
File "unparsed", in #1 Sodium.cryptoGenerichash (package:flutter_sodium/src/sodium.dart:620)
File "unparsed", in #2 GenericHash.hash (package:flutter_sodium/src/generic_hash.dart:14)
File "unparsed", in #3 GenericHash.hashString (package:flutter_sodium/src/generic_hash.dart:19)
It works fine on Android 9 devices (and below as far as I could test) and the hash method of version 0.0.11 of flutter_sodium works fine on Android 10 devices
Since I've updated flutter_sodium from 0.0.11 to 0.1.13, the hashString method crashes on Android 10 devices (reproductible in the emulator).
Here is an example stack trace (please ignore the non-standard format, it's from an obfuscated app):
It works fine on Android 9 devices (and below as far as I could test) and the hash method of version 0.0.11 of flutter_sodium works fine on Android 10 devices
EDIT : This is with flutter 1.17.5