【发布时间】:2017-10-17 23:04:53
【问题描述】:
我目前的公司正在将应用程序从 Xamarin 迁移到 React Native。 问题是从 React Native 获取存储在 Xamarin 中的 SQLite 中的当前令牌。
这是在 Xamarin 中初始化 SQLite 的代码:
public static SQLiteConnection conn = new SQLiteConnection(System.IO.Path.Combine
(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "user.db"));
我尝试使用以下方法从 RN 中检索:https://github.com/andpor/react-native-sqlite-storage
但似乎我们需要指定文件夹路径。而且我不知道文件夹路径在 Xamarin 中的位置。
提前感谢您的回答。
【问题讨论】:
标签: android sqlite xamarin react-native