- README written in Korean / 한국어 README
- Inquiry personal information for Soongsil Unversity
- Requirements: Node.js, npm
cd usaint-injector/
npm ci
npm run build
mkdir ../assets/js/
cp dist/main.js ../assets/js/common.js
- Requirements: Flutter (Version : 3.27.0, following beta channel if possible)
flutter pub get
- Install xcode in macOS for building iOS. Also, need to appropriate setting such as developer profile, etc.
- Put your
key.properties
intoandroid/
directory, which is used for signing the apk. - If you don't have own
key.properties
, you can copy auto-generatedandroid/local.properties
. Note that it is not suitable for deployment.
- You should create
.env
file in the root directory for setting up the environment variables. - Now, Sentry and Firebase are supported. You should fill the
.env
file with below format. - If you don't have the values, you can just leave it blank.
SENTRY_DSN=
SENTRY_TRACES_SAMPLE_RATE=
FIREBASE_ANDROID_API_KEY=
FIREBASE_ANDROID_APP_ID=
FIREBASE_ANDROID_MESSAGING_SENDER_ID=
FIREBASE_ANDROID_PROJECT_ID=
FIREBASE_ANDROID_STORAGE_BUCKET=
FIREBASE_IOS_API_KEY=
FIREBASE_IOS_APP_ID=
FIREBASE_IOS_MESSAGING_SENDER_ID=
FIREBASE_IOS_PROJECT_ID=
FIREBASE_IOS_STORAGE_BUCKET=
FIREBASE_IOS_IOS_BUNDLE_ID=
flutter build ios --obfuscate --split-debug-info=./debug/ --dart-define-from-file=.env
flutter build ipa --obfuscate --split-debug-info=./debug/ --dart-define-from-file=.env
flutter build apk --obfuscate --split-debug-info=./debug/ --dart-define-from-file=.env
flutter build appbundle --obfuscate --split-debug-info=./debug/ --dart-define-from-file=.env
ios
means building iOS,ipa
means that generated IPA file after building iOS,apk
means building Android, andappbundle
means building Android App Bundle.- You should
ipa
orappbundle
for deploying the application. (You must need Apple Developer account for buildingipa
) --obfuscate
is the option for obfuscating the code. (optional)--split-debug-info
is the option for splitting debug symbols. (optional)--dart-define-from-file
is the option for reading environment variables from the file. (optional)- If you don't want to integrate with other services, you can just remove this option.
SENTRY_AUTH_TOKEN=<token> SENTRY_ORG=<org> SENTRY_PROJECT=<project name> flutter packages pub run sentry_dart_plugin
- You could find in
build/app/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/
.
- SSUrade welcomes your contribution!
- PRD and Tech Spec could be found in SSUrade Document.
- SSUrade uses JSON Serialization, Injectable, Auto Exporter, etc.
- If you edit files which have above annotations, you can generate the code with below command in project root directory.
./scripts/gen.sh
./scripts/format.sh
flutterfire configure --project=<Firebase project id>
- You should fill the your environment variable files based on the content of generated
lib/firebase_options.dart
file. - You could find the schema of environment variable file in this README.
- You could find the schema of environment variable file in this README.
- Supported Sentry Options in Environment variable file:
- SENTRY_DSN
- SENTRY_TRACES_SAMPLE_RATE (0 ~ 1, double)