All Projects β†’ shyjal β†’ reactnative-android-production

shyjal / reactnative-android-production

Licence: other
Step by step guid for compiling and installing React Native Android app [ bundled release version ] to your test device.

Projects that are alternatives of or similar to reactnative-android-production

editions
πŸ“†πŸ†• Daily Edition app
Stars: ✭ 42 (-17.65%)
Mutual labels:  production
corona-archiver
Python script to help pack and unpack Corona/Solar2D archive .car file
Stars: ✭ 23 (-54.9%)
Mutual labels:  apk
ToDo
Android application to quickly add tasks and reminders.
Stars: ✭ 13 (-74.51%)
Mutual labels:  apk
quest-sidenoder
Cross platform Sideloader for Quest standalone headset
Stars: ✭ 78 (+52.94%)
Mutual labels:  apk
BSUIR-Labs
Π‘Π“Π£Π˜Π  2019-2023 (КБиБ, Π’ΠœΠ‘ΠΈΠ‘)
Stars: ✭ 20 (-60.78%)
Mutual labels:  apk
openprofiling-node
OpenProfiling is a toolkit for collecting profiling data from production workload safely.
Stars: ✭ 60 (+17.65%)
Mutual labels:  production
defcon
DefCon - Status page and API for production status
Stars: ✭ 12 (-76.47%)
Mutual labels:  production
ti recover
Appcelerator Titanium APK source code recovery tool
Stars: ✭ 17 (-66.67%)
Mutual labels:  apk
pro-chat
Full featured chat app built with πŸ’™ Expo & Firebase πŸ”₯
Stars: ✭ 24 (-52.94%)
Mutual labels:  production
laravel-conditional-providers
THIS PACKAGE HAS BEEN DEPRECATED β€” Load Laravel service providers and facades based on the current environment.
Stars: ✭ 26 (-49.02%)
Mutual labels:  production
APK-Downloader
Download latest version of android apps and games from Google Play.
Stars: ✭ 54 (+5.88%)
Mutual labels:  apk
Little-Ruler
A game engine that can be built for Android and Windows.
Stars: ✭ 16 (-68.63%)
Mutual labels:  apk
W1nDro1d
A simple tool to manage Windows 11's Subsystem for Android "manually", install APK and XAPK, toggle fullscreen, list installed Android Apps, among other things
Stars: ✭ 26 (-49.02%)
Mutual labels:  apk
vue-production-server-proxy
Boilerplate for Vue project ready for production, with neat implementation of "devServer proxy" in production environment, using Nginx
Stars: ✭ 27 (-47.06%)
Mutual labels:  production
flutter-openpgp
OpenPGP for flutter made with golang for fast performance with support for android, ios, macos, linux, windows, web and hover
Stars: ✭ 35 (-31.37%)
Mutual labels:  sign
fabric-beta-publisher-plugin
DEPRECATED: A Jenkins plugin that lets you publish Android apps to Fabric Beta
Stars: ✭ 24 (-52.94%)
Mutual labels:  apk
mobileAudit
Django application that performs SAST and Malware Analysis for Android APKs
Stars: ✭ 140 (+174.51%)
Mutual labels:  apk
TransporterPad
iOS/Android app deployment tool for macOS
Stars: ✭ 51 (+0%)
Mutual labels:  apk
SchoolRegistrationUI-Android
Check out the new style for App Design aims for school or colleges...πŸ˜‰πŸ˜€πŸ˜πŸ˜Ž
Stars: ✭ 56 (+9.8%)
Mutual labels:  sign
restrictfe
TYPO3 extension restrictfe. Blocks access to frontend and allows to show it only to some defined exception's like if the request is from an authorized backend user, has specific IP, header etc.
Stars: ✭ 12 (-76.47%)
Mutual labels:  production

The instructions are the collective efforts from a few places online. Nothing here is my original. But I want to put them together in one place to save people from spending the same time.

First off, bundle.

  1. Go to the project directory cd
  2. Start the react-native packager if not started
  3. Download the bundle to the asset folder:
$ curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"

(Thanks : facebook/react-native#2743 (comment))

Note: make sure there is assets folder under android/app/src/main beforehand, and check if there is any error in the packager terminal window after curl.

Secondly, compile release version.

  1. cd to {YOUR_PROJECT}/android
  2. Build release version
$ ./gradlew assembleRelease

Thirdly, sign the apk.

  1. To generate keystore
$ keytool -genkey -v -keystore my-keystore.keystore -alias name_alias -keyalg RSA -validity 10000
  1. To sign an apk
$ jarsigner -verbose -keystore <path of my-keystore.keystore> <path of apk>  alias_name
  1. To zip align an apk
$ zipalign -f -v 4 <your.apk >  <your_aligned.apk>

(Thanks : http://stackoverflow.com/questions/26828372/how-to-sign-a-modded-an-apk-on-a-mac-with-apktool)

Lastly, install apk to device.

  1. Connect your phone to computer
  2. Install apk
$ adb install {PATH_TO_APK}

Visit http://facebook.github.io/react-native/docs/signed-apk-android.html for more details on generating signed APK

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].