简体   繁体   English

如何使用旧的 Expo 密钥签署我的新 React Native App [Android]?

[英]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.

相关问题 android:如何使用现有密钥对我的应用程序签名? - android: how do i sign my app using an existing key? 如何在Android Studio中使用我的上传密钥(没有密钥库)对我的android应用捆绑包进行签名? - How do I sign my android app bundle with my upload key (without the keystore) in Android Studio? 如何在 Android Studio 中修复我的旧应用程序? - How do I fix my old app in Android Studio? 如何将我的应用程序从世博会弹出到裸反应本机代码 - How can I eject my app from expo to bare react native code 如何在我的新应用中使用Android原生图标? - How can I use Android native icons in my new app? 我如何在没有 wifi 的情况下处理我的 react-native (Android 4.4) 应用程序? - How do I work on my react-native (Android 4.4) app where there's no wifi? 如何使用 expo 更新 React 本机 android 应用程序 - How to update React native android app with expo 如何为我的React Native项目合并一个Android模拟器? - How do I incorporate an Android emulator for my React Native project? 编辑 app.json 属性不会影响我的反应原生应用程序(博览会) - Editing app.json properties do not effect my react native app (expo) 无法在我的 android 手机上运行的本机 expo 应用程序上获取 flask api - Can't fetch flask api on react native expo app running on my android phone
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM