如何保护React Native中的密钥库密码?
谁能帮助我将Keystone密码存储在React Native中。我如何确定它的安全?如何保护其免受反向工程的侵害,还是安全?
can anyone help me with storing the keystone password in react native. How can I be sure that its safe? how to protect it from reverse engineering or is it safe?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将密码存储在签名属性文件中,该文件未投入使用Git Repo。 中读取文件中的密码,
然后,您可以从
android/app/build.gradle
signing.properties示例示例我将我的signing.properties文件放入我的react-native repo中的android文件夹中
添加以下行到您的.gitignore
You can store the password in a signing properties file which is not committed to your git repo. Then you can read the password from the file as below in
android/app/build.gradle
signing.properties example
I place my signing.properties file in android folder within my react-native repo
add the following line to your .gitignore