git checkout TAG_NAME
rm -r www
rm -r node_modules
rm -f package-lock.json
npm install
cordova clean
ionic cordova platform rm ios
ionic cordova platform rm android
ionic cordova platform rm browser
ionic cordova platform add [email protected] --buildConfig=build.json
ionic cordova platform add [email protected] --buildConfig=build.json
ionic cordova platform add browser
cordova plugin add sentry-cordova
- Open
platforms/ios/TenFour.xcworkspace
in Xcode - Under
TenFour
>General
uncheckAutomatically managing signing
- Choose
Signing (Debug)
provisioning profile - Choose
Signing (Release)
provisioning profile - Under
TenFour
>Build
search forSwift
- Change
Swift Language Version
toSwift 4
- Select
View
>Navigators
>Show Issue Navigator
- Under TenFour project, click
Update to recommended settings
thenPerform Changes
- Under CordovaLib project, click
Update to recommended settings
thenPerform Changes
- Run
rvm use system
- Run
export NODE_OPTIONS=--max_old_space_size=4096
- Run
ENV=prod ionic cordova build ios --prod --release --buildConfig=build.json
- Change active schema to
Generic iOS Device
- Select
Project
>Archive
- From popup click
Distribute App
>iOS App Store
>Export
> save to your Desktop - Open Application Loader, click
Choose
to selectTenFour.IPA
in generated folder on your Desktop
- Download the
rollcall.keystore
file into the project directory - Open
platforms/android
folder in Android Studio - Fix gradle error
Could not find method leftShift() for arguments
, inplatforms/android/app/build.gradle
replacetask cdvPrintProps << {
with `task cdvPrintProps {`` - Update gradle dependencies, example
Android Gradle plugin to version 3.4.2 and Gradle to version 5.1.1
- Select the error
Move minSdkVersion to build files and sync project
, clickDo refactor
- Select the error
Move targetSdkVersion to build file and sync project
, clickDo refactor
- Upgrade
com.google.gms:google-services:4.2.0
tocom.google.gms:google-services:4.3.0
- In
platforms/android/app/build.gradle
addmultiDexEnabled true
toandroid { defaultConfig {
- Run
sdkmanager --update
- Run
export NODE_OPTIONS=--max_old_space_size=4096
- Run
ENV=prod ionic cordova build android --device --prod --release --buildConfig=build.json
- Upload the new
TenFour.apk
to the Google Play Store
ENV=prod npm run ionic:build --prod --release