-
-
Notifications
You must be signed in to change notification settings - Fork 54
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/proguard setup #885
Fix/proguard setup #885
Conversation
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 have a test for this?
var gradleNew = Regex.Replace(gradle, @"(\s+consumerProguardFiles [^\r\n]*)", "$1, '" + RuleFileName + "'"); | ||
if (gradle.Length == gradleNew.Length) | ||
{ | ||
throw new Exception($"Couldn't add Proguard rule {RuleFileName} to {_gradleScriptPath} - no `consumerProguardFiles` found."); |
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.
If a user gets here, how can they unblock themselves so they can build the game?
Removing sentry not being an option
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.
Fixup the file so that this passes. I know that's not perfect, but what's the alternative? Producing a build that breaks at runtime and won't capture errors is IMO worse than disabling Sentry native support for Android
348eae3
to
0a86fe2
Compare
0a86fe2
to
c2ebd63
Compare
closes #881