-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build your own android aar lib or else will lookup failed #26
Comments
I have an issue with dart ffi and lookup function, my app is crashed on start. Can you tell, please, what should I do with this? |
Any log? And please refer to README.md , there may some way to solved your issue. |
Now Android Lib are extract to github package.
then
|
How to build the android lib or ios framework from the trust wallet core, what should we modify the code of trust wallet core repo to build succesful for flutter, thank you. |
build step please refer to this link https://developer.trustwallet.com/wallet-core/developing-the-library/building and for android, only need to do is modify CMakeLists.txt and change |
How to connect to network? |
wallet-core only handle local things, create wallet, sign transaction etc, your can broadcast your sign output to any network you like. |
Thanks. Please point me to any resource I can read up on broadcasting on a network. Thanks for the work. |
For ETH below link may help |
Hello. How can I use this package? I ask this, cause before, you wrote in README that we need to build trustwallet core and move to flutter plugin. But now, you removed this steps from README.md. So, I can clone this repo and just use without any building? |
yes, if you want to use in your own project
|
Okay. But how it works? We are building our wallet app and цe're worried about security. Cause we don't know what is inside android and ios builds. Maybe, mining?)) Sorry, it is joke. But we are a little worried. |
But you have done an excellent work and we really want to use your plugin. |
if you are worry , you can build your own lib to use. |
So, for our own builds, we need just move android build to android/libs/....aar, and ios - ios/frameworks/...? Thats all? |
yep, that's all you need to do |
Understood, thank you so much for information. And thank you for all your work. Please, keep going your excellent work. |
Thanks, there still are lots of code to do, I'm busy at other flutter project, this project are quite slow progress, but will keep update. |
@weishirongzhen Do you know why does it only affect the android build? |
构建 ios 需要 调整这个值吗? |
|
好的,多谢。可以帮看看这个问题吗? 我根据官方文档构建出来的 WalletCore.xcframework, 没办法解密keystore,但是官方直接提供的可以解密,是不是我哪个步骤走错了?最后 WalletCore.xcframework 是从 swift/build/WalletCore.xcframework 取的。 @weishirongzhen |
请提供下具体的代码调用过程 |
@weishirongzhen
then i got
then i import
then i click |
I think you can try with below two step
then copy new WalletCore.xcframework and SwiftProtobuf.xcframework to you project |
i got nil too... Did you make it? @weishirongzhen |
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
to
build project, replace your own output in My other repo.
The text was updated successfully, but these errors were encountered: