[英]How do I sign my new React Native App [Android] with my old Expo key?
I decided to rewrite an app that was previously done with expo.我决定重写一个以前用 expo 完成的应用程序。 When I did the first version with expo I went with the option to have expo handle that process for me.
当我使用 expo 制作第一个版本时,我选择让 expo 为我处理该过程。
My new app is a pure react native app for android and I'd like to submit it to the store but have no way to sign it using whatever expo used to previously sign.我的新应用程序是一个纯 React 本机应用程序,我想将它提交到商店,但无法使用以前用于签名的任何博览会对其进行签名。
You can use these commands to get the keys generated by Expo in your previous project & then import those to the current project:您可以使用这些命令来获取之前项目中由 Expo 生成的密钥,然后将它们导入到当前项目中:
For IOS:
对于IOS:
fetch:ios:certs
- Fetch this project's iOS certificates/keys and provisioning profile.fetch:ios:certs
- 获取此项目的 iOS 证书/密钥和配置文件。 Writes files to the PROJECT_DIR and print passwords to stdout.将文件写入 PROJECT_DIR 并将密码打印到标准输出。
For Android:
对于安卓:
fetch:android:keystore
- Fetch this project's Android keystore.fetch:android:keystore
- 获取此项目的 Android 密钥库。 Writes keystore to PROJECT_DIR/PROJECT_NAME.jks and prints passwords to stdout.将密钥库写入 PROJECT_DIR/PROJECT_NAME.jks 并将密码打印到标准输出。
fetch:android:hashes
- Fetch this project's Android key hashes needed to set up Google/Facebook authentication.fetch:android:hashes
- 获取设置 Google/Facebook 身份验证所需的此项目的 Android 密钥哈希。 Note: if you are using Google Play signing, this app will be signed with a different key after publishing to the store, and you'll need to use the hashes displayed in the Google Play console.注意:如果您使用 Google Play 签名,则此应用在发布到商店后将使用不同的密钥进行签名,您需要使用 Google Play 控制台中显示的哈希值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.