=== Varsom App ===
The app version of varsom.no
== Getting started ==
npm install
== Dev routines ==
src/config/config.example.ts
and rename src/config/config.ts
ionic serve
ionic serve --lab
to see both iOS and Android styling== Test routines ==
ionic cordova run android --device
== Prod routines ==
src/config/config.ts
to prod values
ionic.config.json
to prod values.
.io-config.json
to prod values.
name
, widget.id
, android-packageName
and SENDER_ID
in
config.xml
version
, android-versionCode
and ios-CFBundleVersion
in
config.xml
android-versionCode
and ios-CFBundleVersion
should follow the version:SENDER_ID
in package.json
ionic cordova plugin save
.ionic cordova platform rm ios
and ionic cordova platform rm android
.ionic cordova platform add ios@4.5.4
and ionic cordova platform add android@6.3.0
.ionic cordova resources
.ionic cordova build ios --prod --release
ionic cordova build android --prod --release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore '../varsom-secrets/nve.keystore' 'platforms/android/build/outputs/apk/android-release-unsigned.apk' regobs
zipalign -v 4 platforms/android/build/outputs/apk/android-release-unsigned.apk varsom.apk
jarsigner -verify varsom.apk