简体   繁体   English

当您发布使用 Flutter 编写的应用程序的新版本时,使用其他语言编写的旧应用程序数据会发生什么变化?

[英]What happens to old app data written in another language when you release a new version of the App written in Flutter?

So I have my app released which was written in another older framework (non flutter).所以我发布了我的应用程序,它是用另一个旧框架(非颤振)编写的。

I've since rewritten the app from scratch in Flutter. The app, while functionally about the same, its a total rewrite, including the way data is stored and images are stored, using flutter packages.从那以后,我在 Flutter 中从头开始重写了该应用程序。该应用程序虽然在功能上大致相同,但它是完全重写的,包括数据存储方式和图像存储方式,使用 flutter 包。

Now I want to release my shiny new app written in flutter, as a version update.现在我想发布我在 flutter 中编写的 shiny 新应用程序,作为版本更新。 Before it was version 2.0, now the flutter version will be 3.0.之前是2.0版本,现在flutter版本是3.0。

But I'm wondering what happens to all the stored data from the old App.但我想知道旧应用程序中所有存储的数据会发生什么。 I'm wondering if it gets orphaned somewhere as it is not really accessible by the Flutter version of the app as the upgrade happens?我想知道它是否在某个地方被孤立了,因为升级发生时应用程序的 Flutter 版本无法真正访问它?

If that is really what happens, is there anything that can be done to clear all that data before this new flutter version is installed?如果真的是这样,在安装这个新的 flutter 版本之前,是否可以采取任何措施清除所有数据?

Ideally I would want users to delete the old app before installing this new version, but realistically, people won't do that.理想情况下,我希望用户在安装这个新版本之前删除旧应用程序,但实际上,人们不会那样做。 They will just update from the play/app store and not think twice about it and just think the app was reskinned.他们只会从游戏/应用程序商店更新,不会三思而后行,只是认为该应用程序已重新设计。

This app change will be happening for both Android and iOS. Incase there are differences between the two platforms pertaining to these questions Android 和 iOS 都会发生此应用更改。如果两个平台之间存在与这些问题相关的差异

Thanks!谢谢!

When the new (flutter) version of the app runs, just look for the directories / files where the old data was stored.当应用程序的新(flutter)版本运行时,只需查找存储旧数据的目录/文件。 If they exist, delete them.如果它们存在,请删除它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以在 flutter 中编写一个应用程序,将数据发送到 android 中的另一个应用程序? 通过事件通道 - Is possible to have an app written in flutter that send data to another app in android? through EventChannels 如果您使用更严格的过滤条件上传新的应用修订版,那么使用旧手机的客户会怎样? - What happens to customers with old phones if you upload a new app revision with a stricter filter? 更新Android应用程序会怎样? - What happens when you update an android app? 描述中的数据写入 ROOM 数据库错误时应用程序崩溃 - App crashes when data is written to ROOM database error in description 您可以在新版本的android上运行旧应用吗 - Can you run an old app on a new version of the android 卸载应用程序后共享数据会如何处理 - What happens to shared data when the app is uninstall 无法获取 Android 应用程序链接以在 Flutter 编写的 Android 应用程序中工作 - Unable to get Android App Link to work in an Android app written in Flutter 发布新版安卓应用 - Release new version of android app 清除 android 应用程序的存储时究竟会发生什么 - What exactly happens when you clear storage for an android app 当先前的应用程序版本被覆盖时,新版本崩溃 - New release crashes, when previous app version is overwritten
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM