ios - iOS 上的钛合金 : When a user gets an app update, 它会删除并重置本地数据库

标签 ios titanium titanium-mobile appcelerator titanium-alloy

我已经通过 App Store 在 iOS 上发布了一个 Titanium 应用程序。它使用 Alloy 模型、 View 和 Controller ,因此保存用户通过 Alloy .save() 方法输入的所有数据。我最近收到了一些用户的反馈,称在最近一次更新后,他们的数据被删除,并且所有保存的信息都没有完好无损。

我认为合金数据库被保存到设备的私有(private)文档中,因此当用户更新应用程序时保持它完整。是真的吗?

我可以排除哪些问题来查看哪里出了问题?我没有编写任何会从数据库中删除任何内容的代码。

最佳答案

I thought that the Alloy database was saved into the private documents of the device, therefore keeping it intact when the user updates the app. Is that true?

没错。

I've recently received some feedback from a user that after their most recent update, their data was wiped and none of their saved information was intact.

听起来整个数据库都被删除了。如果您删除应用程序,可能会发生这种情况。我想你最好自己测试一下。如果我们看不到任何源代码,就很难提供帮助。我还建议您查看 Alloy 是否没有差异(也许您的应用程序更新版本使用了不同的新版本)......也许数据没有被删除,但只是更改了名称数据库/表。很难说...

关于ios - iOS 上的钛合金 : When a user gets an app update, 它会删除并重置本地数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24427602/

相关文章:

iOS 应用提交 : invalid signature

ios - 基于 UIView mask 的 UIImageView 图像裁剪

backbone.js - 在钛合金中使用 where 条件发布 feature

c# - 如何将文件从另一种语言(如钛 ios 应用程序和 java 应用程序)上传到 c# web 服务

ios - 在钛中如何截取完整的 ScrollView ?

ios - 使用 PFQuery 获取所有 PFUser

iOS CAKeyFrameAnimation 动画结束时缩放闪烁

android - 火灾事件执行多次。钛机器人

android - AdMob+安卓 : String types not allowed (at 'configChanges' with value 'keyboard|key

javascript - 钛加速器 : FileUriExposedException - How to use Content Provider?