Titanium - 在设备上安全地存储信息

Titanium - Securely store information on device

我想在设备上安全地存储令牌和其他用户信息。根据我的理解,仅使用常规首选项是不安全的,并且在 iOS 上,此类数据应存储在 KeyChain 中(android 仍应保存在 SharedPrefrences 中)。

Titanium 是否有 API 用于在 iOS 钥匙串中存储信息?

我还在 Marketplace 上找到了 OSS 模块:https://marketplace.appcelerator.com/apps/4112?restoreSearch=true#!overview

但如果有原生平台支持,我宁愿使用它。

没有 API 和 Titanium 将数据存储在钥匙串中,但您可以使用此模块:https://github.com/pegli/ti_keychain/tree/master/mobile