Skip to content
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

fix - for publish to pub.dev, remove ios frameworks and android aar files #13

Closed
wants to merge 1 commit into from

Conversation

hhstore
Copy link

@hhstore hhstore commented Aug 20, 2021

update:

  • After removing the iOS dependency on Frameworks/*.xcframework, the package size will be <50MB(Android aar file = 10 MB), then it should be able to publish to pub.dev. 😄

iOS:

  • replace Frameworks/*.xcframework by pod
  • I've verified the example on my iPhone, and it works fine.

Android:

@hhstore hhstore changed the title fix - for publish to pub.dev, remove ios frameworks and android aar f… fix - for publish to pub.dev, remove ios frameworks and android aar files Aug 20, 2021
// https://github.com/trustwallet/wallet-core
// https://mvnrepository.com/artifact/com.trustwallet/wallet-core
// implementation(name: 'trustwalletcore', ext: 'aar')
implementation group: 'com.trustwallet', name: 'wallet-core', version: '2.6.3' // use this, has running errors
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

official aar are not compatible for this project, it will throw exception with function not found. and official version 2.6.3 is too old, There are many API breaking change in master branch.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it will throw exception with function not found.

there seems to be a lot of work to be done. perhaps, the official team needs to work together to solve these problems.

@weishirongzhen
Copy link
Owner

weishirongzhen commented Sep 14, 2021

As official lib is build with CMAKE_CXX_VISIBILITY_PRESET = hidden, function is not lookup-able for dart, close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants