1.2.4 • Published 4 years ago
@resting/rnasr v1.2.4
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.
bundleReleaseis now the default.app:assembleReleaseis now under-oflag.
Features
- Does
./gradlew assembleReleasein project folder. - Rename packaged
apkwithapplicationId,versionNameandversionCodesuffix. - Open finder to
apk
Example of apk filename
./android/app/build/outputs/apk/release/app-release-${appId}-${appVer}-b${appBuild}-${_datetime}.apkInstall globally
$ npm install -g @resting/rnasrOr see without install
Usage
$ projectfolder > rnasrWithout install
$ projectfolder > npx @resting/rnasr