git clone --recursive [email protected]:nous-/ccboard.git
This is a Cordova application that wraps the original Cboard React application to bring native mobile support. The Cboard react app is maintained to support Cordova detection, setup and bindings.
Text-to-speach (TTS) support is provided via phonegap-plugin-speech-synthesis
. This plugin bridges the native operating system TTS functionality to browser app, in a way that mimics W3C Web Speech API: SpeechSynthesis
. It uses the android.speech.tts.TextToSpeech
interface on Android.
git submodule update
- Get Cboard appnpm i
mkdir -p www
- Make root cordova app foldercordova platform add android
- Add Android Cordova platform.www
folder must be present.cd cboard
npm i
cd cboard
- Release
npm run build
/ Debugnpm run build-cordova-debug
cp -r ./build/* ../www
cd ..
cordova run android --emulator
-
Build
cordova build android --release
-
Copy
cp platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk ccboard.apk
-
Sign
- Generate self-signed keys
keytool -genkey -v -keystore ccboard.keystore -alias ccboard -keyalg RSA -keysize 2048 -validity 100000
- Sign
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ccboard.keystore ccboard.apk ccboard
- Generate self-signed keys
For emulator console.log output, you can either run in the debugging under eg. Android Studio
, or in Chrome, navigate to chrome://inspect
, and select the remote target that shows up once the emulator starts.