request: support multiple ios-build-config values
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Bắt đầu từ lệnh flutterfire configure và theo dõi cách --ios-build-config được phân tích cũng như cách các mục buildConfigurations của iOS được tạo trong firebase.json. Xác nhận rằng các cấu hình được phân tách bằng dấu phẩy tạo ra các mục giống hệt nhau, đồng thời duy trì hành vi đã được ghi nhận cho một cấu hình duy nhất, sau đó kiểm tra cấu trúc firebase.json thu được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is there an existing feature request for this?
- I have searched the existing issues.
Command
flutterfire configure
Description
Currently, if you have more than a single build configuration for your iOs project you are required to run the flutterfire configure command multiple times. From the documentation:
You need to run flutterfire configure for every configuration type. E.g. if you have Debug & Release configurations, you need to run flutterfire configure twice with the relevant arguments documented below.
If you are sharing the same configuration for different iOs build configurations. For example if the project has the following build configurations: Debug-dev, Profile-dev and Release-dev. Then, it would be very convenient to simply run once:
flutterfire configure --project my_project --ios-build-config Debug-dev,Profile-dev,Release-dev --ios-bundle-id com.example.project.dev --ios-out ios/Runner/development --platforms ios
Hence, I would expect the above command to create three identical entries in the firebase.json file, equivalent to when its run multiple times with different ios-build-configs:
{
"flutter": {
"platforms": {
"ios": {
"buildConfigurations": {
"Debug-dev": {
"projectId": "my_project",
"appId": "1",
"uploadDebugSymbols": false,
"fileOutput": "ios/Runner/development/GoogleService-Info.plist"
},
"Profile-dev": {
"projectId": "my_project",
"appId": "1",
"uploadDebugSymbols": false,
"fileOutput": "ios/Runner/development/GoogleService-Info.plist"
},
"Release-dev": {
"projectId": "my_project",
"appId": "1",
"uploadDebugSymbols": false,
"fileOutput": "ios/Runner/development/GoogleService-Info.plist"
},
}
}
}
}
}
Reasoning
It is easier to run the command once rather than running it multiple times and changing the --ios-build-config each time with the same configuration.
For example, consider projects that have 3 Schemas (production, release, development) each with 3 Build Configurations (Profile, Debug, Release), a user of the FlutterFire CLI would have to run the command 9 times! Each time modifying the --ios-build-config instead of simply running it 3 times (one per schema, each schema having its own Firebase project configuration).
Additional context and comments
No response
- Ngôn ngữ chính
- Dart
- Star
- 194
- Fork
- 76
- Merge trung bình
- 2 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của invertase/flutterfire_cli
-
bug Needs Attention triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
invertase/flutterfire_cli#467 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
request: usage as packgeĐang mởNeeds Attention Stale triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
invertase/flutterfire_cli#450 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Needs Attention triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
invertase/flutterfire_cli#443 · 16 bình luận · 12 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Needs Attention triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
invertase/flutterfire_cli#428 · 12 bình luận · 4 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
blocked: customer-response bug enhancement keep open
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
invertase/flutterfire_cli#403 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của invertase/flutterfire_cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
immich-app/immich#31955 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
fluttercommunity/plus_plugins#3994 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Smart charging: USB charger re-assert is starved during BLE scans, so the tablet never dischargesĐang mởbug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
decentespresso/decaid#931 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
flame-engine/flame#4067 ·
Maintainer thường phản hồi trong vòng 1 ngày