React native assembleRelease
A helper for building react-native
aab
, apk
and rename the release accordingly.
What it does
Adds the applicationId
, versionName
and versionCode
declared in app/build.gradle
to the built apk
.
With version 1.2.0,
- datetime is also added to filename.
-
bundleRelease
is now the default.app:assembleRelease
is now under-o
flag.
Features
- Does
./gradlew assembleRelease
in project folder. - Rename packaged
apk
withapplicationId
,versionName
andversionCode
suffix. - Open finder to
apk
apk
filename
Example of ./android/app/build/outputs/apk/release/app-release-${appId}-${appVer}-b${appBuild}-${_datetime}.apk
Install globally
$ npm install -g @resting/rnasr
Or see without install
Usage
$ projectfolder > rnasr
Without install
$ projectfolder > npx @resting/rnasr