-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And preparing for version 1.0
- Loading branch information
Showing
6 changed files
with
601 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# How to create a Build | ||
|
||
## Android | ||
|
||
``` | ||
npm install npm-force-resolutions --save-dev | ||
npm install | ||
npx npm-force-resolutions | ||
npm install | ||
ionic build | ||
``` | ||
|
||
``` | ||
ionic cordova build --release android | ||
``` | ||
|
||
### Generate key if not present | ||
|
||
``` | ||
keytool -genkey -v -keystore my-release-key.keystore -alias corona_mission -keyalg RSA -keysize 2048 -validity 10000 | ||
``` | ||
|
||
### Sign and zip apk | ||
|
||
``` | ||
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk corona_mission | ||
~/Library/Android/sdk/build-tools/29.0.3/zipalign -v 4 platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk platforms/android/app/build/outputs/apk/release/corona-mission_1.0_testing.apk | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.