GithubHelp home page GithubHelp logo

ludowkm / flutter_trust_wallet_core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weishirongzhen/flutter_trust_wallet_core

0.0 0.0 0.0 356 KB

License: MIT License

Kotlin 0.10% Ruby 0.14% Swift 0.06% Objective-C 0.05% Dart 99.66%

flutter_trust_wallet_core's Introduction

trust_wallet_core

A Flutter plugin for trust wallet core, Can access all api list in https://github.com/trustwallet/wallet-core/tree/master/include/TrustWalletCore

Android

Add

class MainActivity: FlutterActivity() {
    init {
        System.loadLibrary("TrustWalletCore")
    }
}

in your android project MainActivity.kt file

minSdk require >=23

iOS

min ios platform support >=13.0

dart part

before use wallet_core, call below function once.

 FlutterTrustWalletCore.init();

Then you are ready to run.

IMPORTANT

Because official lib build flag in CmakeLists.txt set(CMAKE_CXX_VISIBILITY_PRESET hidden), that will cause android exception when dart ffi lookup function.

Please refer to My other repo to run full demo, also, replace you own build to ensure safety. build step: follow Official build step to prepare your build env , then change

 set(CMAKE_CXX_VISIBILITY_PRESET hidden)

to

 set(CMAKE_CXX_VISIBILITY_PRESET default)

build project, replace your own output in My other repo.

flutter_trust_wallet_core's People

Contributors

weishirongzhen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.