![]() You’ll probably want to add real data.įinally you’ll be prompted to set and confirm another password (make sure to remember this one as well).Īnd there you have it! You’ve now got a production keystore file you can use to publish your Android app! Back up this file, remember the passwords, and share it with whomever has the ability to publish your app. Once you get through that you’ll be asked for some identifying information to add to the keystore. It’s then going to ask you for a password and to confirm the password (remember the password). keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 Note: You’ll want to change my-release-key.keystore and my-key-alias to something that makes sense for you. So we’ve got a fully functioning app that runs on Android (and iOS) now!įirst thing we’ll want to do now is generate our keystore file. react-native init AwesomeProject & cd AwesomeProject Obviously the first thing we’ll do is create our React Native app. I’m very grateful for it because it keeps things relatively simple for me. Its’ going to do all of the heavy lifting for us behind the scenes. Gradle is a build tool that Android uses. Make sure you keep this secure and back it up. It’s really important and it identifies that you (or anyone you share it with) is authorized to publish a new version of that app. I’m not sure if this is right but I think about a keystore as a certificate. This is the one that really confused be because I hadn’t used it when building iOS apps with React Native. There’s a lot more to it but we’re keeping things simple. ipa - .apk is simply the Android file format that it understands how to execute. Hopefully to help you understand them, mostly to make sure I have a grasp on them. Termsįirst thing I want to do is define a few terms. Let’s make the mistakes when there is a low/no cost involved.īefore continuing I have to say that this is basically a rehash of the official documentation on “ Generating a Signed APK”. If you’re anything like me you’ll be confused, intimated, and you’re going to make mistakes. Then you’re hit with terms like signing your APK. ![]() Until you have to push that app into the app store. Using React Native with Android is easy, it just works. We’re currently going through the launch process of one of our client’s apps - an app built with React Native running on both iOS and Android.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |