cake_wallet/cw_haven/lib/api/haven_api.dart

6 lines
190 B
Dart
Raw Normal View History

2022-03-30 15:57:04 +00:00
import 'dart:ffi';
import 'dart:io';
final DynamicLibrary havenApi = Platform.isAndroid
? DynamicLibrary.open("libcw_haven.so")
: DynamicLibrary.open("cw_haven.framework/cw_haven");