英文:
Is there a service like Push Code for Flutter?
问题
React Native中的代码推送服务帮助更新应用程序,而无需在GooglePlay上发布它。
这项服务在Flutter中也可用吗?
React Native应用由JavaScript文件和任何附带的图像组成,这些文件由Metro捆绑器捆绑在一起,并作为特定于平台的二进制文件的一部分分发(即.ipa或.apk文件)。一旦应用发布,更新JavaScript代码(例如修复错误,添加新功能)或图像资产都需要重新编译和重新分发整个二进制文件,当然,这包括与您要发布到的商店相关的审查时间。
英文:
The code push service in React Native helps to update the application without releasing it on GooglePlay
Is this service also available in Flutter?
A React Native app is composed of JavaScript files and any accompanying images, which are bundled together by the metro bundler and distributed as part of a platform-specific binary (i.e. an .ipa or .apk file). Once the app is released, updating either the JavaScript code (e.g. making bug fixes, adding new features) or image assets, requires you to recompile and redistribute the entire binary, which of course, includes any review time associated with the store(s) you are publishing to.
答案1
得分: 4
部署应用程序更新即时
Code push是一项云服务,允许开发者直接将应用程序更新推送到用户的设备上。
英文:
Deploy app updates instantly
Code push is a cloud service that allows developers to push app updates directly to users' devices.
答案2
得分: -3
在Flutter中,有一个类似的服务叫做“Flutter Over-The-Air”(FOTA),它提供了在不经过传统的应用商店发布流程的情况下更新应用程序的能力。FOTA允许你直接将更新推送到你的Flutter应用程序的代码和资产,以供用户的设备使用。
Flutter中的FOTA通过将应用程序的代码和资产与主要二进制文件分离,并在运行时从远程服务器获取它们来工作。这使你能够在服务器端对代码和资产进行更新,而应用程序可以动态地检索并应用这些更新。
在Flutter中有几个用于实现FOTA的包和服务,比如“flutter_upgrader”,“code_push”或“appcenter_flutter”。这些包允许你管理和分发Flutter应用程序的更新。
请记住,实施FOTA需要仔细考虑安全性、版本控制和兼容性等问题。在将更新推送到用户设备之前,必须遵循最佳实践并确保更新是可靠且经过充分测试的。
总的来说,虽然Flutter中没有名为“Code Push”的特定服务,但通过专为Flutter应用程序设计的各种包和服务,可以实现通过空中方式更新应用程序的概念。
英文:
In Flutter, there is a similar service called "Flutter Over-The-Air" (FOTA) that provides the capability to update the application without going through the traditional app store release process. FOTA allows you to push updates to your Flutter app's code and assets directly to the devices of your users.
FOTA in Flutter works by separating the application's code and assets from the main binary and fetching them from a remote server during runtime. This enables you to make updates to the code and assets on the server-side, and the app can retrieve and apply those updates dynamically.
There are several packages and services available for implementing FOTA in Flutter, such as "flutter_upgrader," "code_push," or "appcenter_flutter." These packages allow you to manage and distribute updates to your Flutter app over the air.
Keep in mind that implementing FOTA requires careful consideration of security, versioning, and compatibility concerns. It's essential to follow best practices and ensure that the updates are reliable and thoroughly tested before pushing them to users' devices.
Overall, while the specific service called "Code Push" is not available in Flutter, the concept of updating apps over the air is achievable through various packages and services designed for Flutter applications.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论