wallet_core_bindings_libs 4.3.1
wallet_core_bindings_libs: ^4.3.1 copied to clipboard
wallet core dynamic library for wallet_core_bindings_native.
wallet_core_bindings_libs #
Dynamic library built by wallet core, used with wallet_core_bindings_native.
Packages #
Package | Pub |
---|---|
wallet_core_bindings | |
wallet_core_bindings_native | |
wallet_core_bindings_wasm | |
wallet_core_bindings_libs | |
wallet_core_bindings_wasm_assets |
Supported platforms #
Currently supported platforms, other platforms will be added if suitable methods are found in the future.
- Android
- iOS
- macOS
- Linux
Building #
By default, wallet core does not expose interface methods. You need to make a small change and compile it before using it.
- Repository wallet core.
- Build documentation, see building.
Required modifications
# File: /cmake/StandardSettings.cmake
set(CMAKE_CXX_VISIBILITY_PRESET hidden) -> set(CMAKE_CXX_VISIBILITY_PRESET default)
Windows #
Windows is not supported at present.
Getting Started #
dependencies:
wallet_core_bindings: version
wallet_core_bindings_native: version
wallet_core_bindings_libs: version
import 'package:wallet_core_bindings/wallet_core_bindings.dart';
import 'package:wallet_core_bindings_native/wallet_core_bindings_native.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await WalletCoreBindingsNativeImpl().initialize();
runApp(const MyApp());
}
Usage #
For comprehensive documentation, see package repository.