Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/king2088/ionic-serial-port-app
A serial port tool by ionic frame, use plugin is cordova-plugin-usbserialport
https://github.com/king2088/ionic-serial-port-app
Last synced: 10 days ago
JSON representation
A serial port tool by ionic frame, use plugin is cordova-plugin-usbserialport
- Host: GitHub
- URL: https://github.com/king2088/ionic-serial-port-app
- Owner: king2088
- Created: 2021-08-04T15:40:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-15T12:03:55.000Z (over 3 years ago)
- Last Synced: 2024-12-16T08:17:21.301Z (2 months ago)
- Language: TypeScript
- Size: 11.4 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ionic-serial-port-app
A serial port tool by ionic frame, use plugin is [cordova-plugin-usbserialport](https://github.com/king2088/cordova-plugin-usbserialport). Is only run in Android, iOS is not supported.
**Upcoming features**
- Internationalization: Chinese/English/Korean/Thai
- Individualization: Theme## Clone and install
### Clone
```bash
git clone https://github.com/king2088/ionic-serial-port-app.git;
```### Install
```bash
npm install
```## Package
Make sure [ionic](https://ionicframework.com/) and [cordova](http://cordova.apache.org/) is installed on your computer
### Build develop package
```bash
ionic cordova build android
```### Build prodction package
```bash
ionic cordova build android --prod
```### Build release package
```bash
ionic cordova build android --prod --release
```### Sign
#### Generate signature file
```bash
keytool -genkey -v -keystore key.keystore -alias tony -keyalg RSA -keysize 2048 -validity 10000
```You can modify alias 'tony' to any words
I set the key password is '123456'
JKS key to PKCS12 key
```bash
keytool -importkeystore -srckeystore key.keystore -destkeystore key.keystore -deststoretype pkcs12
```#### APK Sign
Generate a new signed app-signed.apk file in the root directory
```shell
jarsigner -verbose -keystore ./release-key.jks -signedjar app-signed.apk ./platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk tony -tsa http://sha256timestamp.ws.symantec.com/sha256/timestamp
```