Super clipboard package works on all devices for me, except for two particular ones. One was from Xiaomi and other one is from Motorola. Both devices throw [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(super_native_extensions_error, "JNI: JNI call failed", otherError, null) when attempting to read clipabord content.
The reader.canProvide(Formats.plainText) returns true, but calling await reader.readValue(Formats.plainText) throws mentioned exception and nothing happens
I have isolated the issue. Plugin reads clipboard just fine, if I copy message from Slack. If I copy text from the note app on those phones, this plugin throws that error.
Super clipboard package works on all devices for me, except for two particular ones. One was from Xiaomi and other one is from Motorola. Both devices throw
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(super_native_extensions_error, "JNI: JNI call failed", otherError, null)
when attempting to read clipabord content.The
reader.canProvide(Formats.plainText)
returnstrue
, but callingawait reader.readValue(Formats.plainText)
throws mentioned exception and nothing happens