Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
173 views
in Technique[技术] by (71.8m points)

android - Trying to read keychain data when updating an old Cordova app with a new React Native application

We are developing a mobile app in React Native, which should be published in App Store and Play store, as an update to existing application, which was written using Cordova.

We have the source code Cordova application as well, but we are not the actual developers of the old app. New react native app is supposed to update the old Cordova app, without any existing data loss. (the data stored on KeyStore (Android) and Keychain (iOS) and it must reuse these data.)

When the old app is updated test devices, we tried using the below plugins to read the Keychain data from old app -

1.react-native-keychain 2.react-native-secure-key-store 3.react-native-sensitive-info 4.AsyncStorage from React native

and try to fetch the data, but with no success. We tried achieving this on Android app first.

For all the plguns except "react-native-keychain", we were unable to get the keychain data itself, as it was returning null.

"react-native-keychain" - is not having any method to read the keychain data as key-value pair, hence not able to proceed further.

Any guidance on how to proceed in achieving this would be of great help.

Regards SBK

question from:https://stackoverflow.com/questions/66066741/trying-to-read-keychain-data-when-updating-an-old-cordova-app-with-a-new-react-n

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...