fix: read back sent copies after the sec 5.6 upstream fix, pinned at 2d65d66
This commit is contained in:
parent
52947e153d
commit
d6f4c434fa
36 changed files with 4223 additions and 3118 deletions
13
lib/native/library.dart
Normal file
13
lib/native/library.dart
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Opens the native library (lib/smol -> fumi-core) the app links against.
|
||||
// Android bundles the cdylib under its plain soname; Linux loads the built
|
||||
// artifact from the checkout in dev/test and the bundle dir in release.
|
||||
|
||||
import "dart:ffi";
|
||||
import "dart:io";
|
||||
|
||||
DynamicLibrary openSmolLibrary() {
|
||||
if (Platform.isAndroid) {
|
||||
return DynamicLibrary.open("libsmol_mail_native.so");
|
||||
}
|
||||
return DynamicLibrary.open("native/target/release/libsmol_mail_native.so");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue