-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ensure Crashlytics Apple upload-symbol script works for every build type/flavor #260
Conversation
@@ -359,7 +359,8 @@ class UploadCrashlyticsSymbols extends FlutterFireCommand { | |||
], | |||
environment: { | |||
'PLATFORM_NAME': envPlatformName, | |||
'CONFIGURATION': envConfiguration, | |||
// Hard code "Release" to ensure "App.framework.dsym" is uploaded and complies with upload-symbol script | |||
'CONFIGURATION': 'Release', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we try if this works for Debug mode as well? I don't think debug mode flutter produces framework dsym. If not, let's doing a check, if envConfiguration
contain debug
word we pass Debug
, otherwise Release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also want to double check how customizable for user to change Configuration name for flutter? I see for flutter application you can change the config name quiet easy, but under properties for native app configuration there are only debug and release options. If we allow user to change configuration name by themselves it could easily break the current check for Release
and Debug
mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in the chat, this solution is more robust than checking the name of the build configuration.
Description
fixes: #249
Type of Change
feat
-- New feature (non-breaking change which adds functionality)fix
-- Bug fix (non-breaking change which fixes an issue)!
-- Breaking change (fix or feature that would cause existing functionality to change)refactor
-- Code refactorci
-- Build configuration changedocs
-- Documentationchore
-- Chore