You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd usaint-injector/
npm ci
npm run build
mkdir ../assets/js/
cp dist/main.js ../assets/js/common.js
2. Install flutter dependency
Requirements: Flutter (Version : 3.41.2)
flutter pub get
3. Project setting
For iOS Build
Install xcode in macOS for building iOS. Also, need to appropriate setting such as developer profile, etc.
For Android Build
Put your key.properties into android/ directory, which is used for signing the apk.
If you don't have own key.properties, you can copy auto-generated android/local.properties. Note that it is not suitable for deployment.
Configuration for other services
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_ENABLED=true (false or empty if you don't want to set firebase)
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=
ios means building iOS, ipa means that generated IPA file after building iOS, apk means building Android, and appbundle means building Android App Bundle.
You should ipa or appbundle for deploying the application. (You must need Apple Developer account for building ipa)
--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.
5. After build
(Optional / For production only) Uploading sentry to debug symbols
SENTRY_AUTH_TOKEN=<token> SENTRY_ORG=<org> SENTRY_PROJECT=<project name> flutter packages pub run sentry_dart_plugin
Native debug symbols used in Play Console
You could find in build/app/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/.
(WIP / Only Korean) Contribution guide and Project structure