Deployment
Notice
There is currently no automatic CI/CD setup for mobile deployments.
All iOS and Android release builds are created and submitted manually.
EAS and Fastlane scripts may exist in the repository, but they are not part of the current release process.
iOS (Manual)
Before building, set the correct native environment for the target release (dev, staging, or prod).
pnpm native-env:dev
# or
pnpm native-env:staging
# or
pnpm native-env:prod- Set the app version values in
ios/CardNexus.xcodeproj/project.pbxproj:MARKETING_VERSION= app versionCURRENT_PROJECT_VERSION= build number
- Build locally in Xcode (recommended):
- Open the iOS project/workspace in Xcode.
- Use
Product->Archiveto create an archive. - Use Xcode Organizer to upload the build through Appleās upload flow to TestFlight.
- In TestFlight:
- Select the uploaded build and assign it to the relevant tester groups.
- Submit the build for App Store release if needed.
- Run post-upload checks:
- Validate smoke tests in TestFlight before promoting to production release.
iOS Prerequisites
- You must be logged into Xcode with an Apple ID that is a member of the CardNexus team.
Android (Manual)
Before building, set the correct native environment for the target release (dev, staging, or prod).
pnpm native-env:dev
# or
pnpm native-env:staging
# or
pnpm native-env:prod- Set Android version values in
android/app/build.gradle:versionName= app versionversionCode= build number
- Build locally using Gradle (run from
android/):- Build an Android App Bundle (recommended for Play Store):
./gradlew bundleRelease- Or build a release APK when needed:
./gradlew assembleRelease- Upload manually in Google Play Console:
- Use the generated
.aabor.apkdepending on release use case. - Typical output paths:
- AAB:
android/app/build/outputs/bundle/release/*.aab - APK:
android/app/build/outputs/apk/release/*.apk
- AAB:
- Choose the target track (internal/testing/production) based on environment and release goal.
- Complete release notes, review, and rollout steps in Play Console.
- Use the generated
- Run post-upload checks:
- Validate smoke tests in Play internal testing before broader rollout.
Android Prerequisites
- Android release signing requires a valid keystore setup (
keystore.properties/keystore credentials).
Both Android build and Play Store submission are manual today.
Last updated on