Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
375 views
in Technique[技术] by (71.8m points)

javascript - 准备Flutter代码以进行部署的最佳方法(Best method of Preparing Flutter code for deployment)

I have created a flutter application with firebase as a backend and I would like to create a production project to release it on while keeping a development project for further development.

(我已经创建了一个以firebase为后端的flutter应用程序,我想创建一个生产项目以将其发布,同时保留一个开发项目以进行进一步开发。)

Files in the android and IOS source files have configs about which firebase project to use eg google-services.json.

(android和IOS源文件中的文件具有有关要使用哪个firebase项目的配置,例如google-services.json。)

I dont really want to manually copy paste files when deploying new versions to dev/prod and was wondering if using gulp would be a good method of streamlining this.

(在将新版本部署到dev / prod时,我真的不想手动复制粘贴文件,并且想知道使用gulp是否可以简化此工作。)

My only concern is that there will be node_modules and a gulp file in the flutter project and I was not sure whether this will be built into the apks/ios files.

(我唯一关心的是,在flutter项目中将有node_modules和一个gulp文件,我不确定是否会将其内置到apks / ios文件中。)

Is there a better method of doing this?

(有更好的方法吗?)

Thanks a lot.

(非常感谢。)

  ask by ebg11 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...