keytool -genkey -v -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
// android/app/build.gradle
// https://www.microcenter.com/tech_center/article/6819/how-to-open-keychain-access-in-mac-os-x
def getPassword(String currentUser, String keyChain) {
def stdout = new ByteArrayOutputStream()
def stderr = new ByteArrayOutputStream()
exec {
commandLine 'security', '-q', 'find-generic-password', '-a', currentUser, '-s', keyChain, '-w'
standardOutput = stdout
errorOutput = stderr
ignoreExitValue true
}
//noinspection GroovyAssignabilityCheck
stdout.toString().trim()
}
def pass = getPassword("hemersonvianna","android_keystore")
signingConfigs {
release {
if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
storeFile file(MYAPP_UPLOAD_STORE_FILE)
storePassword pass
keyAlias MYAPP_UPLOAD_KEY_ALIAS
keyPassword pass
}
}
...
}
// download
https://github.com/google/bundletool/releases
// or
brew install bundletool
bundletool build-apks --bundle=/MyApp/my_app.aab --output=/MyApp/my_app.apks
--ks=/MyApp/keystore.jks
--ks-pass=file:/MyApp/keystore.pwd
--ks-key-alias=MyKeyAlias
--key-pass=file:/MyApp/key.pwd
// Run react-devtools from the terminal to launch the standalone DevTools app:
npx react-devtools
// If you're not in a simulator then you also need to run the following in a command prompt:
adb reverse tcp:8097 tcp:8097
Current tag example: 1.0.0-beta.4
Command:
yarn release:git 1.0.0-beta.5
Questions and answers:
- ? Show updated files? `Yes`
- M package.json
- ? Commit (Release 1.0.0-beta.5)? `Yes`
- ? Tag (1.0.0-beta.5)? `Yes`
- ? Push? `Yes`
- ? Publish "lambdatauri" to npm? `No`
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Check Releases for detailed changelog.
MIT license © Hemerson Vianna