使用驱动器/iCloud或nsubiquitouskeyvaluestore在用户的所有设备上共享flutter_preference for Android

发布于 2025-02-09 04:36:16 字数 186 浏览 1 评论 0原文

我想知道是否有任何方法可以允许用户备份共享_preferences驱动器或iCloud?

我将调查表中的一些数据保存到共享的偏好。这些数据影响了用户可用的内容。

目标:如果用户在新设备上安装应用程序,则应从其云备份自动或作为给定选项中恢复共享的首选项。

在iOS上,可以实现这一目标,但是Android是否有等效的?

I'm wondering if there is any way to allow the user to backup the shared_preferences to drive or icloud?

I save some data from a questionnaire to shared preferences. These data are effecting the content that is available for the user.

Target: If the user installs the app on a new device these shared preferences should be restored from his cloud backup automaticly or as a given option.

on iOS there is NSUbiquitousKeyValueStore to achieve this but is there an equivalent for Android?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文