从iOS共享AsyncStorage将本机应用程序与Apple Watch相结合

问题描述 投票:0回答:1

我正在开发主应用程序with react native和Apple Watch with Swift。

主应用程序(本机反应)使用AsyncStorage存储一些值,然后将其用作显示列表的提取的参数。

运行模拟器后,我发现了manifest.json

~/Library/Developer/CoreSimulator/Devices/D10E869B-040B-446F-9B8B-754F111442EC/data/Containers/Data/Application/AC837AFE-312B-4861-906D-EC9EEE7D029B/Document s/RCTAsyncLocalStorage_V1

里面的数据。

我需要在Xcode的Apple Watch中访问这些值,以完成与iOS应用相同的工作。我如何访问该数据?

ios swift react-native apple-watch asyncstorage
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.