flutter 插件制作

2023-09-25  本文已影响0人  小乔与周瑜

创建插件

python```
flutter create --org com.example --template=plugin --platforms=android,ios -a kotlin -i swift ekyc_view_plugin


###  为现有插件添加平台 

python```
flutter create --template=plugin --platforms=web .

iOS 导入三方SDK到插件中

注:此处Frameworks/xxx.framework中的Frameworks为上面创建文件夹的名字。
第一句为指定sdk位置,第二句引用sdk


上一篇 下一篇

猜你喜欢

热点阅读