Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

使用UIWidgets插件的一些问题 #235

Open
omnana opened this issue Aug 19, 2021 · 1 comment
Open

使用UIWidgets插件的一些问题 #235

omnana opened this issue Aug 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@omnana
Copy link

omnana commented Aug 19, 2021

作者你好, 我最近在做一些可用性调研,计划使用uiwidget来实现一些uGUI不好实现的ui排版。
问题1.看到Plugin目录下的.a和 .so文件体积很大, 不知道这是否是release版本的库。 因为app要上谷歌平台,对包体体积大小有限制。
问题2.按照md文档描述,uiwidgets似乎不支持x86,如果自己编译uiwidgets_engine 是否可以自持x86平台

@zhuxingwei
Copy link
Contributor

zhuxingwei commented Aug 20, 2021

Hi, thanks for your questions !

(1) yes, the libraries are all release build. Currently, the library size is relatively big because the library contains a full flutter engine. We will investigate into this issue later and try to strip out some unnecessary parts from it. Btw, according to our experience on the ConnectApp project, since only the used parts of the library are linked into the final binaries when building your App, it won't affect your app size very much.

(2) Currently uiwidgets doesn't support x86 architecture for mobile devices so you cannot export a uiwidgets project for iOS/Android simulator.
Yes, technically it is ok to add x86 support if you can figure out a proper building toolchain. However we have not tried this yet. It will be great If you can give it a try and we will try our best to help you make it done.

Looking forwards to your progress!

@zhuxingwei zhuxingwei added the enhancement New feature or request label Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants