Reactrestaurant
GithubDemoYoutube
  • REACT RESTAURANT
  • Technologies
  • Restaurant App
    • Download Zip
    • Requirements
    • Installation Guide
    • App Structure
    • API Config
    • Push Notification
    • Release Build
    • Error Handling
Powered by GitBook
On this page
  • Generating a signing key
  • Generating the release APK
  • Testing the release build of your app
  1. Restaurant App

Release Build

PreviousPush NotificationNextError Handling

Last updated 7 years ago

Goto:

Generating a signing key

You can generate a private signing key using keytool. On Windows keytool must be run from C:\Program Files\Java\jdkx.x.x_x\bin.

$ keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000

Set up for generating Signed Apk

Generating the release APK

** $ cd android && ./gradlew assembleRelease

Testing the release build of your app

** $ react-native run-android --variant=release

https://facebook.github.io/react-native/docs/signed-apk-android.html#docsNav
click here