Files
rup/flutter/pubspec.yaml
T
ttipo 65c2016ab5 chore(flutter): 출시 준비 — 앱 이름·패키지 ID·아이콘·시작 화면·서명·서버 주소 확인
템플릿 기본값(tma_app · com.example)으로 남아 있던 앱 정체성과 출시 빌드 설정을 갖춘다.
- 앱 이름 rup, 패키지(번들) ID com.ttipo.rup (Android·iOS — 스토어에 올린 뒤에는 바꿀 수 없다). 웹 제목도 rup
- 앱 아이콘: 브랜드 주황 + 흰 워드마크 (원본 branding/, flutter_launcher_icons 로 크기별 생성 · Android 적응형 아이콘)
- 앱이 뜨는 동안의 화면을 첫 화면(스플래시)과 같은 노란색으로 — 흰 화면이 번쩍이지 않게 (Android 12+ 포함, iOS)
- Android 출시 서명: android/key.properties(커밋 안 함, 예시 key.properties.example). 없으면 경고와 함께 디버그 키
- 서버 주소는 --dart-define=API_URL 이 .env 보다 먼저. 출시 빌드가 http·개발용 주소를 가리키면 시작하지 않는다

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 23:42:45 +09:00

133 lines
5.3 KiB
YAML

name: tma_app
description: "A new Flutter project."
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1
environment:
sdk: ^3.11.1
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
dio: ^5.9.2
flutter_dotenv: ^5.2.1
flutter_riverpod: ^3.3.1
flutter_secure_storage: ^10.0.0
go_router: ^17.5.0
flutter_svg: ^2.3.0
shared_preferences: ^2.5.5
image_picker: ^1.2.3
path_provider: ^2.1.6
share_plus: ^13.3.0
qr_flutter: ^4.1.0
gal: ^2.3.3
mobile_scanner: ^7.4.2
dev_dependencies:
flutter_test:
sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^6.0.0
flutter_launcher_icons: ^0.14.4
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# 런타임 환경변수 — flutter_dotenv 로 로드
assets:
- .env
# 시안(.design/assets) 에서 가져온 이미지. 경로 상수는 lib/core/constants/app_assets.dart
- assets/images/splash/
- assets/images/onboarding/
- assets/images/login/
- assets/svg/intro/
- assets/svg/login/
- assets/svg/common/
- assets/svg/species/
- assets/svg/mood/
- assets/svg/card_bg/
- assets/images/brand/
# 폰트 — 출처·라이선스는 assets/fonts/README.md
fonts:
# 본문(UI) 서체 — 시안의 --font-ui
- family: SUITE
fonts:
- asset: assets/fonts/SUITE-Regular.ttf
weight: 400
- asset: assets/fonts/SUITE-Medium.ttf
weight: 500
- asset: assets/fonts/SUITE-SemiBold.ttf
weight: 600
- asset: assets/fonts/SUITE-Bold.ttf
weight: 700
- asset: assets/fonts/SUITE-ExtraBold.ttf
weight: 800
# 제목 서체 — 시안의 --font-display.
# 시안은 Bold 컷을 normal 로 등록해 두고 800 을 요청해 브라우저가 한 번 더 굵게 합성한다.
# 같은 효과를 내려고 Bold 컷을 400 으로 등록한다 (굵은 weight 요청 시 엔진이 합성).
- family: ChungbukBold
fonts:
- asset: assets/fonts/ChungbukNationalUniversity-Bold.ttf
# 펫 명함 이름 등 일반 굵기가 필요한 자리
- family: Chungbuk
fonts:
- asset: assets/fonts/ChungbukNationalUniversity-Regular.ttf
weight: 400
- asset: assets/fonts/ChungbukNationalUniversity-Bold.ttf
weight: 700
# 인트로 손글씨 문구 (Right Use to Pet)
- family: UhBeeKeongKeong
fonts:
- asset: assets/fonts/UhBeeKeongKeong.ttf
# 앱 아이콘 — 원본은 branding/ (브랜드 주황 + 흰 워드마크, 1024px).
# 원본을 바꾸면 `dart run flutter_launcher_icons` 로 Android·iOS 크기별 아이콘을 다시 만든다.
flutter_launcher_icons:
android: launcher_icon
ios: true
image_path: branding/app_icon.png
remove_alpha_ios: true
min_sdk_android: 23
# Android 8+ 적응형 아이콘 — 바탕은 브랜드 주황, 앞은 안전 영역 안의 워드마크
adaptive_icon_background: "#FF7500"
adaptive_icon_foreground: branding/app_icon_foreground.png